I want to remove the word "keyword" from the title tag and browsepath. Please let me know how.
Check the link http://bolly20.com/index/tags/4-underwater
The title tag is "Keyword underwater | Just another Piwigo gallery". I want it to be "underwater | Just another Piwigo gallery".
Browsepath is "Home / Keyword underwater [1]". I want it to be "Home / underwater [1]".
Thanks!
Hello
You could use and adapt the plugin http://piwigo.org/ext/extension_view.php?eid=589 for your needs
Offline
Thanks for the prompt reply.
I have installed that plugin. But dont know how to customize it to fit my requirement.
As my domain is not working at the moment please use this link to have a look at my tag page http://70.32.79.70/index/tags/4-underwater
ok. Please tell me which PHP/tpl file has the code which adds "keyword" in title and breadcrumb.
back on the computer
see http://piwigo.org/dev/browser/trunk/the … 25577#L100
You will have to create a template extension of index.tpl , then change that line to remove the <a ... > ... Keyword... </a> using a regex
Offline
Ranjith wrote:
ok. Please tell me which PHP/tpl file has the code which adds "keyword" in title and breadcrumb.
Offline
rvelices wrote:
Ranjith wrote:
ok. Please tell me which PHP/tpl file has the code which adds "keyword" in title and breadcrumb.
I cant find the word "keyword" anywhere in the code. Am I missing something? In fact I can't find word "keyword" in any file or database!
I assume the following line adds the "keyword" to title. But don't know how.
$title = '<a href="'.get_root_url().'tags.php" title="'.l10n('display available tags').'">' . l10n( count($page['tags']) > 1 ? 'Tags' : 'Tag' ). '</a> ';
FYI I dont know much PHP.