A simple query for an expert A simple query for an expert
 

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

A simple query for an expert

Started by timmy toad, December 28, 2003, 09:18:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

timmy toad

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

Casper

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

timmy toad

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

Casper

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

timmy toad

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