Missing {Custom_Lnk_Ico} in cpg1.5.24 Missing {Custom_Lnk_Ico} in cpg1.5.24
 

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

Missing {Custom_Lnk_Ico} in cpg1.5.24

Started by pols1337, September 29, 2013, 02:00:55 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pols1337

Hi,

I wanted to let you know that when I did a brand new installation of CPG 1.5.24 with the default curve theme, I am missing the icon for custom_link_ico. 

See screenshot.

Joel

astrasuite

I got that same error too some time ago when I installed a brand new gallery using curve ...

I modified theme.php, as follows (jcr is my comment).  Go to around line 665 and you'll see something like below:

// jcr - renamed non-existent CUSTOM_ICO to CUSTOM_LNK_ICO
    $param = array(
        '{ALB_LIST_TGT}' => "index.php$cat_l",
        '{ALB_LIST_TITLE}' => $lang_main_menu['alb_list_title'],
        '{ALB_LIST_LNK}' => $lang_main_menu['alb_list_lnk'],
        '{ALB_LIST_ICO}' => cpg_fetch_icon('alb_mgr', 1),
        '{CUSTOM_LNK_TGT}' => $CONFIG['custom_lnk_url'],
        '{CUSTOM_LNK_TITLE}' => $CONFIG['custom_lnk_name'],
        '{CUSTOM_LNK_LNK}' => $CONFIG['custom_lnk_name'],
        '{CUSTOM_LNK_ICO}' => cpg_fetch_icon('online', 1),
        '{LASTUP_TGT}' => "thumbnails.php?album=lastup$cat_l2",
        '{LASTUP_TITLE}' => $lang_main_menu['lastup_title'],

astrasuite

Sorry, my line number may be different, so just search for CUSTOM_ICO and replace it.  It should be under function theme_main_menu($which)

ΑndrĂ©