[Plone-UI] How to add a site_action?

vedawms vedawms at unc.edu
Wed Aug 16 14:49:02 UTC 2006


I think I did what you are trying to accomplish. 

I combined the site actions and personal bar into one unit. I created a page
template called: comb_personalbar_siteactions

Inside of it is this code: http://paste.plone.org/10277

Then, in the main template I commented out the site actions (or the personal
bar, it doesn't matter which). I then told it to call
comb_personalbar_siteactions, like so:            

<div
metal:use-macro="here/comb_personalbar_siteactions/macros/personal_bar">
The personal bar. (log in, logout etc...)
</div>

That's it, they're all on one line now. 

If you're needing to add new site_actions via the ZMI, that's another thing
entirely... 

Cheers,

- Veda

-- 
View this message in context: http://www.nabble.com/How-to-add-a-site_action--tf2103787.html#a5833849
Sent from the Plone - ui forum at Nabble.com.





More information about the UI mailing list