|
In STK we have the situation, that we edit page content within two dialogs:One bound to the mainBar/pageBar, one added in the script manually (mainAreaIntro.ftl - the dialog above the page title).
So I wonder, if when using the cms.edit for page as the top mainBar, if it can be used parallel to edit page content within the script as a standard edit bar (not main bar at the top).
Fort hat it would need:
If used as the topMainBar:
cms:edit in page script detects automatically the current content node for editing and fetches the dialog from the template definition.
If used 'in the middle' of a page script (or even a sub-script like a area script) you can use it by:
passing the content node (page node) and the dialog to use it with. Then it renders as normal edit bar (as on components).
|