Modify Menu Options? Modify Menu Options?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Modify Menu Options?

Started by Calman, January 10, 2016, 09:52:31 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Calman

Hi folks,

New to Coppermine, so a lot to figure out and become accustomed to.  So far, I've bridged with phpBB, so working on the "visual" aspect of coding right now.

One question I have at this venture? ... how/where can I modify the main menu options? ... as I would like to add a link back to the forum end of things (preferably before the Home link, or within it).

I looked at the theme.php and some CSS files, but couldn't lock down the right area to find the results I am after.  New links were appearing at the end of the menu line, without the default CSS button style.

Any help appreciated!

Kind Regards,
Cal :)


Calman

Thank you so much!

Ironically, I just figured out my issue, as your post came in.  I simply wasn't clicking on "Config" itself, rather, the dropdown options within it! DUH. lol

So, I've now managed to add a new option/link.  I just need to figure out how to place it on the extreme left, before "Home" .... but it's clear progress so far!

Kind Regards,
Cal :)

allvip

#3
It may not be possible but you can use basic html instead of Custom menu link option.
Example for the curve theme:

Open themes/curve/template.html

FIND


            <div id="main_menu">     
                    {SYS_MENU}
                    {SUB_MENU}
                    {ADMIN_MENU}
            </div>


REPLACE WITH


            <div id="main_menu">
            <a href="YOUR FORUM LINK">Forum</a>       
                    {SYS_MENU}
                    {SUB_MENU}
                    {ADMIN_MENU}
            </div>


Then put it in the right position with css.

Calman

Many thanks for the useful info allvip!

I'll look into this soon and let you know how I get on - at least for now, I am happy that I now have a link back to the forum, 3-4 items in from the left.

Kind Regards,
Cal :)