I have putted the code into my theme.php. Now it can see the comment
template in my first post, but only in my first post, when i change to
the second post i see only the Comment-Count-Header like (1
Comments) . where ist the problem? See here: http://www.mirrortheworld.de/habari


On 16 Sep., 19:44, "Eli Naeher" <[EMAIL PROTECTED]> wrote:
> On Tue, Sep 16, 2008 at 12:26 PM, Opa114 <[EMAIL PROTECTED]> wrote:
> > I have no Tags like "act_display_post" or "act_display_home" in my
> > theme.php. If it is useful: i used the k2 theme as source for my own
> > theme.
>
> You may need to add an act_display_home to your theme.php. Here's what I have:
>
> public function act_display_home( $user_filters = array() )
> {
>    [snipped]
>    parent::act_display_home();
>
> }
>
> The snipped part is what I've copied from act_display_post in
> system/classes/theme.php (NOT your theme's theme.php; the one in
> system that defines the base Theme class.) I took everything from the
> line that says "Handle comment submissions and default commenter id
> values" to the line about comments_require_id.
>
> As Arthus pointed out, your add_template_vars may be a better place to put 
> this.
>
> In either case, this is a pretty quick-and-dirty solution -- ideally
> this would be changed in system/classes/theme.php in Habari itself so
> that you don't have cut-and-pasted code in your theme which may stop
> working if something changes with the session stuff in the future --
> but it will work.
>
> Thanks,
> --Eli

--~--~---------~--~----~------------~-------~--~----~
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