coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: sizlintune on September 26, 2004, 09:01:47 PM

Title: help with customizing index.php page *Should be Easy*
Post by: sizlintune on September 26, 2004, 09:01:47 PM
What I would like to do is very simple. I am just not sure how to do it.
On the main gallery page where all the albums show I would like to include under the album thumbnail a line that says

click picture to open gallery

I have a few people going to one of my galleries and they cant figure out how to open the gallery. Any help in this would be appreciated.

Thanks
Title: Re: help with customizing index.php page *Should be Easy*
Post by: OmegaGOD on September 26, 2004, 09:09:19 PM
sizlintune,
     One easy way to accomplish this is to add "click picture to open gallery" into the album description.

--OmegaGOD
Title: Re: help with customizing index.php page *Should be Easy*
Post by: sizlintune on September 26, 2004, 09:29:25 PM
hey I really never thought of that. How dumb of me. Thanks alot
Title: Re: help with customizing index.php page *Should be Easy*
Post by: OmegaGOD on September 27, 2004, 12:26:31 AM
Quote from: sizlintune on September 26, 2004, 09:29:25 PM
hey I really never thought of that. How dumb of me. Thanks alot

:-) np... anytime
Title: Re: help with customizing index.php page *Should be Easy*
Post by: Casper on September 27, 2004, 01:19:53 AM
A bit tedious to have to do that every time.

Try this.  Open themes/yourtheme/theme.php, and find;

<a href="{ALB_LINK_TGT}" class="albums">{ALB_LINK_PIC}<br /></a>

Now simply add what you want, like this;

<a href="{ALB_LINK_TGT}" class="albums">{ALB_LINK_PIC}<br />Click pic to open album</a>

That will do it on all albums.
Title: Re: help with customizing index.php page *Should be Easy*
Post by: sizlintune on September 27, 2004, 02:39:28 AM
Quote from: Casper on September 27, 2004, 01:19:53 AM
A bit tedious to have to do that every time.

Try this.  Open themes/yourtheme/theme.php, and find;

<a href="{ALB_LINK_TGT}" class="albums">{ALB_LINK_PIC}<br /></a>

Now simply add what you want, like this;

<a href="{ALB_LINK_TGT}" class="albums">{ALB_LINK_PIC}<br />Click pic to open album</a>

That will do it on all albums.


Perfect, exactly what I wanted to do. I just couldn't find the code to do it with. Thanks alot.
Brent

http://www.midnightbowling.com