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

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

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 3 Guests 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Ă©