forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: Pasci on September 07, 2004, 07:25:02 pm

Title: how to redirect after add comments
Post by: Pasci on September 07, 2004, 07:25:02 pm
Hello there.
I searched the forum, but I couldn't find a thread that addresses a problem.
When a user adds a comment to a photo, the db_input.php site comes up and says that the comment has been added. How can I set it up so that the browser redirects automatically back to the photo where the user added the comment?
Title: Re: how to redirect after add comments
Post by: Joachim Müller on September 08, 2004, 07:48:19 am
usually the poster get's redirected back to the page, if your webhost allows redirects (and your browser). Please post a link to your site, together with a test user (non-admin) that has permissions to post comments (if applicable).

Joachim
Title: Re: how to redirect after add comments
Post by: Pasci on September 08, 2004, 09:04:07 am
Thank you for your quick reply.

The username is: test
The password: icaciR9n
The link to the site is: http://bangkokrecorder.com/fotos/

However, you do not need to log in order to post comments.

Sincerely,

Pasci
Title: Re: how to redirect after add comments
Post by: Joachim Müller on September 08, 2004, 09:11:07 am
This is being caused by your custom theme - when using the classic theme, you're being redirected as expected, test it with http://bangkokrecorder.com/fotos/displayimage.php?pos=-218&theme=classic

You mustn't remove {META} from http://www.bangkokrecorder.com/fotos/themes/recorder/template.html - re-insert it after <META HTTP-EQUIV="imagetoolbar" CONTENT="no">

Joachim
Title: Re: how to redirect after add comments
Post by: Pasci on September 08, 2004, 09:24:17 am
Hello Joachim,

Thank you sooooo much for your amazingliy fast and good support. It works now. Problem solved  ;D