Hello,

i'm actually working on an theme for my blog. With the help of plugins
i created some new content types. I'm using Habari 0.7-alpha from svn.
If I understand the wiki article about theming (http://
wiki.habariproject.org/en/Creating_a_Custom_Theme) right, i can do the
following to output posts:

in my home.php:
 <?php foreach($posts as $post): ?>
        <?php $theme->content($post, 'multiple'); ?>
  <?php endforeach; ?>

The calling of $theme->content uses the corresponding theme for every
post and its type. For example: I have an file "multiple.entry.php"
which contains my template for all posts of type 'entry'. In my case
the file does have currently the following minimal content:
<?php echo $post->title_out; ?>
<?php echo $post->content_out; ?>

I think I have a problem to understand this correct. Habari shows the
article with the correct template, but all i get is 5 times the same
article, on the next page 5 times the next article and so on. Where is
my mistake?

Thanks,
Thomas

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/habari-users

Reply via email to