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...

CommentFileSizeAuthor
#1 slideshow-token-support.patch3.41 KBjimbullington
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jimbullington’s picture

Well, it would help if I attached the patch...

jimbullington’s picture

Status: Active » Needs review