Active
Project:
Comment form above comments
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
29 Apr 2011 at 05:43 UTC
Updated:
23 Mar 2013 at 11:32 UTC
Jump to comment: Most recent file
Comments
Comment #1
betarobot commentedMaybe there is not so much need for this module anymore. In D7 you can easily display form above comments by adjusting your comment-wrapper.tpl.php:
Just don't forget that comment.tpl.php should be also present in this theme/subtheme.
Comment #2
nikita petrov commentedHere is D7 module for this task.
When module is enabled, it simply overrides standart comment-wrapper.tpl.php for whole site.
Comment #3
alliax commentedThank you for this quick module that does the trick in D7!
Comment #4
BeaPower commentedI get this error after installation: Warning:
include(/home/content/89/*/html/sites/all/themes/adaptivetheme/at_core/templates/sites/all/modules/comment_form_above_comments/comment-wrapper.tpl.php) [function.include]: failed to open stream: No such file or directory in theme_render_template() (line 1495 of /home/content/89/*/html/includes/theme.inc).
Warning: include() [function.include]: Failed opening '/home/content/89/*/html/sites/all/themes/adaptivetheme/at_core/templates/sites/all/modules/comment_form_above_comments/comment-wrapper.tpl.php' for inclusion (include_path='.:/usr/local/php5_3/lib/php') in theme_render_template() (line 1495 of /home/content/89/*/html/includes/theme.inc).
Comment #5
pradyumnahpt commentedHi betarobot,
Thank you for posting the solution,Actually I tried your solution,its working correct,but when I sort the comments in "newer first" format,the newly added comment is pushed last, so sort order is not working.It will become correct only after refreshing the page.Is there any fix for it ?.
Thank You
Comment #6
betarobot commented@pradyumnahpt: My code sample should not affect sorting or any other functionality. You have to look for something else in your theme. Maybe some CSS that make comments float right or something like that.