Egocefalo Posted September 22, 2014 Share Posted September 22, 2014 Hi, I'm on prestashop 1.6.0.9 How can I make the "clear cache button" show on all back office pages or at least on other specific back office pages? ( the button at top right on advanced parameters - performance page). This is for an employee to be able to clear cache without having to give him access to performance page. Thank you! Link to comment Share on other sites More sharing options...
nutxlago Posted September 22, 2014 Share Posted September 22, 2014 (edited) In B.O.Administration you can create a new role for your employee. Then in permissions you can select which parts of B.O. he/she will be able to see, add or even delete. Just select which areas he/she is allowed. Edited: There is no easy way to only show that cache button alone. Edited September 22, 2014 by nutxlago (see edit history) Link to comment Share on other sites More sharing options...
Egocefalo Posted September 22, 2014 Author Share Posted September 22, 2014 Hi nutxlago! Yes, but regarding performance page I can grant him access to just view the page but this won't let him clear cache, and I'm trying to avoid having to give him edit permission. This is why I would like to show the button on other back office pages. Thanks! Link to comment Share on other sites More sharing options...
Egocefalo Posted September 22, 2014 Author Share Posted September 22, 2014 In B.O.Administration you can create a new role for your employee. Then in permissions you can select which parts of B.O. he/she will be able to see, add or even delete. Just select which areas he/she is allowed. There is no easy way to only show that cache button alone. Yes, I guess it's not gonna be easy =) Thanks! Link to comment Share on other sites More sharing options...
Egocefalo Posted September 22, 2014 Author Share Posted September 22, 2014 Well, I found an easy way to do it without showing the button elsewhere. I created a new ítem on Quick Access list wich triggers the same action that the button does: index.php?controller=AdminPerformance&empty_smarty_cache=1 Thank you! Link to comment Share on other sites More sharing options...
nutxlago Posted September 22, 2014 Share Posted September 22, 2014 Well, I am learning from you this time! How many other parts of Prestashop are still unknown... I will note that down as I see Quick access will become very handy! Link to comment Share on other sites More sharing options...
Egocefalo Posted September 22, 2014 Author Share Posted September 22, 2014 Yes, it seems to be a very useful tool =D Best regards! Link to comment Share on other sites More sharing options...
Recommended Posts