Hi guys, I have a proposal for adding a new feature to Piwigo. What about adding a possibility to set a unique title and a page banner for each page? I think It's good for people and search engines as well. Now I do it by editing the source code every time I add a new album which is not very user friendly.
Offline
Already done. Create a "perma-link" with a descriptive title.
- Geoff
Offline
Hi :)
Have you test [extension by ddtddt] Title
Offline
Hi, thanks for your replies. I've tried this extension. But it can change the title only on several predefined pages, can't it? I need to change mainly album pages and I didn't find out how to do it by using this plugin.
I also use the permanent links, but I'm not sure it will solve my problem.
To make sure we speak about the same thing I attached a picture where you can see parts which should be different for each album page. Or you can have a look at http://www.podkolenka.cz. Unfortunately, not all albums have been adjusted yet, so sometimes the titles and headings are the same.
Last edited by kajinek (2012-08-20 09:35:44)
Offline
Hi :-)
when plugin title is actif, you can test make template modele to header.tpl
Search
<div id="theHeader">{$PAGE_BANNER}</div>
and remplace by
<div id="theHeader">{$PAGE_BANNER}{$PERSO_TITLE}</div>
or
<div id="theHeader">{$PERSO_TITLE}</div>
Offline
I'm afraid it's still not what I need. Plugin Title can't change the album titles (as far as I know). It changes only the title of pages like Comments, About Gallery, etc.
I want to have a unique page title and a page heading of the album pages (a title and a heading can be different within one page). I have done this by editing header.tpl like this:
{if ($PAGE_TITLE=='Homepage / Category / Album1')}<title>Title of album1</title> {elseif ($PAGE_TITLE=='Homepage / Category / Album2')}<title>title of Album2</title> {else}<title>{$PAGE_TITLE} - {$GALLERY_TITLE}</title> {/if}
and
<div id="theHeader"> {if ($PAGE_TITLE=='Homepage / Category / Album1')}<h1>Album1 Heading</h1><h2>Album1 Subtitle</h2> {elseif ($PAGE_TITLE=='Homepage / Category / Album2')}<h1>Album2 Heading</h1> {else}<h1>Default Heading</h1><h2>Default Subtitle</h2> {/if} </div>
So my suggestion was to allow to set an album title and a heading from admin interface. But never mind, I don't create new albums so often and it's not such a big problem to change source code time to time :-)
Thanks anyway
Offline
an idea for a plugin name?
Offline
What about adding described features to the Title plugin?
Offline
Or it would probably be better to enter titles and headings on the same page where you edit the album name and its description. So you are right, it should be a new plugin.
I can't find a suitable name right now. But Pewe's suggestion is not bad.
Offline