THE DISCUSSION BOARD OF VITINH.DE
  Free Perl Guestbook - F.A.Q
  How to link the logo to the normal website

Post New Topic  Post A Reply
edit profile | register | preferences | faq | members list |

Email this page to your friend! next newest topic | next oldest topic
Author Topic:   How to link the logo to the normal website
Breeze
Junior Member

Posts: 4
From:
Registered: Nov 2009

posted 30-11-2009 19:41     Click Here to See the Profile for Breeze     Edit/Delete Message   Reply w/Quote
hello,

As the guestbook does not fit in the wrapper of the site, it opens on a new page.
i'd like to make a link of the header_bg-logo, to go back to the homepage.

I have the glassy-style, FPG 2.03.

Can anyone tell me what to type in which .tpl

The header_bg.jpg was only mentioned in style.tpl as far as i could see, but was not sure how to change things in view.tpl

Thanks anyway.

IP: Logged

Tri Dung
Administrator

Posts: 1447
From: Oldenburg - Germany
Registered: Jan 2002

posted 30-11-2009 23:24     Click Here to See the Profile for Tri Dung     Edit/Delete Message   Reply w/Quote
You can use an existing HTML page from your site to make a new template file. Only the placeholders (things begin and end with a $$ sign) from the original one must be not removed.

IP: Logged

Breeze
Junior Member

Posts: 4
From:
Registered: Nov 2009

posted 01-12-2009 00:17     Click Here to See the Profile for Breeze     Edit/Delete Message   Reply w/Quote
I made another logo and named also header_bg.jpg. The real site is a joomla-site and the guestbook will be found by clicking a menulink, opening a new page. But i would like to make it easier when they click the logo they go back to the homepage.
But where and in which tpl should i place the <a href> ?

the header-logo is mentioned in the style.tpl

i am not really good in html, i already placed in the view.tpl this:

<div id="container">
<div id="container-1">
<div style="height:15px; text-align:center; line-height:15px;"<a "href=http://www.mysite.com"</a>
</div>


but nothing happens.

I hope you can help me.

IP: Logged

Tri Dung
Administrator

Posts: 1447
From: Oldenburg - Germany
Registered: Jan 2002

posted 01-12-2009 13:27     Click Here to See the Profile for Tri Dung     Edit/Delete Message   Reply w/Quote
There are two methods to make the header clickable:

- add the string below to the header DIV:

<div id=""..... onClick="location.href='http://HOMEPAGE.com';">

- make an invisible GIF (1x1 Pixel) and use the code below:

<a href="http://HOMEPAGE.com"><img src="THEGIF.gif" border="0" width="THEWHOLEWIDTH" height="THEWHOLEWIDTH"></a>

IP: Logged

All times are GMT + 1

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic

Post New Topic  Post A Reply

E-Mail | Home

Powered by Infopop www.infopop.com © 2000
Ultimate Bulletin Board Freeware Version 2000C