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 & Gallery name  (Read 3617 times)

0 Members and 1 Guest are viewing this topic.

irawen

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Link & Gallery name
« on: December 15, 2004, 07:31:03 pm »

So so can we link the gallery name ? How is going ? plz help.. Need to link that gallery name back to homepage
« Last Edit: December 17, 2004, 03:31:44 am by TranzNDance »
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Link & Gallery name
« Reply #1 on: December 15, 2004, 08:06:51 pm »

In your theme.php, find this line;
Code: [Select]
<!-- BEGIN album_list -->
Now add, immediately before it, you link to your home page. 
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

irawen

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Link & Gallery name
« Reply #2 on: December 15, 2004, 08:35:16 pm »

ok, i see is created new link on main list... But i need to know how to link the Gallery name... explain you gallery name is Casper so you link it to any site what ya want
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Link & Gallery name
« Reply #3 on: December 15, 2004, 08:42:06 pm »

Well this is just basic html.  If your site was http://www.yoursite.com, you would link to it like this;

Code: [Select]
<a href="http://www.yoursite.com" title="home">Home</a>
To link to the gallery, if your gallery is called gallery, it would be, from your home page;

Code: [Select]
<a href="gallery/index.php" title="gallery">Gallery</a>
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

irawen

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Link & Gallery name
« Reply #4 on: December 15, 2004, 09:09:04 pm »

omg lol :D ya never understan me :D But www.semi-karting.com/galleria   see that top right text ? "Semi karting Kuvagalleria"     So i need to link that word.... how ? <a href="gallery/index.php" title="gallery">Gallery</a>   <-- i know that... but how
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Link & Gallery name
« Reply #5 on: December 15, 2004, 10:02:55 pm »

lol

Ok, open your theme template.html, and find this;

Code: [Select]
{GAL_NAME}
Change it to this;

Code: [Select]
<a href="http://www.semi-karting.com/" title="{GAL_NAME}">{GAL_NAME}</a>
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

irawen

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Link & Gallery name
« Reply #6 on: December 17, 2004, 02:28:42 am »

thx m8s  ;)
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 14 queries.