OS Property support center

Destination After Property Edit

  • Tim Colman
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 5 months ago #54496 by Tim Colman
Destination After Property Edit was created by Tim Colman
After editing a property in the front end and hitting Save, the page goes to /osproperty.html.

Is it possible to change this to another page on the site?

Thanks in anticipation.

Please Log in or Create an account to join the conversation.

More
10 years 5 months ago #54502 by Mr. Dam
Replied by Mr. Dam on topic Destination After Property Edit
Hi Tim,
You can make the change on OS Property to modify the redirect link. Please follow these steps
1. Open file
components > com_osproperty > classes > listing.php
2. find
$mainframe->redirect(JURI::root()."index.php?option=com_osproperty&task=property_thankyou&id=$id&Itemid=".JRequest::getInt('Itemid',0));
and you can change
JURI::root()."index.php?option=com_osproperty&task=property_thankyou&id=$id&Itemid=".JRequest::getInt('Itemid',0)
by the link you want to have, for example
$mainframe->redirect(" abc.com ");

Thanks
Dam

Please Log in or Create an account to join the conversation.

  • Tim Colman
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 5 months ago #54503 by Tim Colman
Replied by Tim Colman on topic Destination After Property Edit
I had to change a couple more as well, but that worked. Thanks.

Please Log in or Create an account to join the conversation.

More
10 years 5 months ago #54562 by Mr. Dam
Replied by Mr. Dam on topic Destination After Property Edit
OK, Tim

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamNguyen Phu Quan