Advanced search  

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

Pages: [1]   Go Down

Author Topic: Missing {Custom_Lnk_Ico} in cpg1.5.24  (Read 3063 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.019 seconds with 19 queries.