Advanced search  

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]

Pages: [1]   Go Down

Author Topic: A simple query for an expert  (Read 3372 times)

0 Members and 1 Guest are viewing this topic.

timmy toad

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
A simple query for an expert
« 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
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
A simple query for an expert
« Reply #1 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.
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Later:-
« Reply #2 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  

http://www.timparsons.net/coppermine/index.php
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
A simple query for an expert
« Reply #3 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.
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
A simple query for an expert
« Reply #4 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
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 14 queries.