Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Title Display on Pictures & Albums Pages  (Read 2375 times)

0 Members and 1 Guest are viewing this topic.

kingspice

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 61
Title Display on Pictures & Albums Pages
« on: August 08, 2011, 01:35:37 pm »

Hi,
I would like to change the format of the title for pictures and albums page, such that the main site title is not added to the end of the title.

e.g. Album Name/Picture Title
as opposed to:
Album Name/Picture Title - Your Gallery
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Title Display on Pictures & Albums Pages
« Reply #1 on: August 10, 2011, 05:30:16 pm »

Copy that to your theme's theme.php file:
Code: [Select]
function theme_page_title($section)
{
    global $CONFIG;
    $return = strip_tags(bb_decode($section));
    return $return;
}
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.