search for: render_page_commentaries

Displaying 1 result from an estimated 1 matches for "render_page_commentaries".

2006 Jul 12
1
Adding Comments...
...or name, email, and comment. When the user clicks the submit button on this, it all goes back to the original state with just the "Add Comment" link, which is now below the new comment. This all works fine. The solution to rendering the comments, though, is a complete hack. I added a render_page_commentaries method to behavior.rb that just creates an ERB template, feeds the page''s commentaries through it, and splurts out the result. The radius code in page_context.rb calls this if part_name =~ /commentary/. This is obviously not an ideal solution, but it was a lot quicker than figuring out...