Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I added a block to the Banner region with this code:
<div id="slider"> <!-- the slider needs this id to work -->
<img src="/sites/all/themes/andromeda/images/sunset.jpg" />
<img src="/sites/all/themes/andromeda/images/beach.jpg" />
</div>
However, it only shows the first image and simply transitions that same image.
Comments
Comment #1
fredy666 CreditAttribution: fredy666 commentedHello, I've the same problema, there is any solution??
Thanks
Comment #2
shadcn CreditAttribution: shadcn commentedI'm unable to reproduce this. Any error message in your console?
Comment #3
carabaotalk CreditAttribution: carabaotalk commentedI've the same problem. thanks
Comment #4
wayner87 CreditAttribution: wayner87 commentedI'm getting the exact same problem. Followed the instructions on http://drupal.org/node/1181286. I installed the following modules Views Nivo Slider 7.x-2.x-dev, which needs the following: Views 7.x-3.0-beta3, Chaos tools 7.x-1.0-beta1. I only have the following enabled, Chaos tools, Views, Views exporter, Views Nivo Slider and Views UI.
What am I doing wrong?
Comment #5
dade-1 CreditAttribution: dade-1 commented… same issue.
Comment #6
gadgetdevil CreditAttribution: gadgetdevil commentedsame issue
Comment #7
shadcn CreditAttribution: shadcn commentedWorking on this.
Comment #8
shadcn CreditAttribution: shadcn commentedI noticed that the extra <p> added by the Full HTML Filter is breaking the Nivo Slider.
This works for me :
Can anyone confirm this?
Comment #9
MrPeanut CreditAttribution: MrPeanut commentedYes, I can confirm that comment #8 works.
To do so, I just went to Configuration > Text formats > Add text format
I named it "Slideshow" and didn't check any options (this prevents the p tag and allows the div tag). Change your block input format to Slideshow and it works!
Comment #10
yshido CreditAttribution: yshido commentedI can confirm it too. #8 works fine for me. Thanks
Comment #11
axlatorre CreditAttribution: axlatorre commentedfunciona para mi #8,
Comment #12
carabaotalk CreditAttribution: carabaotalk commented#8 work. Thank.
Comment #13
yshido CreditAttribution: yshido commentedupdated handbook on this issue.
Comment #14
Marc Cepeda CreditAttribution: Marc Cepeda commentedI don't mean to be the one to re-open a closed thread, but I thought this was worth sharing. Now I know this may be more of a hassle than a convenience for some, but in some cases it will be a better solution.
You can either use the PHP Filter or a custom input filter which is just like Full HTML except it doesn't automatically parse line breaks. Obviously the PHP filter option is only a good idea if you or those who will edit this are already site admins, as you clearly already trust them. The custom "full html" filter can be used for other instances like this.
I haven't tried it yet, but if you use a WYSIWYG editor, you could simply try removing the extra formatting options that cause this problem since the editor most likely doesn't even look at the source code anyway.
Comment #15
tosinoladejo CreditAttribution: tosinoladejo commentedpls this didnt work on mine...any further help
Comment #16
dawick CreditAttribution: dawick commented#8 also fixes my problem that all images were duplicated using following syntax: