themes :: hardwired -> not complete! themes :: hardwired -> not complete!
 

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

themes :: hardwired -> not complete!

Started by rybosom, December 19, 2004, 01:33:43 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rybosom

in cpg132\themes\hardwired\theme.php

function pageheader($section, $meta = '')
{
    global $CONFIG, $THEME_DIR;
    global $template_header, $lang_charset, $lang_text_dir;
    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'] . ' - ' . $section,
        '{CHARSET}' => $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'],
        '{META}' => $meta,
        '{GAL_NAME}' => $CONFIG['gallery_name'],
        '{GAL_DESCRIPTION}' => $CONFIG['gallery_description'],
        '{MAIN_MENU1}' => theme_main_menu1(),
        '{MAIN_MENU2}' => theme_main_menu2(),
        '{ADMIN_MENU}' => theme_admin_mode_menu()
        );
    echo template_eval($template_header, $template_vars);
}


'{GAL_NAME}' => $CONFIG['gallery_name'], work but '{GAL_DESCRIPTION}' => $CONFIG['gallery_description'], isn't!!!
why and how to change it to show gallery_description too

donnoman

The token {GAL_DESCRIPTION} needs to appear somewhere in the template.html between <body> and </body>.

To date, this token hasn't been added to the theme. It's a matter of choice by the theme's author.

You can add it yourself by placing the token as suggested above, where you would like the gallery description to be rendered.


rybosom