Advanced search  

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]

Pages: [1]   Go Down

Author Topic: adding links on the website  (Read 4809 times)

0 Members and 1 Guest are viewing this topic.

dark-angel

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 1
    • MyPhotoAlbums
adding links on the website
« 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
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: adding links on the website
« Reply #1 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. 
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1615
  • From donovanbray.com
    • Donovan Bray
Re: adding links on the website
« Reply #2 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.
Logged

seraphim

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: adding links on the website
« Reply #3 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: adding links on the website
« Reply #4 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="" />
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.