Flexisel mode not working
- Posted by Dainius Krusinskas (6) Offline
Tried Carousel Banner, but it doesn't work in flexisel mode. Got msg. "Notice: Undefined variable: img_width in /var/www/vhosts/censio.lt/subdomains/test/httpdocs/modules/mod_carousel_banner/mod_carousel_banner.php on line 48 "
I've set up img width and height
11 years 7 months ago #1
by Dainius Krusinskas
I've set up img width and height
Please Log in or Create an account to join the conversation.
- Posted by erwinschro (1034) Offline
Hello Krusso
Are you able to edit this file
/modules/mod_carousel_banner/mod_carousel_banner.php on line 48
.nbs-flexisel-item img { max-width:$img_width; max-height:$img_height;}
edit it to
.nbs-flexisel-item img { max-width:$width; max-height:$height;}
see if that works and do let us know the result.
11 years 7 months ago #2
by erwinschro
Are you able to edit this file
/modules/mod_carousel_banner/mod_carousel_banner.php on line 48
.nbs-flexisel-item img { max-width:$img_width; max-height:$img_height;}
edit it to
.nbs-flexisel-item img { max-width:$width; max-height:$height;}
see if that works and do let us know the result.
Please Log in or Create an account to join the conversation.
- Posted by Dainius Krusinskas (6) Offline
I've edited, but no effect. At least I don't see any msg. Previous dissappeared. In default mode it works very strange also: one banner below another, not in a row and veeery huge, despite banner's setting.
11 years 7 months ago #3
by Dainius Krusinskas
Please Log in or Create an account to join the conversation.
- Posted by erwinschro (1034) Offline
If the warning message is gone then the code fixed above is works.
Those other thing is other stories. It looks like a jquery conflict issue.
Do you have another module that also use jQuery or maybe your template load it? it's hard to guess if we can't see it live
11 years 7 months ago #4
by erwinschro
Those other thing is other stories. It looks like a jquery conflict issue.
Do you have another module that also use jQuery or maybe your template load it? it's hard to guess if we can't see it live
Please Log in or Create an account to join the conversation.
- Posted by Dainius Krusinskas (6) Offline
jQuery version loaded from jQuery UI from Google CDN on template is 1.8.3 Is it possible to solve this confict, since every module for slide shows does not work?
11 years 7 months ago #5
by Dainius Krusinskas
Please Log in or Create an account to join the conversation.
- Posted by Dainius Krusinskas (6) Offline
Sorry, mistake Loaded jQuery from Google CDN, version 1.8.3
11 years 7 months ago #6
by Dainius Krusinskas
Please Log in or Create an account to join the conversation.