coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: timmy toad on December 28, 2003, 09:18:36 PM

Title: A simple query for an expert
Post by: timmy toad on December 28, 2003, 09:18:36 PM
i am now very happily running two of your Photo Albums

I dont even begin to understand PHP, although i can easily edit them in my Web Space Control Panel.

What i would like to do is to insert a bit of HTML like

<a href="http://www.timparsons.net/index.html"><img src="../../Home%20symbol.gif" border="0" width="64" height="42"></a><img src="img/sign.gif" width="9" height="12">

(i guess that can be converted to PHP language !?)

into the main index page to give a link back to my home page, i would be very pleased if you could give me a few ideas on HOW to do it and perhaps more importantly WHERE to put it.


tim
Title: A simple query for an expert
Post by: Casper on December 28, 2003, 09:36:54 PM
The easy way is to insert it in your themes/yourtheme/template.html.

Depending where you want it, (i have mine at the top with a our club logo and a few small gifs, so my table is directly after the <body> tag), simply insert a new table, and place your code in it.

It then shows on every page.  see how mine works by clickng the link below.
Title: Later:-
Post by: timmy toad on December 28, 2003, 09:37:39 PM
Later:- i read some of the FAQ and found i can insert the above HTML into the TEMPLATE.HTML

i inserted it as close to the bottom of this file as i dare, I have found it is shown at the very top of the document INDEX.PHP   but there is very broad white line devoid of background colour to the side of where i have placed it !!!!.

any further ideas please  

//www.timparsons.net/coppermine/index.php
Title: A simple query for an expert
Post by: Casper on December 28, 2003, 09:44:28 PM
To put it near the bottom, you can make a custom footer, or simly add a new row in the table of your template.html, directly under the row that contains '{GALLERY}'and insert it in that.
Title: A simple query for an expert
Post by: timmy toad on December 28, 2003, 09:57:52 PM
Later:-  i didnt actually get the Graphic symbol where i wanted it to go, Ok, OK i had to admit defeat  on that one for now, LOL.

But i am well pleased i found another solution a little more easily, I added a Home Page link to the Navigation bar on the left side of the screen, i am using the FRUITY theme. by editing the theme.php file

all's well that ends well.

tim