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: Would like to add a link to another site on the front page  (Read 3186 times)

0 Members and 1 Guest are viewing this topic.

bgeh

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Would like to add a link to another site on the front page
« on: December 20, 2003, 05:20:51 pm »

Hi, here's my site http://www.smktsprefects.com
I would like to add a link to a forum on the front page, but i have no idea how to, i don't dare use html since the index page is coded in php and i'm afraid it would spoil the look of the site
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Would like to add a link to another site on the front page
« Reply #1 on: December 20, 2003, 05:47:31 pm »

Just edit the themes/yourtheme/template.html.

you can put what you want in here, using html.  

ps, your link was not working when I tried.
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

bgeh

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Would like to add a link to another site on the front page
« Reply #2 on: December 20, 2003, 07:13:55 pm »

whoops, it's www.smktsprefects.tk :P
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Would like to add a link to another site on the front page
« Reply #3 on: December 20, 2003, 08:38:34 pm »

I see you are using 'hardwired' theme.

in themes/hardwired/template.html, replace this;
Code: [Select]
<td width="94%" height="22" valign="bottom" align="right"><span class="gal_name">{GAL_NAME}</span></td>

with this;
Code: [Select]
<td width="94%" height="22" valign="bottom" align="right"><a href="forum url">Forum</a>&nbsp;&nbsp;<span class="gal_name"><a href="http://www.smktsprefects.tk/">{GAL_NAME}</a></span></td>

Just replace the 'forum url with your actual one.
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

bgeh

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Would like to add a link to another site on the front page
« Reply #4 on: December 21, 2003, 02:27:06 pm »

thanks casper :D
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 14 queries.