Jan Haderka ha scritto:

The MainBar already allows you to add custom buttons so this is the
functionality you would want to explore.
* Create a new page under the parent of the current page and open that page in edit mode (might need a dialog to specify the name for the new content node or something?)

Again same as above - just add button to the main bar and have that
button to open a dialog where you specify name for the page to be
created and upon saving the dialog you create page and redirect to it.

We have created one single button which open a modal window (JS based) and in this modal window we do a lot of things:

- create new article
- delete the article
- activate / deactivate the article
- republish all referenced content (from an external content we use)

...

All the actions are Ajax based.
In this way we touch the Magnolia bar as less as possible and we are more free to add custom functionalities, in a more fancy way for editors (progress bar, activation status, link to just created articles, warnings, ...)

If you need this little feature, feel free to ask, I will send you a zip file with some codes inside.

HTH, Matteo


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to