backdrop-contrib / radix

A responsive base theme with Bootstrap and Sass for Backdrop CMS.
http://docs.radixtheme.org
GNU General Public License v2.0
4 stars 2 forks source link

comments and comment form not printed in node template #21

Open jenlampton opened 8 years ago

jenlampton commented 8 years ago

It looks like Radix is still using the node template from Drupal, and has not yet been adapted for Backdrop. There are some minor but significant differences in variable names. For example:

<?php print render($content['comments']); ?>

The above code will not print comments, as comments are not part of $content in Backdrop. Instead we should use the following.

<?php print render($comments); ?>
mikemccaffrey commented 8 years ago

Welp, glad I thought to look into this issue queue, before spending too much time working my way through the stack with a debugger.