Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

comments and comment form not printed in node template #21

Closed
jenlampton opened this issue Sep 27, 2015 · 1 comment
Closed

comments and comment form not printed in node template #21

jenlampton opened this issue Sep 27, 2015 · 1 comment
Labels

Comments

@jenlampton
Copy link
Member

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); ?>
@jenlampton jenlampton added the bug label Sep 27, 2015
@mikemccaffrey
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants