I’m developing a theme for a Drupal blog; the mock-up I created requires the post content, trackbacks block and comments block to appear in a central column, with borders running either side.
I’ve got the CSS and HTML working correctly, so that’s not the issue here. My problem is that the comments block as generated by Drupal is placed outside of the div defining the central column, and so it appears out-of-place. As such, I think the solution is to stick a line into my theme saying “print column block here”, but having scoured the Drupal docs I can’t see any way to do so. Based on the HTML output by Drupal, I’m not sure a CSS/HTML fix is going to work.
I’m sure other Drupal theme developers must have come up against this before…
I eventually managed to resolve this using an HTML and CSS fix after all. It’s not as seamless as I’d like, but it’s not the end of the world.
Thanks for the suggestions, I hadn’t anticipated that things like comments would be output as part of the node content!