We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Question about comments with grid rows

Development and Programming

Andy Heathershaw's avatar
Andy Heathershaw
3 posts
12 years ago
Andy Heathershaw's avatar Andy Heathershaw

I am using the grid to create a photo gallery, for which I have two templates: album and photo. The album template shows all rows from the grid for a single entry (the photo album) and the photo template takes another parameter in the URL - the row_id - to display a single photo from that grid.

I’ve added a comment form on the photo template, however the comments are visible on every photo, which I guess is because they are linked to the entry (the album) as opposed to the grid row (the photo.)

Is it possible to link a comment form to a grid row instead of an entry?

       
Boyink!'s avatar
Boyink!
5,011 posts
12 years ago
Boyink!'s avatar Boyink!

You are right - comments are entry-oriented. I see no way to make them row-oriented without an addon.

The other options is to ditch the grid approach, put each photo in a dedicated channel, and tie them together via relationships. Then you could do per-photo comments.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.