Redirect after new guestbook entry

Phoca Guestbook - creating guestbooks in Joomla! CMS
peterspie
Phoca Member
Phoca Member
Posts: 23
Joined: 15 Nov 2009, 22:29

Redirect after new guestbook entry

Post by peterspie »

Hello,
is it possible to have a redirect to another menu item after filling in the guestbook in stead of a rather small successful message at the bottom right of the guestbook page?

Regards, Peter
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Redirect after new guestbook entry

Post by Jan »

Hi, there is no such option, so this needs to be customized directly in the code - in controller of the component.

Jan
If you find Phoca extensions useful, please support the project
peterspie
Phoca Member
Phoca Member
Posts: 23
Joined: 15 Nov 2009, 22:29

Re: Redirect after new guestbook entry

Post by peterspie »

Hi Jan,

could you tell me which file to edit, then I can try for my self to do it.

Maybe you can add this is as a new feature for the guest book?

Regards, Peter
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Redirect after new guestbook entry

Post by Jan »

Hi, see this controller:
components/com_phocaguestbook/controllers/phocaguestbook.php

Jan
If you find Phoca extensions useful, please support the project
Post Reply