Advanced search  

News:

cpg1.5.42 maintenance release - upgrade recommended
The Coppermine development team is releasing an update for Coppermine in order to fix several minor issues. All fixes are not security critical, so if your gallery is running fine with cpg1.5.36, cpg1.5.38 or cpg1.5.40 you don't need to upgrade. If you are running an older version than cpg1.5.36, you must update to this latest version as soon as possible because of the security impact!
[more]

Pages: [1]   Go Down

Author Topic: Odd Custom menu link behaviour in Curve Theme 1.5.24  (Read 4198 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: 15038
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.06 seconds with 19 queries.