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 can't seem to modify how to display slideshows in my front page. I would like that only the text was shown in the main page and then the slideshow when the link is pressed, but the slideshow is always present in the front page even if I write
.
Comment | File | Size | Author |
---|---|---|---|
#8 | slideshow.module.132213.patch | 1.67 KB | jshuster@drupal.org |
Comments
Comment #1
dquakenbush CreditAttribution: dquakenbush commentedI had the same problem -- I wanted to see the slideshow in the full node, but not in the teaser.
I modified slideshow.module as follows... haven't tested extensively, so it may be buggy.... YMMV.
I would roll this up as a patch, but I don't know how :-(
On line 433 I added the teaser variable that he passes from another function, but doesn't pick up.
Then on line 440 I add $teaser to the list of things that will cause the slideshow to not render.
Hope this helps someone.
Comment #2
johnnybegood CreditAttribution: johnnybegood commentedHi dquakenbush,
Your solution worked fine for me. It would be great if that could be set from a tick box on the settings. I have found this module much easier than any other for average users to add their images to the nodes they create - all in one place.
Thanks!
Comment #3
Farreres CreditAttribution: Farreres commentedCan someone make a patch out of these comments?
Comment #4
Sivert Almvik CreditAttribution: Sivert Almvik commentedExcellent!
Patch did the trick. Slideshow stays out of teaser, but appears in full node.
Thanks!
Comment #5
snvs CreditAttribution: snvs commentedHi, what file do I have to change?
Thanks
snvs
Comment #6
dquakenbush CreditAttribution: dquakenbush commentedslideshow.module
Comment #7
Farreres CreditAttribution: Farreres commentedPlease please please please please, generate an official version including the patch please.
Comment #8
jshuster@drupal.org CreditAttribution: jshuster@drupal.org commentedIt's been a long time since anyone touched this issue, but I needed to make this change -- so here's a patch. This includes a global setting to suppress display on all teasers.
Comment #9
kkaefer CreditAttribution: kkaefer commentedCommitted jshuster's patch. Thanks!