worried
07-27-2009, 12:19 PM
I'd like to alter the blog_postbit_entries_link template to display only one category of blogs
The original code reads:
<div>$vbphrase[blog_entries]: <a href="blog.php?$session[sessionurl]u=$post[userid]">$post[entries]</a></div>
resulting in "Blog Entries: 26" (for example) I've changed it to read:
<div>Category 1 Entries:<a href="blog.php?$session[sessionurl]u=$post[userid]&blogcategoryid=1">List</a></div>
This works as far as linking to member's Blog Category 1. However, the postbit appears regardless if the member has no posts for Blog Category 1. Also, how can I keep a total on the number of posts to Blog Category 1 like the original code?
The original code reads:
<div>$vbphrase[blog_entries]: <a href="blog.php?$session[sessionurl]u=$post[userid]">$post[entries]</a></div>
resulting in "Blog Entries: 26" (for example) I've changed it to read:
<div>Category 1 Entries:<a href="blog.php?$session[sessionurl]u=$post[userid]&blogcategoryid=1">List</a></div>
This works as far as linking to member's Blog Category 1. However, the postbit appears regardless if the member has no posts for Blog Category 1. Also, how can I keep a total on the number of posts to Blog Category 1 like the original code?