Advanced search  

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

Pages: [1]   Go Down

Author Topic: Where can i edit Coppermine titles?  (Read 3022 times)

0 Members and 1 Guest are viewing this topic.

jardois

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
    • Wallpapers Pictures
Where can i edit Coppermine titles?
« 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.

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Where can i edit Coppermine titles?
« Reply #1 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.
« Last Edit: April 13, 2009, 06:26:09 pm by Joachim Müller »
Logged

jardois

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
    • Wallpapers Pictures
Re: Where can i edit Coppermine titles?
« Reply #2 on: April 13, 2009, 05:32:06 pm »

Thanks for your patience.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Where can i edit Coppermine titles?
« Reply #3 on: April 13, 2009, 06:26:59 pm »

Does that solve your issue?
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.