Save at "edit data" redirecting

20.11.2011 13:24
#1
Mctijn
Joomshopping forum user no avatar
Name: Martijn
21.01.2011
Posts: 25
Quote
Save at "edit data" redirecting

First of all, thank you for this create component. It's the best way to create a shop for Joomla. Keep up the good work :-)

Now my question....

When I click "save" at the "edit data" screen (for data editing of users) the link directs to the "myaccount" screen.

Can I change this so users will go to the webshop main page instead of the my account screen?

Thank you!


Joomla: 1.7.3
JoomShopping: 3.2.7
 
22.01.2012 19:11
#2
Mctijn
Joomshopping forum user no avatar
Name: Martijn
21.01.2011
Posts: 25
Quote
Aw: Save at "edit data" redirecting

Can anyone tell me if I can change this redirect?
Thanks!

 
22.01.2012 19:29
#3
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25919
Quote
Aw: Save at "edit data" redirecting

Change file

components\com_jshopping\controllers\user.php

function accountsave(){
....

$this->setRedirect(SEFLink("index.php?option=com_jshopping&controller=user&task=myaccount",0,1,$jshopConfig->use_ssl), _JSHOP_ACCOUNT_UPDATE);
}


change row to

$this->setRedirect(...)

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.