I was having a problem with duplicate page titles (an SEO no-no) on slideshow nodes - when the user clicks Next for the next image, the next page (slide) has the same page title. I already had the Page Title module on the site, so I am able to customize the page titles. But slideshow did not have any tokens for setting a unique page title for each slide.
So, after seeing how simple adding token support was, I added the neccessary code to the slideshow module and set the page title for slideshows to [page-title][current-slide-title][site-name]. Now, each slideshow page title is something like: My Slideshow | Slide 1 of 32 | My Web Site.
The code for version 5.x-2.1 is attached - I thought this might be useful for someone else...
Comment | File | Size | Author |
---|---|---|---|
#1 | slideshow-token-support.patch | 3.41 KB | jimbullington |
Comments
Comment #1
jimbullington CreditAttribution: jimbullington commentedWell, it would help if I attached the patch...
Comment #2
jimbullington CreditAttribution: jimbullington commented