purge html cache for album editor

Hi
I have various admin users set to edit and upload to their own single albums.
Everything is now working (really great) except the user cannot create new thumbnails on the front without asking admin to purge html cache. ( via overview page)
Can anyone guide me on adding a 'purge html button' to the albums page for a more limited user?
I added overview to the album user permissions but I don't want them to be 'administrators' so the purge html button does not appear with my settings. I also would rather they did not see other overview buttons. Any guidance much appreciated.

Comments

  • acrylian Administrator, Developer
    That is not that easy. You would have to write a plugin using filters to add a checkbox so it is cleared on saving. That is easiest as for a button nothing will be setup. See the plugin tutorial about that.
  • Thank you for the prompt reply.
    If I compromised and let the album user see the overview page, Would that offer a simpler solution (adding the button to the overview page for a limited user) ? many thanks
  • acrylian Administrator, Developer
    You will have to modify the the static_html_cache plugin for that as you need to change the rights. Look at its function `static_cache_html_purgebutton()`. Info about the rights on the user guide.

    But why don't you just let them wait until the cache updates itself as set on its options?
  • Thank you,
    I will have a look at the plugin.. and if that is all too tricky, then yes they will have to wait.. many thanks for the guidance
Sign In or Register to comment.