Recent Topics

1 May 07, 2007 08:52    

My b2evolution Version: 1.9.x

Hi,
My blog has its title on top of a heading picture (see http://www.baird-online.com/baird/Blogs/blogs/index.php?blog=2) but because i couldn't get a drop shadow to work well on the text, i've decided to just write the name of the blog on the background image. This obviously means there is no link back to the title pge of the blog, so is it possible instead to make the whole image the equivalent link?
thanks

2 May 07, 2007 11:14

The line that makes the header looks something like this:

<h1 id="pageTitle"><a href="<?php $Blog->disp( 'url', 'raw' ) ?>"><?php $Blog->disp( 'name', 'htmlbody' ) ?></a></h1>


You can change it into something like this:

<a href="<?php $Blog->disp( 'url', 'raw' ) ?>"><src img="../img/yourimage.png" alt="Your Image"></a>


That should do the trick.

Good luck

3 May 07, 2007 12:28

Sorry, i can't seem to get that to work. The line in main.php reads:

<a href="<?php $Blog->disp( 'url', 'raw' ) ?>"><src img="../img/header.jpg" alt="Captain's Blog"></a>

4 May 07, 2007 15:59

Is the image in your skins/yourskin/img folder? If so get rid of the ../ before the img/ in the image src. Oh and it's supposed to be <img src="img/whatever.jpg" alt="whatever" />".

5 May 09, 2007 10:04

Cystophora -

On your website where you tried to implement the suggestion given here, you have a mal-formed bit of html, namely the "a" element.

You have

<a a href="http://www.baird-online.c

That should be

<a href="http://  

You have an extra "a"in there.

Plus, as Edb pointed out earlier.. you also have this:

<src img='

which should be

<img src='

Fix those html errors and see how that works.

6 May 13, 2007 07:16

Thanks guys, works perfectly now. Sorry it took so long to reply

7 Jun 12, 2007 21:11

cystophora,

i saw on your site that you are using 2 different header images that dynamically link to their respective blogs (bairds online blogs and captains blog).

how were you able to set that up to pull 2 different images and link correctly. i have followed the advice from this thread but now have 1 image over all of my many blogs.

http://knng.varsitysportsradio.com


Form is loading...