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: [Solved]: Adding another menu.  (Read 3776 times)

0 Members and 1 Guest are viewing this topic.

glennk

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 43
[Solved]: Adding another menu.
« on: June 08, 2009, 11:18:33 pm »

How can I add another menu to the classic theme ?? Whenever I add the code and then upload it, I get a blank page.
« Last Edit: June 09, 2009, 03:14:52 am by Phill Luckhurst »
Logged

Nibbler

  • Guest
Re: Adding another menu.
« Reply #1 on: June 08, 2009, 11:25:03 pm »

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.
Logged

glennk

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 43
Re: Adding another menu.
« Reply #2 on: June 08, 2009, 11:37:45 pm »

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

Nibbler

  • Guest
Re: Adding another menu.
« Reply #3 on: June 08, 2009, 11:51:14 pm »

You've messed up the script tag. Change

Code: [Select]
<script type="text/javascript" src="scripts.js" />

back to

Code: [Select]
<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.
Logged

glennk

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 43
Re: Adding another menu.
« Reply #4 on: June 08, 2009, 11:56:18 pm »

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 ??
Logged

Nibbler

  • Guest
Re: Adding another menu.
« Reply #5 on: June 09, 2009, 12:02:24 am »

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.
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4886
    • Windsurf.me
Re: Adding another menu.
« Reply #6 on: June 09, 2009, 03:14:39 am »

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
Logged
It is a mistake to think you can solve any major problems just with potatoes.
Pages: [1]   Go Up
 

Page created in 0.042 seconds with 17 queries.