Link & Gallery name Link & Gallery name
 

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]

Main Menu

Link & Gallery name

Started by irawen, December 15, 2004, 07:31:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

irawen

So so can we link the gallery name ? How is going ? plz help.. Need to link that gallery name back to homepage

Casper

In your theme.php, find this line;
<!-- BEGIN album_list -->

Now add, immediately before it, you link to your home page. 
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

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

Casper

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

<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;

<a href="gallery/index.php" title="gallery">Gallery</a>
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

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

Casper

lol

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

{GAL_NAME}

Change it to this;

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