I used the K2 theme as base for my own creation. I want that the comments and the commentform are displayed on the home.php.
On 16 Sep., 19:25, Arthus Erea <[EMAIL PROTECTED]> wrote: > On Sep 16, 2008, at 1:16 PM, Eli Naeher wrote: > > > > > On Tue, Sep 16, 2008 at 12:09 PM, Arthus Erea > > <[EMAIL PROTECTED]> wrote: > > >> Looks like commentform.php references the PHP variable > >> "commenter_name" which is not referenced in Habari. If you want the > >> name of the commenter, use something like $comment->name; > > > Actually, commenter_name is defined in system/classes/theme.php in > > act_display_post, and is used by all of the default themes. > > Ooops. Didn't realize he had kept the default theme.php. > > > > > It looks like possibly Matthias wants a comment form on the front > > page? I did, too, for my blog, and so simply copied all of the comment > > variables defined in act_display_post to act_display_home in my > > theme's theme.php file. Is there any reason not to make these > > variables available to all theme templates? > > Not that I can think of. I think the act_add_template_vars would work > to globally add the variable. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
