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
CGFeedback - "Hello Huston, we have a problem'
-
- Forum Members
- Posts: 15
- Joined: Fri Nov 04, 2005 6:57 pm
Re: CGFeedback - "Hello Huston, we have a problem'
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.
-
- Forum Members
- Posts: 15
- Joined: Fri Nov 04, 2005 6:57 pm
Re: CGFeedback - "Hello Huston, we have a problem'
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.
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.
Re: CGFeedback - "Hello Huston, we have a problem'
I notice there is a parameter that needs to be set in the cgfeedback call.
{CGFeedback action='default' key1='cal' destpage='home' policy='session'}
Code: Select all
policy='session'
{CGFeedback action='default' key1='cal' destpage='home' policy='session'}