CGFeedback Comment submission question

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
kms
Forum Members
Forum Members
Posts: 49
Joined: Sun Jul 18, 2010 5:50 pm

CGFeedback Comment submission question

Post by kms »

Hi All,

I hope this is a simple question:  When I submit a comment using CGFeedback, I get the 'Thank you for your comment' message, but how do I get the comment from back, without the user having to refresh the page?

Thank you!
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Location: Maidenhead, UK
Contact:

Re: CGFeedback Comment submission question

Post by paulbaker »

If I understand your question correctly, you need

Code: Select all

policy="session"
in your {CGFeedback} call.  This displays the URL which has the feedback form after the user presses the submit button (rather than a separate page).  See the CGFeedback help screen for more details.
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation

CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
kms
Forum Members
Forum Members
Posts: 49
Joined: Sun Jul 18, 2010 5:50 pm

Re: CGFeedback Comment submission question

Post by kms »

OK, thanks! I'll check that out, I appreciate the help  :)
kms
Forum Members
Forum Members
Posts: 49
Joined: Sun Jul 18, 2010 5:50 pm

Re: CGFeedback Comment submission question

Post by kms »

OK, I do have "policy="session", but what is happening is after the submission of a comment, I get the thank you message but the feedback form is not there. There is a setting under CGFeedback, under the "settings" tab:

Message displayed after successful comment submission

So that is what I see, the message, but no more feedback form, say for instance if the user wanted to leave another comment. Now if they refresh the page, the feedback form is there again, see what I mean? So how do I display a message but also have the feedback form still there?
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Location: Maidenhead, UK
Contact:

Re: CGFeedback Comment submission question

Post by paulbaker »

I don't think that is possible (but I am only learning about this module, so it might be).

What I have in my "Message displayed after successful comment submission" is this at the end:

Code: Select all

<p><a href="{$page_name}">Return to the page you commented on</a>.</p>
It gives a link back to the page they made a comment on, so they can post another message if necessary.
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation

CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
kms
Forum Members
Forum Members
Posts: 49
Joined: Sun Jul 18, 2010 5:50 pm

Re: CGFeedback Comment submission question

Post by kms »

OK, thanks Paul. That's a good solution for now, thanks for sharing the idea. I'll poke a round abit more and let you know if I ever find how to get the comment form back too.
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Location: Maidenhead, UK
Contact:

Re: CGFeedback Comment submission question

Post by paulbaker »

You're welcome.  :)
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation

CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
Post Reply

Return to “Modules/Add-Ons”