add photo_view_filter hook and fix minor issue with unset auto_save_draft variable which resultet in a javascript error

This commit is contained in:
Mario Vavti
2018-12-10 10:37:29 +01:00
parent d12744011a
commit 7894fed741
4 changed files with 16 additions and 3 deletions

View File

@@ -0,0 +1 @@
[h2]photo_view_filter[/h2]

View File

@@ -502,6 +502,9 @@ Hooks allow plugins/addons to "hook into" the code at many points and alter the
[zrl=[baseurl]/help/hook/photo_upload_form]photo_upload_form[/zrl]
Called when generating a photo upload form
[zrl=[baseurl]/help/hook/photo_view_filter]photo_view_filter[/zrl]
Called before the data is handed over to the photo_view template
[zrl=[baseurl]/help/hook/poke_verbs]poke_verbs[/zrl]
Called when generating the list of actions for "poke" module