Would like to add a link to another site on the front page Would like to add a link to another site on the front page
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Would like to add a link to another site on the front page

Started by bgeh, December 20, 2003, 05:20:51 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bgeh

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

Casper

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


Casper

I see you are using 'hardwired' theme.

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

with this;
<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.
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