Is it possible to use panels to style comment layouts? Couldn't find anywhere to do that, and didn't see any add-on modules capable of adding this functionality. I've finally gotten my node form looking the way I want it to, but there doesn't seem to be a way for me to change the layout of the comment itself without going into code. Any tips would be appreciated.

Comments

merlinofchaos’s picture

Status: Active » Fixed

In theory you could create a comment view with a nid argument, in a content pane, set to From Context Node -> Nid and a view can have a lot of control over layout without using code.

However, Views does not come with a style to do comment thread indentation properly. node_comment module comes with one, you could try copying that to a custom module and retooling it to work on comments instead of nodecomments.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

held69’s picture

Version: 7.x-3.x-dev » 6.x-3.10
Status: Closed (fixed) » Active

sorry to break in here.

To get the comments displayed via views-content pane underneath a variant of my node_view (node template) panel,
i have been trying to follow the steps mentioned under #1 however without succes.

Content pane
I created a comment view with a content pane display
Under arguments i added comment id (as node id wasn't available)
Under argument input i added 'from context' and 'node id' under required context.

Node_view panel
To make the user picture available i added n my node template panel 'node author' as a relationship.

Help much appreciated

thanks

japerry’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Closing this issue as outdated as Drupal 6 ctools is not supported. If this issue is relevant for Drupal 7, feel free to re-open and mark for Drupal 7 (or 8)