Recent Topics

1 Feb 07, 2008 03:27    

My b2evolution Version: Not Entered

It figures out that if there are tags it should use the "before" and "after" params, but is there a way I can do something like [[ if( no_tags ) { echo 'no tags' } else { $item->tags( params ) } ]]

See what I want to do is make it say "... and doesn't have any tags ..." where it would put tags if I used them.

2 Feb 07, 2008 04:31

Hooray for me!

if( $Item->get_tags() ) {
$Item->tags( array(
		'before' => ', and was tagged with: ',
		'after' => '',
		'separator' => ', ',
	) );
} else {
echo ', and is untagged';
}


Form is loading...