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: Link back to index.htm with picture to illustrate  (Read 2921 times)

0 Members and 1 Guest are viewing this topic.

Henrik

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Link back to index.htm with picture to illustrate
« on: October 17, 2004, 11:42:05 am »

Hey There

Is it possibel to make a link so you can go from the coppermine gallery back to the main inde. at the website. The only link i can see at coppermine gallery is the logo in the left cornor!(Se picture)

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Ffrip.dk%2Fpiratos%2FUnavngivet.JPG&hash=cb9b86f98ef5106062f162ef8613f981fb14949c)
Can i change that link or create a new link so i can get back to main?

Best Regards
Henrik
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Link back to index.htm with picture to illustrate
« Reply #1 on: October 17, 2004, 12:36:34 pm »

edit themes/yourtheme/template.html and modify the html link that applies to the logo as you wish, e.g. (for the classic theme) from
Code: [Select]
<a href="index.php"><img src="themes/classic/images/site_logo.png" alt="" border="0" /><br /></a>to
Code: [Select]
<a href="any_other_link.html"><img src="themes/classic/images/site_logo.png" alt="" border="0" /><br /></a>To add menu items to the coppermine navigation, edit themes/yourtheme/theme.php, find
Code: [Select]
// HTML template for main menu
$template_main_menu = <<<EOT
                <span class="topmenu">
and add (in a new line) whatever html links you could think of, e.g.
Code: [Select]
<a href="my_start_page.html" title="to the main home page">foo bar</a>
This has already been asked many times - next time, please search before posting a question please.

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.013 seconds with 15 queries.