From 830a5ffce2011111e17e9ea2a7c9475f334c0405 Mon Sep 17 00:00:00 2001 From: Fraenkiman Date: Mon, 15 Jan 2024 22:05:02 +0100 Subject: [PATCH] Addition to #286 - Meh, integrating several plugins with one action hook does not work properly. Therefore, a separate action hook has been added for each plugin. - The sensitive DateChanger plugin gets a place above the subject input field - To do: The plugins in the extra repo still need to be adjusted --- admin/panels/entry/admin.entry.write.tpl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/admin/panels/entry/admin.entry.write.tpl b/admin/panels/entry/admin.entry.write.tpl index 7153aac..5b50e8f 100755 --- a/admin/panels/entry/admin.entry.write.tpl +++ b/admin/panels/entry/admin.entry.write.tpl @@ -17,7 +17,8 @@ {assign var=post value=""} {/if} {entry content=$post alwaysshow=true} - + {* here will go a plugin hook *} + {action hook=simple_datechanger_form}


{if isset($error) && isset($error.subject) && !empty($error.subject)} @@ -46,8 +47,9 @@ rows="20" cols="74">{$content|default:{$smarty.request.content|default:''}|htmlspecialchars}

{* here will go a plugin hook *} - {action hook=simple_edit_form} {action hook=simple_metatag_info} + {action hook=simple_tag_form} + {action hook=simple_edit_form}