PDA

View Full Version : How to: put comments on image_template page?


martolun
07-27-2005, 09:13 PM
Here is my testing site for my Photoblog.
http://focus.f2o.org/pixelpost/index.php

I copied and pasted the "comment form" from the comment_template to the image_template page. Comment action works perfectly, but it redirects the user to the "thanks for your comment" page.

I want the comment process to return to the current image when the comment is saved.

How can I do this?
THANKS!

Connie
07-28-2005, 06:05 AM
please do not post twice!

I deleted the first posting and here is my answer:

this is the standard behaviour of the script
if you want to change that, you could write an AddOn
if you modify the index.php take care at upgrades and new versions

we do not favor modifications and hacks anymore, only AddOns
because Hacks and Modifications bring trouble when updating

martolun
07-28-2005, 06:03 PM
... but I insist on doing this.

Does anybody knows if I can change de HTML for the comment redirector to a <? PHP header ?> function to redirect to the current image page?

THANKS!