How to get the "add comment" box closed after adding a comment

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

How to get the "add comment" box closed after adding a comment

Post by RonnyK »

After having entered a comment using the "Comments 1.8.0" module, the "add comment" box remains open. I want the box to be closed, so all entered data is shown completely without the "add comment" box in between.

How to arrange this?

Ronny
randlieb

Re: How to get the "add comment" box closed after adding a comment

Post by randlieb »

same problem.....

or can the replies be completely separated from the form? for instance....

all the comments in block 1

the form in block 2
KO
Power Poster
Power Poster
Posts: 562
Joined: Mon Nov 06, 2006 7:55 pm

Re: How to get the "add comment" box closed after adding a comment

Post by KO »

Did you guys ever find solution how to close comment box after adding comment?
KO
Power Poster
Power Poster
Posts: 562
Joined: Mon Nov 06, 2006 7:55 pm

Re: How to get the "add comment" box closed after adding a comment

Post by KO »

It seems that Comments uses Javascript to change styles that open "add comment" block. This javaScript is helparea.js at /lib directory. After changing "function revivecontent() -> style.display="none"" "add comment" block closes after sending comment. Othervise it seems to work normally. I have no idea if it breaks something but I have not found anything.
curana
Forum Members
Forum Members
Posts: 44
Joined: Sun Jan 21, 2007 5:53 pm

Re: How to get the "add comment" box closed after adding a comment

Post by curana »

I dont understand what u changed. Can you be a little more precise maybe? Would be great.
Post Reply

Return to “CMSMS Core”