From 7894fed7413ab3bd782bf939b17ca70bf0196d28 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Mon, 10 Dec 2018 10:37:29 +0100 Subject: add photo_view_filter hook and fix minor issue with unset auto_save_draft variable which resultet in a javascript error --- doc/hook/photo_view_filter.bb | 1 + doc/hooklist.bb | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 doc/hook/photo_view_filter.bb (limited to 'doc') diff --git a/doc/hook/photo_view_filter.bb b/doc/hook/photo_view_filter.bb new file mode 100644 index 000000000..0780c1edc --- /dev/null +++ b/doc/hook/photo_view_filter.bb @@ -0,0 +1 @@ +[h2]photo_view_filter[/h2] diff --git a/doc/hooklist.bb b/doc/hooklist.bb index d104df380..5d12a139e 100644 --- a/doc/hooklist.bb +++ b/doc/hooklist.bb @@ -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 -- cgit v1.2.3