Gallery 2 : How to change the title

sh18

Joined: 2008-08-15
Posts: 1
Posted: Fri, 2008-08-15 15:22

I want to customize the HTML Title of my Gallerie.

In thme.tpl there is:

<title>{$theme.item.title|markup:strip|default:$theme.item.pathComponent}</titl>

I wish something like that
<title>Images name - Album name - Mysite name</title>
<title>Nokia N72 Photo - Nokia Photos - MobilePhone.com</title>

What should I do?

thanks

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2008-08-16 17:32

<title>{$theme.item.title|markup:strip|default:$theme.item.pathComponent} - {if $theme.pageType == 'album'}{$theme.parent.title|markup:strip}{/if} - MobilePhone.com</title>

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
nivan

Joined: 2009-02-20
Posts: 2
Posted: Sun, 2009-03-01 21:12

Hi

And what about footer?
like "copyright c www.domainname.com 2009? and putting some small images?

thanks

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2009-03-01 21:32

Add the html to the bottom of theme.tpl
http://codex.gallery2.org/Gallery2:How_to_visually_embed_Gallery_in_your_own_website_by_editing_theme_templates

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team