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

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

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