Recent Topics

1 Jul 25, 2005 14:05    

Hi folks,

I wonder if you can help me with this query. I'm running versions of the Kubrick2Evo skin on my blog.

However I've recently installed a new forum on the site and was thinking the best way of linking to it would be to have a button in the header as the different blogs on my site do.

Can someone tell me if it's possible to add another button (as provided by bloglist.php) to the list, that links to a different url rather than another b2evo blog on the domain.

Thanks for reading.

2 Jul 25, 2005 17:49

Yes, this is possilbe. I viewed source on your page and this is the html that b2evo outputs to display the bloglist:

<div id="BlogListC">
<ul id="bloglist"><li><a href="http://www.cartmel-bar.co.uk/index.php" class="BlogButtonCurr" title="The Cartmel Bar Blog">Cartmel Bar</a></li>

<li><a href="http://www.cartmel-bar.co.uk/index.php/harry" class="BlogButton" title="Harry's Blog">Harry's Blog</a></li>
<li><a href="http://www.cartmel-bar.co.uk/index.php/princess" class="BlogButton" title="Her Princess Diaries">PrincessBlog</a></li>
<li><a href="http://www.cartmel-bar.co.uk/index.php/snug" class="BlogButton" title="The Snug">The Snug</a></li>
</ul>
</div>

If you want another link to show up in that list, then it needs to be a li inside the div labeled id="BlogListC". Here's what I think would be the easiest way to accomplish this. Open up the _bloglist.php file in your Kubrick folder (or whatever your skin is called). Find the line that looks like this:

$blog_list_end = '</ul>';

and make it look like this:

$blog_list_end = '<li><a href="http://www.cartmel-bar.co.uk/forum/">Forum</a></li></ul>';

3 Jul 25, 2005 17:58

Thanks very much for your help. I had tried to edit the bloglist.php but couldn't quite work out where to put the link in it.

Your post made it all very clear. I've got it working on my site now thanks to your help.

Cheers.


Form is loading...