forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: dark-angel on February 07, 2005, 07:15:15 pm

Title: adding links on the website
Post by: dark-angel on February 07, 2005, 07:15:15 pm
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
Title: Re: adding links on the website
Post by: Casper on February 07, 2005, 08:40:14 pm
It depends on what theme you are using, and where you want the links placed.

So you need to explain a little more. 
Title: Re: adding links on the website
Post by: donnoman on February 08, 2005, 03:38:43 am
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.
Title: Re: adding links on the website
Post by: seraphim on August 27, 2005, 09:26:22 pm
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
Title: Re: adding links on the website
Post by: Joachim Müller on August 28, 2005, 11:33:53 am
You're not using a
water_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
Code: [Select]
// HTML template for main menu
$template_main_menu = <<<EOT
                <span class="topmenu">
and add after it (in a new line)
Code: [Select]
                        <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="" />