[ http://jira.magnolia.info/browse/MAGNOLIA-1441?page=all ]
Fabrizio Giustina closed MAGNOLIA-1441.
---------------------------------------
Fix Version/s: 3.0.1
Resolution: Not an issue
you can use the "showInPreview" attribute of the adminOnly tag if you want to
show content also during preview.
> Using <cms:adminOnly> with <cms:mainBar> breaks the Preview mode
> ----------------------------------------------------------------
>
> Key: MAGNOLIA-1441
> URL: http://jira.magnolia.info/browse/MAGNOLIA-1441
> Project: Magnolia
> Issue Type: Bug
> Components: taglibs
> Affects Versions: 3.0.1
> Environment: Magnolia CE & EE 3.0.1
> JBoss 4.0.5
> Reporter: Amir Mistric
> Assigned To: Fabrizio Giustina
> Fix For: 3.0.1
>
>
> One 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="page-properties" label="Page Properties"
> adminButtonVisible="true" />
> </cms:adminOnly>
> This is sometimes necessary to wrap mainBar into div tag without that div tag
> rendering in preview or public instance...Here is example:
> <cms:adminOnly>
> <div class="custom">
> <cms:mainBar paragraph="np-www-page-properties"
> label="Page Properties" adminButtonVisible="true" />
> </div>
> </cms:adminOnly>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------