wish to edit title bar wish to edit title bar
 

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]

Main Menu

wish to edit title bar

Started by niks_007, February 09, 2006, 12:43:59 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

niks_007

hi......
       I want to edit what the title bar displays i want the album name to come fist in the title bar and when viewing image image title first in the title bar so the search engines can more effectively find images on my website as i got thousands of image on it... but they are not reciving enough response from search engines as my old custom pages does where i use img tag to show images they got more response but not the gallery is doing so i want the title bar to display image title first...

I hope you will help me

Thanks
www.lakesparadis.com

niks_007

Please Help Any one...

let me know from where i can manage what title i wish to show the order...

See Details

I want to edit what the title bar displays i want the album name to come fist in the title bar and when viewing image image title first in the title bar so the search engines can more effectively find images on my website as i got thousands of image on it... but they are not reciving enough response from search engines as my old custom pages does where i use img tag to show images they got more response but not the gallery is doing so i want the title bar to display image title first...

Thanks
Niks
www.lakesparadise.com

Joachim Müller

edit themes/yourtheme/theme.php, find        '{TITLE}' => $CONFIG['gallery_name'] . ' - ' . strip_tags(bb_decode($section)),   and edit accordingly. If you don't have this section in your custom theme file, pastefunction pageheader($section, $meta = '')
{
    global $CONFIG, $THEME_DIR;
    global $template_header, $lang_charset, $lang_text_dir;

    $custom_header = cpg_get_custom_include($CONFIG['custom_header_path']);

    header('P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"');
    user_save_profile();

    $template_vars = array('{LANG_DIR}' => $lang_text_dir,
        '{TITLE}' => $CONFIG['gallery_name'] . ' - ' . strip_tags(bb_decode($section)),
        '{CHARSET}' => $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'],
        '{META}' => $meta,
        '{GAL_NAME}' => $CONFIG['gallery_name'],
        '{GAL_DESCRIPTION}' => $CONFIG['gallery_description'],
        '{SYS_MENU}' => theme_main_menu('sys_menu'),
        '{SUB_MENU}' => theme_main_menu('sub_menu'),
        '{ADMIN_MENU}' => theme_admin_mode_menu(),
        '{CUSTOM_HEADER}' => $custom_header,
        );

    echo template_eval($template_header, $template_vars);
}
into a new line right before?>

niks_007

Thanks for your reply it is working but i still have some problem

When i click on album name it shows title like this
Priyanka Chopra Wallpapers @ 1024x768 resolution on Lakesparadise.com

but when we click on a thoumb image to view it larger the title bar shwos it this
Priyanka Chopra/Priyanka Chopra Wallpapers @ 1024x768 resolution on Lakesparadise.com

i wnat to remove this "/" or if we cant do that i would like to replace it with a "," comma

Please let me know how could i do this

one more thing when we click on any category name it shows title like this
Home > Bollywood Unlimited > Bollywood Actress... Wallpapers @ 1024x768 resolution on Lakesparadise.com

but i want to show like this
Bollywood Actress... Wallpapers @ 1024x768 resolution on Lakesparadise.com

i dont want the Home > Bollywood Unlimited here how to remove that also

I hope you will help me
Thanks
Waiting fro reply
Nishant Shrivastava

Joachim Müller

browse your theme for other instances of {TITLE} if you want to change the page title in other places as well. We have a "one question per thread" policy you agreed to respect, so your second question shouldn't have gone into this thread. It could have been answered if you read the coppermine docs first. The item you want removed is named "breadcrumb" in "the content of the main page" in coppermine's config.