I didn't like the layout for the category view of the blog gadget, so I tried to change it.
I copied the code of the default page, called entry which is in the template folder.
This worked out well, but theres a thing missing. There is no 'Post Comment' button..
So I assume I need the put the code for the comments somewhere in a PHP file.. who can help me out?
The ShowCatergory looks likt this:
- Code: Select all
<!-- BEGIN item -->
<DIV style="OVERFLOW: auto" class=post-header>
<div style="width: 490px; float: left; padding-bottom: 10px; padding-left: 5px; padding-top: 5px;">
<h2><a href="{permanent-link}" title="{title}" rel="bookmark">{title}</a></h2>
<p class="post-info">{posted_by}: <a href="{author-url}">{name}</a></p>
</div>
</DIV>
<div class="content">{text}</div>
<p class="post-footer">
<!-- BEGIN comment-link -->
<a href="{url}" class="comments">{text_comments}</a> |
<!-- END comment-link -->
<!-- BEGIN comments-statistic -->
<a class="comments">{text_comments}</a> |
<!-- END comments-statistic -->
<span class="date">{createtime}</span>
</p>
<!-- END item -->
Please help me out here!
Thnx!