disableAction

Removes the specific image and album HTML from the DOM if the user does not have ADMIN_RIGHTS

This instance of the plugin will disable the image/album "publish" action. But it is intended mostly as an example.
To disable other actions you will need to examine the page HTML and change/insert code as needed.

This extension has been abandoned by the ZenphotoCMS team and we provide it for archival purposes on our "unsuppported-plugins-offical" GitHub repository "as is". .

Info & download (GitHub)

For questions and comments please use the forum or discuss on the social networks.


More by author:

Related items