[ http://jira.magnolia.info/browse/MAGNOLIA-1441?page=comments#action_13866 
] 
            
Amir Mistric commented on MAGNOLIA-1441:
----------------------------------------

Yes, I know about "showInPreview"....
But I don't want the custom wrapper divs to show in preview. 
Custom wrapper divs are only there to control the mainBar, when I switch to 
preview the mainBar is gone which is the same I want for the wrapper divs...



> 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
----------------------------------------------------------------

Reply via email to