[ http://jira.magnolia.info/browse/MAGNOLIA-1441?page=comments#action_13868 ] Grégory Joseph commented on MAGNOLIA-1441: ------------------------------------------
feel free to reopen and provide a patch if you want this to be fixed quickly ;) > 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 ----------------------------------------------------------------
