Hi
Is there a reason why I cannot use <cms:adminOnly> with <cms:mainBar> ?
If I do something like this and click on the preview button, the bar is lost
(little square button with ">>")
<cms:adminOnly>
<cms:mainBar paragraph="np-www-page-properties" label="Page
Properties" adminButtonVisible="true" />
</cms:adminOnly>
Now if you are asking me why whould I want to wrap mainBar into admin
tag...Here is why:
<cms:adminOnly>
<div class="custom">
<cms:mainBar paragraph="np-www-page-properties"
label="Page Properties" adminButtonVisible="true" />
</div>
</cms:adminOnly>
I don't won't the custom div to render in preview mode or in public instance...
--- There is a workaround but a bit silly :)
<cms:adminOnly>
<div class="custom">
</cms:adminOnly>
<cms:mainBar paragraph="np-www-page-properties"
label="Page Properties" adminButtonVisible="true" />
<cms:adminOnly>
</div>
</cms:adminOnly>
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------