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!
CGFeedback Comment submission question
- paulbaker
- Dev Team Member
- Posts: 1465
- Joined: Sat Apr 18, 2009 10:09 pm
- Location: Maidenhead, UK
- Contact:
Re: CGFeedback Comment submission question
If I understand your question correctly, you need
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.
Code: Select all
policy="session"
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
https://docs.cmsmadesimple.org/troubles ... nformation
CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
Re: CGFeedback Comment submission question
OK, thanks! I'll check that out, I appreciate the help 

Re: CGFeedback Comment submission question
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?
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?
- paulbaker
- Dev Team Member
- Posts: 1465
- Joined: Sat Apr 18, 2009 10:09 pm
- Location: Maidenhead, UK
- Contact:
Re: CGFeedback Comment submission question
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:
It gives a link back to the page they made a comment on, so they can post another message if necessary.
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>
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
https://docs.cmsmadesimple.org/troubles ... nformation
CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
Re: CGFeedback Comment submission question
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.
- paulbaker
- Dev Team Member
- Posts: 1465
- Joined: Sat Apr 18, 2009 10:09 pm
- Location: Maidenhead, UK
- Contact:
Re: CGFeedback Comment submission question
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
https://docs.cmsmadesimple.org/troubles ... nformation
CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016