Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I've just spent an entire day digging through code... just can't find what's causing my forum replies/comments & quick reply form not visible when Advanced Form style is applied. It's perfectly visible & functional when Advanced Form style is not applied.
What can be causing it?
Comments
Comment #1
timofey CreditAttribution: timofey commentedI was able to fix it by replacing
with
in /styles/naked/advanced-forum.naked.post.tpl.php
Can someone tell me why
$content['comments']
variable is empty in the first place?Comment #2
MichelleTry switching themes... Perhaps your theme is hiding it?
Michelle
Comment #3
timofey CreditAttribution: timofey commentedTried several other themes, including Seven; still the same.
Comment #4
troky CreditAttribution: troky commentedWhat is $post_object and where did you find it? It looks like something (some other module maybe) is messing with preprocessed variables.
Comment #5
timofey CreditAttribution: timofey commented@troky
Bingo!! It totally just clicked in. I have Zen Template installed. In template.php it has the following:
I never disabled/removed Zen Template completely when I tested advanced forum with other themes.
Comment #6
troky CreditAttribution: troky commented