Recent Topics

1 Oct 03, 2008 17:34    

My b2evolution Version: Not Entered

In a long-overdue upgrade, I'm trying to go from 1.10.2 to 2.4.5

Being quite a big jump, I've duplicated the SQL database and installed the new version elsewhere, so I basically have the old and the new versions both running at once. And my main problem (as usual) is fixing the skin to look like it did BEFORE the upgrade..

My main problem right now is that I like to have the permalink small and unobtrusive: A 'link' icon to the side of the left of the title is all that I want to be linked. See [url=http://geekblog.oneandoneis2.org/index.php]here[/url]

However, the simple default

<h3 class="bTitle"><?php $Item->title(); ?></h3>

gives me a title that's linked. I can't figure out where this behaviour is defined, so I can't turn it off.

And I also can't figure out how to make a $item->permanent_link anything other than the "folded page" icon with or without "Permalink" written after it.

So the closest I can get to what I want so far is "folded-page icon / my icon / linked title" - see [url=http://www.oneandoneis2.com/b2evolution/blogs/index.php?tempskin=112theme&blog=6]here[/url] - which is a long way from what I want.

ANY help would be appreciated![/url]

2 Oct 03, 2008 18:00

delete that title line and replace it with this;

			<?php		$Item->permanent_link( array(
						'text' => '#icon#',
						) );
 						$new_title = $Item->title; 
						 echo $new_title; ?>

3 Oct 03, 2008 18:16

Excellent, many thanks, that's fixed the title!

Now I just need to change that 'folded page' icon - is there any way to do that in the skin, or do I have to edit the conf/_icons.php file?

4 Oct 03, 2008 18:22

you can do that or simply change it ;

$Item->permanent_link( array(
						'before' => '<img src="img/your_permalink_icon.gif" alt="permalinkicon" />',

5 Oct 03, 2008 19:39

Thanks again, that's me upgraded and done! :)


Form is loading...