Customize title bar
|
Astor
Joined: 2005-12-15
Posts: 65 |
Posted: Tue, 2008-05-06 16:13
|
|
I used Pgtheme. If i enter in a photo page of my album i have this title bar: I wont inverted this situation to obtain : How I can make to customize title bar only in photo page? |
|
| Login or register to post comments |

Posts: 9507
theme.tpl
<title> {if $theme.params.site} {$theme.params.site} - {/if} {$theme.item.title|default:$theme.item.pathComponent|markup:strip}</title>You would have to do a conditional statement to change it using:
{if $theme.pageType == 'photo'} ......... {else} <title> {if $theme.params.site} {$theme.params.site} - {/if} {$theme.item.title|default:$theme.item.pathComponent|markup:strip}</title> {/if}Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 65
Tnx for reply.
Your code work to do a conditional statement.
But how I can make to invert album title and photo title?
Posts: 9507
<title> {$theme.item.title|default:$theme.item.pathComponent|markup:strip} {if $theme.params.site} - {$theme.params.site} {/if}</title>Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team