Hiya, Don't know about 1), but for 2) and 3) a JCR Cluster can be a nice solution. You configure a JCR Cluster Repository, and configure magnolia to use the cluster repo for the "forum" workspace. You use the same cluster on both public instances, then all the forum content is automatically shared between the public servers. You can also use the same cluster on the author instance, then your authors can perform forum moderation on the author instance, without having to log into the public instance (logging into a public instance is a bit weird, and hard for editors to understand). When your author instance is part of the cluster too, you don't need activation for the forum content, since the same content is shared by all instances. So you can deactivate the subscriber for the forum workspace to make sure the activation isn't used.
Regards from Vienna, Richard -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von Stano Marcinko (via Magnolia Forums) Gesendet: Dienstag, 25. September 2012 14:19 An: Magnolia User List Betreff: [magnolia-user] Few questions about commenting in CE in 4.5 Hello everyone I have a few questions regarding the commenting module in magnolia. 1. how does threaded discussion work? is it somehow possible to sort comments into threads using freemarker or will I have to write a custom class to handle them? I temporarily solved it using jquery - I keep the id of the message in the "id" attribute and the inReplyTo value in custom "parent" attribute, iterate through comment divs and append them to their rightful owners but I'd much rather do this in the backend. (code if anyone is interested) freemarker: [code] ... [#assign msgInReplyTo=msg.inReplyTo!] [#assign msgIsReply=msgInReplyTo?has_content] ... [#if !msgIsReply] <div id="${msg.@id}" class="comment"> [#else] <div id="${msg.@id}" class="comment" parent="${msgInReplyTo}"> [/#if] ... [/code] jquery: [code] jQuery.each(jQuery("#comments div.comment"), function() { uuid = jQuery(this).attr("parent"); jQuery("div[parent = "+uuid+"]").appendTo(jQuery("div#"+uuid)) }); [/code] 2. I used to have a simple load balancing setup - two public instances behind an apache load balancer - when I needed it I just launched the second instance, activated the content and added it to the load-balancer. Is there a simple way to synchronize comments across multiple instances? Or should I setup the load balancing on repository level? (I presume that's possible). 3. is there a way to moderate the comments from the author instance? or at least to moderate them from inside of the webpage? thanks for your replies I tried to search documentation for answers but the 4.5 documentation is a bit lacking. -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=262ee804-7d3d-4608-b52e-3b6cc414836c ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <[email protected]> ---------------------------------------------------------------- Email secured by Check Point ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
