Author: Webvanta
Item page for our standard Knowledgebase setup. The elements are:
<div id='item' class='kb clearfix'>
<w:kb:category>
<div class='crumbs'>
<w:each relative='parents'>
<a href='<w:path />'><w:name /></a> >
</w:each>
<a href='<w:path />'><w:name /></a>
</div>
</w:kb:category>
<w:kb:item>
<w:snippet name='addthis' />
<w:kb:if_item type='articles'>
<w:snippet name='kb_article' />
</w:kb:if_item>
<w:kb:if_item type='Books' >
<w:snippet name='kb_book_listing' />
</w:kb:if_item>
<w:kb:if_item type='Events'>
<w:snippet name='kb_event_listing' />
</w:kb:if_item>
<w:kb:if_item type='-Books, -Events, -Articles, -Posts'>
<w:snippet name='kb_default_listing' />
</w:kb:if_item>
<div id='comments'>
<a name='comments' ></a>
<w:if_comments>
<h2><a name='comments'>Comments</a></h2>
<p><a href='#comments'><w:comment_count /> comments</a></p>
<w:comments:each>
<h3><w:subject /></h3>
<p>From: <w:name />, <w:created_at format = '%e/%d/%y %I:%M %p' /></p>
<p><w:body /></p>
</w:comments:each>
</w:if_comments>
<w:snippet name='kb_item_comment_form' />
</div>
</w:kb:item>
</div>