Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Adding a link  (Read 4388 times)

0 Members and 1 Guest are viewing this topic.

moreli2

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Adding a link
« 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
« Last Edit: September 12, 2004, 10:38:00 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Adding a link
« Reply #1 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... >:(
Logged

moreli2

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Adding a link
« Reply #2 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
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 20 queries.