Question
I've got a page with a comment box, which sends the entered comment to another page using the Target attribute. The target page is not to be viewed by everyone so has an ALLOWTOPICVIEW attribute set. My problem is that whenever anyone enters a comment in the first page, they are automatically taken to the target page. Actually, they are displayed the 'not allowed' error because of the ALLOWTOPICVIEW attribute.
How can I stop the Comment plugin redirecting people to the target page? I can't put a redirect on the target page as the ALLOWTOPICVIEW will kick in, generating the error message.
Environment
--
HelenJohnstone - 22 Sep 2006
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
The redirect is the outcome of the
save that is done when the comment is added. I'm not aware of any way to change the target of the view after the save is complete. It would require quite extensive code changes (to the core, not just to the plugin).
--
CrawfordCurrie - 26 Sep 2006