Home > Coding Tips, PHP > How to Remove Home in the Title of New Coppermine Gallery

How to Remove Home in the Title of New Coppermine Gallery

Edit include/themes.inc.php

Find the function and modify as follows


function theme_page_title($section)
{
global $CONFIG;
$return = strip_tags(bb_decode($section)) . ' - ' . $CONFIG['gallery_name']; // original code
$return = $CONFIG['gallery_name']; // Section removed
return $return;
}

this change works for cpg1.5.x

Categories: Coding Tips, PHP Tags:
  1. No comments yet.
  1. No trackbacks yet.