Link & Gallery name Link & Gallery name
 

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

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