Jump to content

[SOLVED] how to "Save and Stay" in CMS editor


Recommended Posts

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 by daquity36 (see edit history)
Link to comment
Share on other sites

SOLVED.

 

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.

Link to comment
Share on other sites

×
×
  • Create New...