Page 1 of 1

[SOLVED]CGFeedback-How to get back to that News detail page

Posted: Thu May 02, 2013 10:35 pm
by blackhawk
I'm using...
CMSMS 1.11.4,
CGFeedback 1.5.11
News 2.12.10
I also have the following enabled in my config file...

Code: Select all

$config['url_rewriting'] = 'mod_rewrite';
I have the following installed on my News Detail Template...

Code: Select all

{CGFeedback key1="News" key2=$entry->id  inline="1"}
{CGFeedback key1="News" key2=$entry->id action='summary'}
So far the functionality is fantastic! But I am still unsure how to tell CGFeedback, after you submit your comment to stay on the current details page (i.e. don't go to another content page or the summary page after submitting feedback). If I set the property inline="1", it will go to my summary page after I submit a comment. But I don't want that.

Any advice would be great!
Thanks

Re: CGFeedback - How to get back to that News detail page

Posted: Fri May 03, 2013 5:49 pm
by blackhawk
I'm still stuck with this issue, any help would be great

Re: CGFeedback - How to get back to that News detail page

Posted: Fri May 03, 2013 6:12 pm
by Dr.CSS
Maybe try...

key2=$entry->id action="default" policy=session inline=0

Re: CGFeedback - How to get back to that News detail page

Posted: Fri May 03, 2013 7:55 pm
by blackhawk
Thank you Dr. CSS, that works for the most part and I really appreciate you assisting me. The only thing that is weird, is that the ability to enter a comment is no longer on the page, after you submit your first comment...unless you refresh the page.

I sorta understand what is going on. After you submit a comment, a thank you message displays "in place of" the comment box when the page reloads. Would it be possible to show the comment box AND the thank you text at the same time? Any thoughts on that?

blackhawk

Re: CGFeedback - How to get back to that News detail page

Posted: Fri May 03, 2013 8:12 pm
by blackhawk
Actually the message setup is a good idea, this way comments are not flooded in all at once. People can either refresh their page or check their emails to follow up. That actually works fine for me.

Thank you for solving my issue Dr.CSS!

blackhawk

Re: [SOLVED]CGFeedback-How to get back to that News detail p

Posted: Sun May 05, 2013 4:37 pm
by Dr.CSS
Glad it works, once the comment form is filled there is no need for them to see it again at that time unless they plan on continuing to add comments and that may be considered 'spamming'...