• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Comment Form - default to closed

Comment Form - default to closed 13 years 6 months ago #11841

  • myjang
  • myjang's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
I just purchased RSComments and I like what I see so far. Very easy to setup and use. I do have one question, however.

Is there a way to have the Comment Form default to "closed" when viewing comments?

Thanks for another great Joomla extension.

Mike
The administrator has disabled public write access.

Re:Comment Form - default to closed 13 years 5 months ago #11988

  • andreic
  • andreic's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 722
  • Thank you received: 59
Hello,

In order to achieve this please try going 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,
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.

Re:Comment Form - default to closed 12 years 11 months ago #13577

  • adam3
  • adam3's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
That works great - thanks! Can this be done as a template override somehow?
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!