Skip to main content
added 192 characters in body
Source Link
The Frog
  • 119
  • 11

I have build a Blog. Now I've tried to add the commenting function with "Comments": https://github.com/engram-design/Comments

I use the absolute basic template: https://github.com/engram-design/Comments/blob/master/examples/standard/standard.html

The call in my Tpl:

{% set params = {
   order: 'dateCreated asc'
} %}
                
{{ craft.comments.form(entry.id) }}

Until here everything is fine. When I want so send the comment, i always get this Error:

Property "Craft \ EntryModel.owner is undefined.

The "Comments" Plugin use EntryModel.owner when I want so submit a comment on any entry. Now the problem is that {{ entry.owner }} is undefined. But how can I define the {{ entry.owner }}?

I know this is a noobie Question, but how can I fix this?

I have build a Blog. Now I've tried to add the commenting function with "Comments": https://github.com/engram-design/Comments

I use the absolute basic template: https://github.com/engram-design/Comments/blob/master/examples/standard/standard.html

The call in my Tpl:

{% set params = {
   order: 'dateCreated asc'
} %}
                
{{ craft.comments.form(entry.id) }}

Until here everything is fine. When I want so send the comment, i always get this Error:

Property "Craft \ EntryModel.owner is undefined.

I know this is a noobie Question, but how can I fix this?

I have build a Blog. Now I've tried to add the commenting function with "Comments": https://github.com/engram-design/Comments

I use the absolute basic template: https://github.com/engram-design/Comments/blob/master/examples/standard/standard.html

The call in my Tpl:

{% set params = {
   order: 'dateCreated asc'
} %}
                
{{ craft.comments.form(entry.id) }}

Until here everything is fine. When I want so send the comment, i always get this Error:

Property "Craft \ EntryModel.owner is undefined.

The "Comments" Plugin use EntryModel.owner when I want so submit a comment on any entry. Now the problem is that {{ entry.owner }} is undefined. But how can I define the {{ entry.owner }}?

I know this is a noobie Question, but how can I fix this?

edited tags
Link
carlcs
  • 36.3k
  • 5
  • 63
  • 140
Source Link
The Frog
  • 119
  • 11

Blog Comments / EntryModel.owner is undefined

I have build a Blog. Now I've tried to add the commenting function with "Comments": https://github.com/engram-design/Comments

I use the absolute basic template: https://github.com/engram-design/Comments/blob/master/examples/standard/standard.html

The call in my Tpl:

{% set params = {
   order: 'dateCreated asc'
} %}
                
{{ craft.comments.form(entry.id) }}

Until here everything is fine. When I want so send the comment, i always get this Error:

Property "Craft \ EntryModel.owner is undefined.

I know this is a noobie Question, but how can I fix this?