Use the "comments" snippet (note the "s")
"comment" assumes the presence of a Comment, which is what is setup in the
"comments" snippet.
Advertising
On Dec 21, 2009, at 8:09 AM, María Paula Mariani wrote:
> Hello!
>
> I'm having issues with the Comments extensions. When adding the
> snippet "comment" to my layout I get this error message:
>
>
> undefined method `author_url’ for nil:NilClass
> undefined method `author’ for nil:NilClass
> undefined method `author_url’ for nil:NilClass
> said on
> undefined method `created_at’ for nil:NilClass
> :
> undefined method `content_html’ for nil:NilClass
>
>
> undefined method `approved?’ for nil:NilClass
> undefined method `approved?’ for nil:NilClass
>
>
> I've not installed Askimet, I read somewhere it may be the trouble?
> The fact is that I'm posting comments, approving them in the Comments
> tab and then I cannot watch them anywhere in the website. Which
> snippet is made for that purpose?
>
> If anyone had this issue, would be great to get an idea! By the way I
> keep trying! Thanks veryy much,
>
> --
> Paula
_______________________________________________
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant