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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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 2 Guests 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