Add menu box Add menu box
 

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

Main Menu

Add menu box

Started by dupek, December 20, 2010, 04:22:12 AM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

dupek

How do I add Custom menu link custom menu url. I do have one, but would like to have another one for links
Thanks.

Jeff Bailey

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.
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

dupek

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.

Jeff Bailey

Ahh, ok. In that case you have to edit your themes theme.php.
Find this in your theme.php

<!-- 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

    <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.
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

ΑndrĂ©


dupek


Jeff Bailey

Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford