Recent Topics

1 Aug 24, 2006 10:46    

Hello,

I got a difference for linkblog between version 1.8 beta and 1.8.1 rc: it seems that a carrier return has been added when the icons for permalink has been moved to the left of each entries. I'm using custom skin

I attached 2 screens to show you the difference.

Do you known where I need to modify the code, to remove the carrier return ?

2 Aug 24, 2006 13:02

That'd be in skins/_linkblog.php but I'm pretty sure you can get rid of it by unchecking the auto-P renderer for each linkblog post. Hmmm... Actually I think it's best done by editing the posts because there really isn't a change to unchange. You can get it done with an edit though.

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


Comment out the two lines I commented out in the above snippet and you'll (a) not see any content from your linkblog posts on your linkblog and (b) not trigger the auto-P renderer because you're not asking for content.

3 Aug 24, 2006 21:57

I'm pretty sure you can get rid of it by unchecking the auto-P renderer for each linkblog post

It works, thanks !

Does-it means that auto-P renderer has been changed between versions 1.8 and 1.8 rc-1 ?


Form is loading...