I've added a couple of buttons to the mainbar for our module, that just execute
javascript to bring up modal areas.
I used to have a taglib class that I slotted into my mainbar taglib like so:
[code]<cms:mainBar dialog="khan-page-properties">
<gato:JSButton label="Show Modal 1" onclick="modal1.toggle()"
position="right" />
<gato:JSButton label="Show Modal 2" onclick="modal2.toggle()"
position="right" />
</cms:mainBar>[/code]
Now in 4.5 I've no mainbar taglib to insert into. Should I:
Create buttons and position them over the bar?
Subclass the mainbar and add the buttons globally?
Some other way I'm not aware of?
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=3ec54723-da83-4370-9ad9-09bc824bbda7
----------------------------------------------------------------
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]>
----------------------------------------------------------------