Recent Topics

1 Jul 24, 2007 12:47    

I use the sidebar to publish favorite websites. I do that by using linkblog and post my www's there.
Now I'm getting the icon for the permalink behind the post. :-/
I don't want that, because my list is not outlined now (see picture).
How can I remove it?
Better yet, is there a better way to post my fav's?

2 Jul 24, 2007 16:16

Yeah no worries you got it right. You post a fave website in the blog you decided is the linkblog and it shows up in the sidebar. But those pesky little image links show up too, and sometimes they show up on the next line. We can fix that but why bother when you want it to go away?

Cool. Open skins/yourskin/_linkblog.php or maybe skins/_linkblog.php and look for this bit:

	while( $Item = $LinkblogList->get_item() )
	{
		echo $linkblog_item_before;
		$Item->title( '', '', true );
		echo ' ';
		$Item->content( 1, 0, T_('more'), '[', ']' );	// Description + more link
		echo ' ';
		$Item->permanent_link( '#icon#', '#', '' );
		echo $linkblog_item_after;
	}


Now change it to this:

	while( $Item = $LinkblogList->get_item() )
	{
		echo $linkblog_item_before;
		$Item->title( '', '', true );
		echo $linkblog_item_after;
	}


Upload the new file and be amazed at how it's not there anymore.

Oh and to get rid of how the icon shows up on the next line simply edit a post and uncheck "auto-P" plugin.

3 Jul 24, 2007 23:06

Thanks!
Didn't work all the way first, but found out your code mist a tiny bit.
I changed the code to:


while( $Item = $LinkblogList->get_item() )
{
echo $linkblog_item_before;
$Item->title( '', '', true );
echo ' ';
$Item->content( 1, 0, T_('more'), '[', ']' ); // Description + more link
echo $linkblog_item_after;
}

And it works like a charme! ;D
Many thanks!

4 Dec 01, 2007 18:36

This code does not appear in my file _linkblog.php, blue_heaven skin, 1.10.3 version of b2evo. Where might it be, so that I could remove the permalink icon?

5 Dec 01, 2007 21:22

EdB wrote:

... skins/yourskin/_linkblog.php or maybe skins/_linkblog.php ...

It should be in one of those files.

6 Dec 01, 2007 22:51

Thanks, found it.


Form is loading...