Page 1 of 2

Clickable Banner

Posted: Wed Aug 03, 2011 1:27 am
by Santiago Munez 26
Hi friend,
I want to make clickable the forum's logo.
How can I do?

Thanks in advance.

Re: Clickable Banner

Posted: Wed Aug 03, 2011 2:19 am
by Dragosvr92
Sorry but you will have to give us some more data.
What style do you use?
Could we have a url to your board?

If you can locate your forums logo (its inside the overall_header.html file) all you have to do is add the A html element around your image code.

For example:
<a href="www.example.com">YOUR_LOGO_CODE_HERE</a>"

Re: Clickable Banner

Posted: Wed Aug 03, 2011 2:20 am
by GMan2008
Go into your ACP>Styles>Imagesets

Change your logo of your forum to the image you want.......You will need to upload your new logo to the styles/imageset folder of course. But once you've changed it, it will now be a clickable banner to your forum index page. :)

Re: Clickable Banner

Posted: Wed Aug 03, 2011 3:54 am
by Oyabun1
However, if you do it that way the change will be lost when you purge the cache or refresh the imageset. It is much better to follow the instructions in this article, Changing your board logo.

Re: Clickable Banner

Posted: Wed Aug 03, 2011 9:37 am
by Santiago Munez 26
TheKiller wrote:Sorry but you will have to give us some more data.
What style do you use?
Could we have a url to your board?

If you can locate your forums logo (its inside the overall_header.html file) all you have to do is add the A html element around your image code.

For example:
<a href="www.example.com">YOUR_LOGO_CODE_HERE</a>"
My style is "we_clearblue".
After what I have to insert this?
GMan2008 wrote:Go into your ACP>Styles>Imagesets

Change your logo of your forum to the image you want.......You will need to upload your new logo to the styles/imageset folder of course. But once you've changed it, it will now be a clickable banner to your forum index page. :)
I do this, but the logo isn't clickable
Oyabun1 wrote:However, if you do it that way the change will be lost when you purge the cache or refresh the imageset. It is much better to follow the instructions in this article, Changing your board logo.
Yes, I know, thanks :D

Re: Clickable Banner

Posted: Thu Aug 04, 2011 4:22 am
by Oyabun1
The logo isn't clickable because it's not actually a logo, in the we_clearblue style the header image is set as a background, and backgrounds aren't clickable.

So, we need to come up with some sort of workaround.

Re: Clickable Banner

Posted: Thu Aug 04, 2011 7:05 am
by Dragosvr92
Id recommend you to ask the author for support.
http://www.phpbb.com/customise/db/style ... e/support/

We could try helping you, but we will need to know if the banner is the default banner of the style, with the same size.. Do you want to qeep the description also ?

You may try this.... But be ware, its a dirty way of doing it, and it wont be validated.

Find:

Code: Select all

		<div id="illustration">
			<div id="site-description">
				<h1><a href="{U_INDEX}" title="{L_INDEX}">{SITENAME}</a></h1>
				<p>{SITE_DESCRIPTION}</p>
			</div>
		</div>
Replace With:

Code: Select all

		<a href="{U_INDEX}" title="{L_INDEX}">
		<div id="illustration">
			<div id="site-description">
				<h1>{SITENAME}</h1>
				<p>{SITE_DESCRIPTION}</p>
			</div>
		</div>
		</a>

Re: Clickable Banner

Posted: Thu Aug 04, 2011 1:11 pm
by Santiago Munez 26
The actual banner is mine and it is 600x199 px.
I want that if an user click on the banner, the banner redirect to the homepage...

Re: Clickable Banner

Posted: Thu Aug 04, 2011 6:04 pm
by Lumpy Burgertushie
Santiago Munez 26 wrote:The actual banner is mine and it is 600x199 px.
I want that if an user click on the banner, the banner redirect to the homepage...
yes you can do this with css.
however, we need to see your site so we know exactly what banner and where you are using it etc. etc.

robert

Re: Clickable Banner

Posted: Fri Aug 05, 2011 10:04 am
by Boardtalk.net
You could try this, it makes the entire header clickable to the index page;
Demo: http://boardtalk.org/forum/index.php (demo will stay up for a day or until until you tell me you've seen it)

Open; styles/we_clearblue/template/overall_header.html
Find:

Code: Select all

		<div id="illustration">
Replace with:

Code: Select all

		<div id="illustration" onclick="location.href='{U_INDEX}';" style="cursor: pointer;" title="{L_INDEX}">
Hope that's what your looking for,
;)

Re: Clickable Banner

Posted: Fri Aug 05, 2011 1:18 pm
by Santiago Munez 26
Boardtalk.net wrote:You could try this, it makes the entire header clickable to the index page;
Demo: http://boardtalk.org/forum/index.php (demo will stay up for a day or until until you tell me you've seen it)

Open; styles/we_clearblue/template/overall_header.html
Find:

Code: Select all

		<div id="illustration">
Replace with:

Code: Select all

		<div id="illustration" onclick="location.href='{U_INDEX}';" style="cursor: pointer;" title="{L_INDEX}">
Hope that's what your looking for,
;)
Perfect! Thanks a lot!
Fantastic :D

Re: Clickable Banner

Posted: Fri Aug 05, 2011 1:39 pm
by Boardtalk.net
Ah great, glad to of been a help :D

Re: Clickable Banner

Posted: Fri Sep 23, 2011 9:44 pm
by agafed
Boardtalk.net wrote:Open; styles/we_clearblue/template/overall_header.html
Find:

Code: Select all

		<div id="illustration">
Replace with:

Code: Select all

		<div id="illustration" onclick="location.href='{U_INDEX}';" style="cursor: pointer;" title="{L_INDEX}">
What about if I want to open another URL?? So when you click the banner it redirects you to another page...

Re: Clickable Banner

Posted: Fri Sep 23, 2011 11:45 pm
by Lumpy Burgertushie
change the {U_INDEX} to whatever your link is.

robert

Re: Clickable Banner

Posted: Fri Sep 23, 2011 11:56 pm
by agafed
Thanks for your answer...

I did this:

Code: Select all

	        <div id="illustration" onclick="location.href='http://www.clubpeugeotsport.com/';" style="cursor: pointer;" title="{L_INDEX}">
But nothing happens...

What I'm doing wrong??