Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Customizing the default menu/links  (Read 5343 times)

0 Members and 1 Guest are viewing this topic.

DefenceTalk.com

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 230
    • http://www.defencetalk.com
Customizing the default menu/links
« on: November 06, 2003, 07:17:15 pm »

Hello,

I want to know if its possible to customize the default menu that comes with the gallery.

Look here

Anyway to integrate that with the "quicklinks" menu that I have right below it? Or any other way I can improve it?

Thanks
Logged
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.defencetalk.com%2Fpictures%2Fsignature_cpg.php&hash=c0098ed5314d39beb9e8799c7c8787a9a0353b45)

moorey

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 404
Customizing the default menu/links
« Reply #1 on: November 07, 2003, 04:07:09 am »

Yes - theme.php

Just modify your quicklinks into theme.php in the following section:
Code: [Select]
// HTML template for main menu
$template_main_menu = <<<EOT
                <span class="topmenu">
<!-- BEGIN album_list -->
                        <a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a> ::
<!-- END album_list -->

...
etc


The rest of the sections can be modified accordingly as well. Just remember to make a backup before you do your editing.
Logged

DefenceTalk.com

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 230
    • http://www.defencetalk.com
Customizing the default menu/links
« Reply #2 on: November 07, 2003, 04:39:58 pm »

Thanks moorey.

So, I can add javamenu/pictures instead of using the text links? That would be cool.

thx :)
Logged
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.defencetalk.com%2Fpictures%2Fsignature_cpg.php&hash=c0098ed5314d39beb9e8799c7c8787a9a0353b45)

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Customizing the default menu/links
« Reply #3 on: November 08, 2003, 11:39:26 am »

If you mean a DHTML menu (using JavaScript/CSS): yes you can. You can do all client-sided stuff.

GauGau

[off topic]
There's always a lot of confusion: Java and JavaScript are not the same thing; in fact they're not even remotely related
[/off topic]
Logged

moorey

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 404
Customizing the default menu/links
« Reply #4 on: November 08, 2003, 11:41:08 am »

Technically, yes - just make sure you know what you're doing. It's standard HTML, so if you conform to it, there's no reason why it wouldn't work.  Trial and error, really.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.