Customizing the default menu/links Customizing the default menu/links
 

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

Customizing the default menu/links

Started by DefenceTalk.com, November 06, 2003, 07:17:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DefenceTalk.com

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
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.defencetalk.com%2Fpictures%2Fsignature_cpg.php&hash=c0098ed5314d39beb9e8799c7c8787a9a0353b45)

moorey

Yes - theme.php

Just modify your quicklinks into theme.php in the following section:// 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.

DefenceTalk.com

Thanks moorey.

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

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

Joachim Müller

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]

moorey

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.