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: Modify Menu Options?  (Read 4276 times)

0 Members and 1 Guest are viewing this topic.

Calman

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Modify Menu Options?
« on: January 10, 2016, 09:52:31 pm »

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 :)
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: Modify Menu Options?
« Reply #1 on: January 11, 2016, 01:23:43 am »

Logged

Calman

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Modify Menu Options?
« Reply #2 on: January 11, 2016, 01:32:29 am »

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 :)
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: Modify Menu Options?
« Reply #3 on: January 11, 2016, 02:07:06 am »

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

Code: [Select]
            <div id="main_menu">     
                    {SYS_MENU}
                    {SUB_MENU}
                    {ADMIN_MENU}
            </div>

REPLACE WITH

Code: [Select]
            <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.
« Last Edit: January 11, 2016, 02:21:55 am by allvip »
Logged

Calman

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Modify Menu Options?
« Reply #4 on: January 11, 2016, 07:32:48 pm »

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 :)
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 20 queries.