CGFeedback - "Hello Huston, we have a problem'

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
darkknight
Forum Members
Forum Members
Posts: 15
Joined: Fri Nov 04, 2005 6:57 pm

CGFeedback - "Hello Huston, we have a problem'

Post by darkknight »

I used the following code on both the CGBlog pages and other pages not related to the CGBlog:

{CGFeedback commenttemplate="gkd_comment_form" }
Comments
{CGFeedback action='summary' summarytemplate='gkd_summary' destpage='thankyou'}

The goal is to provide a common 'Thank You' page for all CGFeedback entries.

On the blog pages, the generated html code is:



BUT, on any other page the html code is:



where XXX is the alias name of the page.

For some reason, CGFeedback is ignoring the 'destpage='thankyou' parameter on all but the related CGBlog pages.

Can anyone shed some light on this one?

Thanks
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm
Location: MI

Re: CGFeedback - "Hello Huston, we have a problem'

Post by Jeff »

One problem I see is that the destpage is on the feedback display(summary) call and not on the feedback submit call.
(optional) destpage="" - Applicable only in the default comment form action, this parameter specifies a page to redirect to after the form has been completed.
darkknight
Forum Members
Forum Members
Posts: 15
Joined: Fri Nov 04, 2005 6:57 pm

Re: CGFeedback - "Hello Huston, we have a problem'

Post by darkknight »

Thanks ajprog

I tried your suggestion and changed the code to:

Comments
{CGFeedback action='default' commenttemplate='gkd_comment_form' destpage='thankyou'}
{CGFeedback action='summary' summarytemplate='gkd_summary' }

After a lot of experimentation I find that the parameter "destpage='thankyou'" is having no effect on any of the pages where there is a feedback. The form header is shown below:











It appears that the 'action' directive is not being replaced by content of the destpage parameter.

I have been looking at this far too long and I may be missing something obvious. Any suggestions would be appreciated.
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm
Location: MI

Re: CGFeedback - "Hello Huston, we have a problem'

Post by Jeff »

I notice there is a parameter that needs to be set

Code: Select all

policy='session'
in the cgfeedback call.

{CGFeedback action='default' key1='cal' destpage='home' policy='session'}
Post Reply

Return to “Modules/Add-Ons”