Where can i edit Coppermine titles? Where can i edit Coppermine titles?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Where can i edit Coppermine titles?

Started by jardois, April 12, 2009, 10:23:54 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jardois

Where can i edit Coppermine titles?

My titles looks this way:

<title>Sitename - Category/Picture name</title>

how can i change the order? For example:

<title>Picture name / Category / Site name</title>

Thank you very much.


Joachim Müller

#1
What's inside the <title>-tags of the HTML output is being determined by the calls of the function pageheader. You'd need to edit those calls for the files you want to see the title changed. If you want to see the titles of the thumbnails pages changed for example, you'll need to edit thumbnails.php, findpageheader(isset($CURRENT_ALBUM_DATA) ? $CURRENT_ALBUM_DATA['title'] : $lang_meta_album_names[$album]);and edit accordingly.
Similar thing applies to displayimage.php (edit     pageheader($album_name . '/' . $picture_title, $meta_keywords, false); accordingly) and index.php (edit     pageheader($BREADCRUMB_TEXT ? $BREADCRUMB_TEXT : $lang_index_php['welcome']);): if you edit those three files, you should have covered the important part of the title tags.
Has been asked and answered frequently - if you need a more detailed answer, you should search the forum for answers, using the additional keywords I just posted.

jardois


Joachim Müller