vb condition for has blogs

Freekoid

Customer
Im trying to move the position of 'blogs' in postbit_legacy.

This is sat in its own template but uses a hook postbit_userinfo_right_after_posts.

<dt>{vb:rawphrase blog_entries}</dt><dd><a href="{vb:link blog, {vb:raw post}, null, 'userid', 'blog_title'}">{vb:raw post.entries}</a></dd>

Placing the above in postbit only works if you have a blog so I need a condition but dont know what it is. Any help? Thanks

<vb:if condition="HAS A BLOG">
 
Couldn't you check for <vb:if condition="$post['entries'] > 0"> ?

Maybe I'm misunderstanding you though xD
 
Back
Top