forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: jardois on April 12, 2009, 10:23:54 am

Title: Where can i edit Coppermine titles?
Post by: jardois on April 12, 2009, 10:23:54 am
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.

Title: Re: Where can i edit Coppermine titles?
Post by: Joachim Müller on April 13, 2009, 09:18:42 am
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, find
Code: [Select]
pageheader(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.
Title: Re: Where can i edit Coppermine titles?
Post by: jardois on April 13, 2009, 05:32:06 pm
Thanks for your patience.
Title: Re: Where can i edit Coppermine titles?
Post by: Joachim Müller on April 13, 2009, 06:26:59 pm
Does that solve your issue?