Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Missing {Custom_Lnk_Ico} in cpg1.5.24  (Read 3001 times)

0 Members and 1 Guest are viewing this topic.

pols1337

  • Coppermine frequent poster
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 244
Missing {Custom_Lnk_Ico} in cpg1.5.24
« on: September 29, 2013, 02:00:55 am »

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
Logged

astrasuite

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Missing {Custom_Lnk_Ico} in cpg1.5.24
« Reply #1 on: September 29, 2013, 07:18:42 am »

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:

Code: [Select]
// 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'],
Logged

astrasuite

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Missing {Custom_Lnk_Ico} in cpg1.5.24
« Reply #2 on: September 29, 2013, 07:33:22 am »

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)
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Missing {Custom_Lnk_Ico} in cpg1.5.24
« Reply #3 on: October 04, 2013, 12:44:50 pm »

Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 19 queries.