Changing layout showCategory page.. need help!

Discussion about developing or modifying gadgets and plugins

Changing layout showCategory page.. need help!

Postby Xclusion » Mon Jun 28, 2010 10:03 am

Hi,

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!
Xclusion
 
Posts: 41
Joined: Fri Apr 24, 2009 11:35 am

Re: Changing layout showCategory page.. need help!

Postby afz » Mon Jun 28, 2010 11:04 am

try use jaws 0.8.13, and it's native ViewCategory.html template file
afz
 
Posts: 694
Joined: Sat Apr 12, 2008 1:46 am

Re: Changing layout showCategory page.. need help!

Postby Xclusion » Mon Jun 28, 2010 11:23 am

Okay, then its really time for me to upgrade ;)

thnx!
Xclusion
 
Posts: 41
Joined: Fri Apr 24, 2009 11:35 am


Return to Gadgets and Plugins Development

Who is online

Users browsing this forum: No registered users and 0 guests

cron