[Solved]: Adding another menu. [Solved]: Adding another menu.
 

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

[Solved]: Adding another menu.

Started by glennk, June 08, 2009, 11:18:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

glennk

How can I add another menu to the classic theme ?? Whenever I add the code and then upload it, I get a blank page.

Nibbler

Coppermine has a custom menu option in config. If you want to add more than one there's an FAQ thread about that. If you get a blank page you made a mistake in your code. Unless you post that code we can't really help you.

glennk

Quote
      </table>
      <img src="images/spacer.gif"
alt="" height="15" width="1" /> <br />
      <table align="center" border="0"
cellpadding="0" cellspacing="0" width="100%">
        <tbody>
          <tr>
            <td align="left"
valign="top"> {ADMIN_MENU}
            <ul>
              <li><a
href="http://www.whitbyseaanglers.co.uk/">WSA</a></li>
              <li><a
href="http://www.whitbyseaanglers.co.uk/hall-of-fame/index.php">Hall
Of Fame</a></li>
              <li><a
href="http://www.whitbyseaanglers.co.uk/members-gallery/index.php">Gallery</a></li>
              <li><a
href="http://www.whitbyseaanglers.co.uk/kayak-fishing">Kayak
Fishing</a></li>
              <li><a
href="http://www.whitbyseaanglers.co.uk/kayak-fishing-reviews/">Kayak
Reviews</a></li>
              <li><a
href="http://www.whitbyseaanglers.co.uk/boat-fishing-index.php">Boat</a></li>
              <li><a
href="http://www.whitbyseaanglers.co.uk/fishing-bait.php">Bait</a></li>
              <li><a
href="http://www.whitbyseaanglers.co.uk/north-east-fishing-marks-index.php">Marks</a></li>
              <li><a
href="http://www.whitbyseaanglers.co.uk/uk-sea-fish.php">Fishing</a></li>
              <li><a
href="http://www.whitbyseaanglers.co.uk/fishing-tackle.php">Tackle</a></li>
              <li><a
href="http://www.whitbyseaanglers.co.uk/north-east-fishing-news/">News</a></li>
            </ul>
{GALLERY} </td>
          </tr>
        </tbody>
      </table>

Nibbler

You've messed up the script tag. Change


<script type="text/javascript" src="scripts.js" />


back to


<script type="text/javascript" src="scripts.js"></script>


Also, you'd be better off renaming the theme as described in the docs rather than modifying classic.

glennk

thankyou for that. I wonder how that got messed up as I never touched it. It must be the editor.

Thanks for the suggestion about renaming the template. Why is this good practice ??

Nibbler

Avoid using editors that automatically change code. You don't need any fancy editor for Coppermine; the simpler the better.

http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#theme_create_rename

The next time you update Coppermine you are likely to overwrite your changes.

phill104

Please mark your future threads as solved once you have the answer. I helps other users when searching for similar problems. See this thread for info on how to do that.

http://forum.coppermine-gallery.net/index.php/topic,54109.0.html
It is a mistake to think you can solve any major problems just with potatoes.