Recent Topics

1 Nov 21, 2007 18:19    

My b2evolution Version: Not Entered

Hi all,

I would like to customize my b2evolution and what I would like to do for now is very simple ...
I just want to store the name of the blog in a var

for( $blog=blog_list_start(); $blog!=false; $blog=blog_list_next() )
{ 
	$BlogBList = & new ItemList( $blog,  '', '', '', '', '', array(), '', 'DESC', '', 3, '', '', '', '', '', '', '', 'posts' );

	while( $Item = $BlogBList->get_item() )
	{
		$name= blog_list_iteminfo('name');
	}
}


but using blog_list_iteminfo echoes the value on output

how is it possible to get the blogs values (name, url, etc ...) without displaying it on screen ?

Thanks in advance for your help.

N.

2 Nov 22, 2007 11:10

ok ... it's not as hard as i was thinking ...

something like this is working :


$title = $Item->title;
$date = $Item->issue_date;
$Item->get_creator_User();
$name = $Item->creator_User->preferred_name( 'htmlbody', false );

see you ;)


Form is loading...