[quote]I'd like to create a template to use the fckEditor to input data onto a page. When I tried putting an [@cms.editBar /] into a template it gave me a parse error saying cms.editBar was not found. I was hoping I could find an example[/quote]
In Magnolia 4.5, an editable component gets an edit bar automatically. All you need to do is render an area. The area will iterate through its components, rendering them one-by-one. There is a simple example in the Introduction to templating tutorial. Change the 'edit' control to 'fckEdit' in the component's dialog definition. http://documentation.magnolia-cms.com/templates/introduction.html The CMS tag library where cms.editBar comes from was dropped in Magnolia 4.5. The functions of the old library are replaced by the new cmsfn and stkfn templating functions. But as stated above, you likely won't need the editBar tag since it gets injected automatically. It is still available in a compatibility package which is in the "add-ons" folder in your Magnolia installation directory. http://documentation.magnolia-cms.com/reference/tag-libraries.html --Antti -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=eb88d185-64c4-4fbf-99dc-65996d9f21be ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
