Add Album Title to end of Page Title?

ichthyous

Joined: 2006-06-16
Posts: 324
Posted: Thu, 2012-10-11 20:28

Hi Wayne,

I want to add the title of the album to the end of each photo page title but can't seem to find the correct code for that. Currently I have:

Quote:
{if empty($head.title)}
<title>{if !isset($SlideShow)}
{$theme.item.title|markup:strip|default:$theme.item.pathComponent} - Fine Art Print</title>
{/if}{/if}

What I want is for the photo pages (and only the photo pages) to show the title of the album they are in at the end: "Item Title - Fine Art Print - Album Title". What is the code snippet that generates the actual album title?

Thanks!

Andrew

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2012-10-11 21:07

you're looking for $theme.parent.title

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
ichthyous

Joined: 2006-06-16
Posts: 324
Posted: Thu, 2012-10-11 23:31

Yep that's it, thanks!