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: Odd Custom menu link behaviour in Curve Theme 1.5.24  (Read 11348 times)

0 Members and 1 Guest are viewing this topic.

TeraS

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 17
  • Lost but trying really hard...
    • Succubus.net
Odd Custom menu link behaviour in Curve Theme 1.5.24
« on: June 22, 2013, 09:52:08 pm »

I've upgraded from 1.5.20 to 1.5.20 and have added a custom menu link through the Config options. Having done so the following appears next to my custom menu link in the Curve Theme:

{CUSTOM_LNK_ICO}Succubus.Net Site Hub

Can someone point me at where I need to add this or remove this in the theme?

My gallery is at: http://succubus.net/gallery/index.php

The link itself works and I am not having menu icons appear in the theme, it is selected as NO in the options shown.

Any help is appreciated!
Logged

jamward

  • Coppermine newbie
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1
Re: Odd Custom menu link behaviour in Curve Theme 1.5.24
« Reply #1 on: June 28, 2013, 02:04:36 pm »

old thread, but maybe i can help.

it's always recommended to create a custom theme to edit rather than changing original themes.

 In the "curve" theme sub folder go to the theme.php file on line 674 {CUSTOM_ICO} needs to be changed to {CUSTOM_LNK_ICO}. save file and upload. this should take care of the missing icon on your custom link. by default this loads the "online[.png]" icon. you can check the list of available icons in the root /images/icons directory and pick one that you may like better or create you own and upload it and simply change the name in your php file to the name of the icon you like. DO NOT include file extension when renaming.

example:

'{CUSTOM_LNK_ICO}' => cpg_fetch_icon('online',1), *comment:online.png is file this line will fetch*

change to:

'{CUSTOM_LNK_ICO}' => cpg_fetch_icon('info',1), *comment:info.png is file this line will fetch*
Logged

TeraS

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 17
  • Lost but trying really hard...
    • Succubus.net
Re: Odd Custom menu link behaviour in Curve Theme 1.5.24
« Reply #2 on: June 28, 2013, 03:47:22 pm »

Thank you kindly!
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Odd Custom menu link behaviour in Curve Theme 1.5.24
« Reply #3 on: August 21, 2013, 02:03:32 pm »

{CUSTOM_ICO} needs to be changed to {CUSTOM_LNK_ICO}
Fixed in SVN revision 8578.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.