forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: dupek on December 20, 2010, 04:22:12 am

Title: Add menu box
Post by: dupek on December 20, 2010, 04:22:12 am
How do I add Custom menu link custom menu url. I do have one, but would like to have another one for links
Thanks.
Title: Re: Add menu box
Post by: Jeff Bailey on December 20, 2010, 06:00:05 am
Please read the documentation, you agreed to read them when you signed up.
This is the second time I've pointed you directly to something in the docs.
http://documentation.coppermine-gallery.net/en/configuration.htm#admin_theme_custom_lnk_name

You have also failed to post a link in the threads I replied to, please remember to respect the board rules if you expect further support.
Title: Re: Add menu box
Post by: dupek on December 20, 2010, 02:03:04 pm
I guess that I was not clear in post and I do apologize for that. I do have custom menu link and custom menu url enable and works fine. What I wanted to do, is to add another set for different link. My web site is http://www.jestrakel.net.
Title: Re: Add menu box
Post by: Jeff Bailey on December 20, 2010, 03:28:38 pm
Ahh, ok. In that case you have to edit your themes theme.php.
Find this in your theme.php
Code: [Select]
<!-- BEGIN custom_link -->
    <li>
        <a href="{CUSTOM_LNK_TGT}" title="" class="firstlevel"><span class="firstlevel">{CUSTOM_LNK_LNK}</span></a>
    </li>
<!-- END custom_link -->
simply copy this
Code: [Select]
    <li>
        <a href="{CUSTOM_LNK_TGT}" title="" class="firstlevel"><span class="firstlevel">{CUSTOM_LNK_LNK}</span></a>
    </li>
to where you want the button to appear. Then edit {CUSTOM_LNK_TGT} and {CUSTOM_LNK_LNK} to what you want them to be.
Title: Re: Add menu box
Post by: Αndré on December 20, 2010, 03:33:39 pm
Moving to themes board.
Title: Re: Add menu box
Post by: dupek on December 20, 2010, 05:48:21 pm
This work fine. Thanks
Title: Re: Add menu box
Post by: Jeff Bailey on December 20, 2010, 05:59:43 pm
no problem.
Please resolve your thread http://forum.coppermine-gallery.net/index.php/topic,55415.msg270631.html#msg270631
Title: Solved: Add menu box
Post by: dupek on December 20, 2010, 06:14:43 pm
This work fine. Thanks