forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: moreli2 on September 07, 2004, 11:48:38 am

Title: Adding a link
Post by: moreli2 on September 07, 2004, 11:48:38 am
Hi everybody,

I would like to make a link "back to my website" at the index side of the gallery, so that this link is always visible in the top, to the left of the menu.

I have searched in all the files, but can't find out where to place this.

Can anybody help me in which file I have to place this link?

Best greetings

Moreli2
Title: Re: Adding a link
Post by: Joachim Müller on September 08, 2004, 08:23:01 am
edit themes/yourtheme/theme.php, find
Code: [Select]
// HTML template for main menu
$template_main_menu = <<<EOT
                <span class="topmenu">
and add after it
Code: [Select]
<a href="foobar.htm" title="back to home page">Home</a> ::
Joachim

P.S. Next time, don't start support requests on the general discussion board, but on the proper support board. Searching the board would have helped as well, as this has been asked a thousand times already... >:(
Title: Re: Adding a link
Post by: moreli2 on September 12, 2004, 10:25:47 am
Hello,

Thank you very much for your help and I am sorry that I wrote it in the wrong folder, but I really couldn't find the answer and didn't know in which folder I had to write this question.

Best greetings