Added a show comment form button. Add comment form is revealed when the button is clicked. Used jQuery UI Effect to .highlight() to bring attention to newly added comments. Also added a named anchor to our block library to allow direct linking/scrolling to those blocks on the page.

This commit is contained in:
Chad Kieffer
2009-02-12 07:07:11 +00:00
parent d487558369
commit 9bbe8053c7
7 changed files with 38 additions and 16 deletions

View File

@@ -27,6 +27,7 @@ class comment_theme_Core {
$block = new Block;
$block->css_id = "gComments";
$block->title = t("Comments");
$block->anchor = t("comments");
$view = new View("comments.html");
$view->comments = ORM::factory("comment")