coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: swiss_man on May 12, 2004, 11:23:03 AM

Title: Menu change
Post by: swiss_man on May 12, 2004, 11:23:03 AM
How can I create a aditional button (for example Contact) and how have I to name the Link? And last, what kind of file I need to take for it?
Title: Re: Menu change
Post by: Joachim Müller on May 12, 2004, 01:34:53 PM
edit themes/your_theme/theme.php and look for// HTML template for main menu
$template_main_menu = <<<EOT
                <span class="topmenu">
and add after it
                        <a href="my_link.html" title="my link description">my link text</a> ::

GauGau
Title: Re: Menu change
Post by: swiss_man on May 13, 2004, 02:55:26 PM
and as a new side can make
Title: Re: Menu change
Post by: Casper on May 13, 2004, 03:40:00 PM
Sorry, but I don't understand what you are asking.
Please try to explain fully what you are saying.  Don't worry about how good or bad your English is, we understand many have problems with it.
Title: Re: Menu change
Post by: Joachim Müller on May 14, 2004, 07:48:28 AM
in case your question was "how do I modify this link to open in a new window", here's the answer:
Change<a href="my_link.html" title="my link description">my link text</a>to<a href="my_link.html" title="my link description" target="_blank">my link text</a>This is of course not coppermine related, but pretty ordinary html...

GauGau