The save button script was veryinefficient script running on the window scroll-event; this is now put inside a timeout function.
This allows higher-priority modules to override or disable blocks that lower-priority modules have defined, instead of the other way around.
Also added docs for the new admin_rsc model.
Add children to the list of managed children when starting them returns an already_started error.
When wiring _action_dialog_connect.tpl, the tabs that should be visible can be set with param tabs_enabled, for instance: tabs_enabled=["new", "find"]. By default all tabs are enabled (dependent on the context) - this means no change for existing code. The first tab in the list is highlighted. The code does not solve the situation when the first enabled tab is not available in this context. More work will be needed to enable embed panels, but also here this is no different than the current code. A possible future enhancement is to iterate over tabs_enabled to modularize the code further.
Bug was introduced in #589
See also #587
…lates Also only flush the cache of a particular site when a new template within a site has been found.
Move blocks in the admin edit page to 2 separate template files, so that the templates can be overridden by category type. Documentation included. Squashed commit of the following: commit 4a68aaa89ba4c0a02e2feef866cdfd9a4c099af2 Author: Arjan Scherpenisse <email@example.com> Date: Sun Jul 7 11:21:07 2013 +0200 Tweaks for admin edit page customsations commit c033a967e1d00c231965e60d230bb1f8460b198a Author: Arthur Clemens <firstname.lastname@example.org> Date: Sat Jul 6 17:11:05 2013 +0200 Enhance documentation Add a note about meta to show elements on category pages but not on instances of that category. commit 4af0ab38f42576287a052ffb767a8d83197e72bd Author: Arthur Clemens <email@example.com> Date: Sat Jul 6 16:42:53 2013 +0200 Add reference to r Needs reference to m.rsc[id] commit 2bffa9d2b683edf111f684a5a26ac32184334a49 Author: Arthur Clemens <firstname.lastname@example.org> Date: Sat Jul 6 14:41:22 2013 +0200 Easier admin customization Move blocks in the admin edit page to 2 separate template files, so that the templates can be overridden by category type. Documentation included.
…rce code" section.
Typo. See also: modules/mod_admin/translations/de.po:1008: msgid "Visit full editpage" modules/mod_admin/translations/es.po:1018: msgid "Visit full editpage" modules/mod_admin/translations/et.po:1101: "Visit full editpage" modules/mod_admin/translations/nl.po:995: msgid "Visit full editpage" modules/mod_admin/translations/pl.po:995: msgid "Visit full editpage" modules/mod_admin/translations/ru.po:1018: msgid "Visit full editpage" modules/mod_admin/translations/tr.po:940: msgid "Visit full editpage" modules/mod_admin/translations/zh.po:1016: msgid "Visit full editpage"
…undefined' (instead of false)
…wered by zotonic logo.
… over ssl. Use in combination with 'is_secure'.
…hen not specified otherwise.
…over e-mail When creating users in the admin, you often want to give them their user/password immediately afterwards. This "send welcome" checkbox automates that process by sending the new user an email with the login credentials.
…t was not part of a rsc update call. When visible_for is not given in the update props, we now leave the value alone, instead of replacing it with the min_visible_for setting, which essentially overrode any set value in the database.