Admin Addon Revisions v1.3.1

So, after a recent HDD crash i now get “Template “revisions.html.twig” is not defined.” when trying to access revisions from admin dashboard. im not in to the twig nor how grav is buildt just yet and would like some help in the right direction. I have tried removing and installing the plugin back but this does not seam to help right now. Thanks!

I think it may be an issue with the plugin. I’ve been having trouble with that one, as well as the User Manager plugin.

Maybe you could try creating a new file named revisions.html.twig in user/themes/YOUR_THEME_NAME/templates/ and copy the content from the plugin here: https://raw.githubusercontent.com/david-szabo97/grav-plugin-admin-addon-revisions/master/templates/revisions.html.twig

(or move/symlink the file from the plugin if you prefer)

1 Like

I will try this soon and report back

i solved this by putting it in my ‘/user/plugins/admin/themes/grav/templates/’ folder and this solved the issue! This should be documented somewhere in the extension docs tho. :slight_smile: