adding links on the website adding links on the website
 

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]

Main Menu

adding links on the website

Started by dark-angel, February 07, 2005, 07:15:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dark-angel

hey,
i'm working on a new website
and i was looking to add a few links

i wanna try to add a link for a webchat and a new page
for sponser links

any one who can help me out here ?

greetz
DarkAngel

Casper

It depends on what theme you are using, and where you want the links placed.

So you need to explain a little more. 
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

donnoman

If you want the links in the same sections as the buttons, it's best to put them in the theme.php under $template_main_menu or $template_main_menu1 / $template_main_menu2 if thats what your theme has.

Otherwise they should go right into the template.html.

seraphim

im using the water_drop forum stlye could you please let me know how to add  a link to get back to my main page.

cheers alex

Joachim Müller

You're not using a
Quote from: seraphim on August 27, 2005, 09:26:22 PMwater_drop forum stlye
, but the coppermine theme "water drop". Coppermine is not a forum, and it's not only a style, but a theme (you could call it a "skin" or "template" as well). This has been asked and answered already very often, so a search would have told you how to accomplish this. Hijacking a thread is not a good idea neither. However, here's what you do: edit themes/water_drop/theme.php, find// HTML template for main menu
$template_main_menu = <<<EOT
                <span class="topmenu">
and add after it (in a new line)                        <a href="/path/to/your/main/page/" title="back to my main page">back to main page</a>
                        <img src="themes/water_drop/images/orange_carret.gif" width="8" height="8" border="0" alt="" />