How do I hide the commenting form by default when using the accordion effect

In order to hide the commenting form when the page is loaded you will need to go to components/com_rscomments/helpers/ and edit the rscomments.php file. You will need to search for the following line:

var myAccordion = new Accordion($('rsc_accordion_container'), 'span.rsc_toggler', 'div.rscomments_show_form',{
duration: 300,

and add the following line after it:

display: -1,

Was this article helpful?

Yes No
Sorry about that

You Should Also Read

How can i enable comments on a page ?

Migrate RSComments! from Joomla! 2.5 to 3.x

Add custom text at the beginning of the commenting section