coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: DefenceTalk.com on November 06, 2003, 07:17:15 PM

Title: Customizing the default menu/links
Post by: DefenceTalk.com 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 (http://www.defencetalk.com/pictures)

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

Thanks
Title: Customizing the default menu/links
Post by: moorey on November 07, 2003, 04:07:09 AM
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.
Title: Customizing the default menu/links
Post by: DefenceTalk.com 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 :)
Title: Customizing the default menu/links
Post by: Joachim Müller 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]
Title: Customizing the default menu/links
Post by: moorey 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.