daquity36 Posted December 5, 2012 Share Posted December 5, 2012 (edited) After editing and saving a CMS page (in the BO), I am automatically redirected to the CMS main page. If I want to edit again, I have to click on "edit" again and it gets really repetitive. Is there any way to alter the admin/tabs/adminCMS.php so that saving edits does NOT redirect me to the CMS main list page? (in other words, save and stay?) Edited December 13, 2012 by daquity36 (see edit history) Link to comment Share on other sites More sharing options...
daquity36 Posted December 9, 2012 Author Share Posted December 9, 2012 (edited) Bump! Please help! Anyone?? Edited December 12, 2012 by daquity36 (see edit history) Link to comment Share on other sites More sharing options...
daquity36 Posted December 12, 2012 Author Share Posted December 12, 2012 Anyone?? Is this too difficult a task? Link to comment Share on other sites More sharing options...
sebkos Posted December 12, 2012 Share Posted December 12, 2012 Hi dequity36, what PS version? Link to comment Share on other sites More sharing options...
daquity36 Posted December 12, 2012 Author Share Posted December 12, 2012 Hi sebkos, Thanks for replying. I'm using Prestashop 1.4.9.0 Link to comment Share on other sites More sharing options...
sebkos Posted December 12, 2012 Share Posted December 12, 2012 go to admin directory/tabs and open AdminCms.php. About line 295 find and delete or comment out Tools::redirectAdmin($currentIndex.'&id_cms_category='.(int)$cms->id_cms_category.'&conf='.(int)($cms->id ? 3 : 4).'&token='.Tools::getAdminTokenLite('AdminCMSContent')); and add Tools::redirectAdmin($currentIndex.'&id_cms='.(int)$cms->id.'&updatecms&token='.Tools::getAdminTokenLite('AdminCMSContent')); Let me know if it works. 1 Link to comment Share on other sites More sharing options...
daquity36 Posted December 13, 2012 Author Share Posted December 13, 2012 Oh. My. God. It works perfectly! Sebkos, thank you sooo much!! Have a great day Link to comment Share on other sites More sharing options...
cille5 Posted February 18, 2013 Share Posted February 18, 2013 (edited) Where I can find solution to similar problem on prestashop ver 1.5.3.1 When adding new product: Sometimes when I try to use "save" or "save and stay" when adding new product they don't work... Sometimes they will work. Where is the problem? Edited February 18, 2013 by cille5 (see edit history) Link to comment Share on other sites More sharing options...
ernexus Posted May 4, 2016 Share Posted May 4, 2016 Thanks for sharing. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now