My comment preview isn’t working. When a user leaves a comment it simply submits the data but does not redirect to the comment’s preview page.
***CODE REMOVED***
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
July 31, 2010 8:34pm
Subscribe [2]#1 / Jul 31, 2010 8:34pm
My comment preview isn’t working. When a user leaves a comment it simply submits the data but does not redirect to the comment’s preview page.
***CODE REMOVED***
#2 / Jul 31, 2010 9:06pm
I guess it helps if you add the PREVIEW BUTTON.
However, one question I did have was once they submit their comment, how can I return it to a specific page? the return parameter doesn’t seem to work with this
{exp:comment:form preview="competition/entry_preview" enable_uploads="y" upload_dir_name="Comment Uploads Directory" return="competition/contestants"}#3 / Aug 01, 2010 4:39pm
Hi jeremiah,
There is no return parameter for the comment form. A comment submission will, by default, return the user to the same url after the form is processed. However, please see this forum thread.
Cheers
Greg
#4 / Aug 01, 2010 5:07pm
OMG Greg you rock man thank you so much for pointing me in the right direction. This is the fix I was looking for! Thank you again!!
#5 / Aug 01, 2010 6:29pm
Hi jeremiah,
Glad that we got this sorted out. Please post back if required.
Cheers
Greg