[ 
http://jira.magnolia.info/browse/DOCU-58?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gregory Joseph resolved DOCU-58.
--------------------------------

    Resolution: Fixed

Thanks a lot Miles !
I tried making some of this a little clearer:
* The {{dialog}} attribute will indeed only be available in 3.6.2 
({{paragraph}} will still exist but {{dialog}} is preferred)
* The name of the dialog is in fact totally up to you. Further down the page, 
we quickly explain how to create one. (well, there we just show how to copy an 
existing sample)
* The confusion in version numbers is mostly due to the fact the up until now 
the tld files were maintained manually. Hopefully, starting with 3.6.2, this 
won't be the case anymore. See MAGNOLIA-1211.

Feel free to reopen if you feel this could be clarified further (well, it 
definitely could, we're hoping for reviewing the whole templating section 
soonish), or report more issues for other pages. Thanks again !

> mainBar instructions incorrect on website
> -----------------------------------------
>
>                 Key: DOCU-58
>                 URL: http://jira.magnolia.info/browse/DOCU-58
>             Project: Documentation
>          Issue Type: Bug
>          Components: content
>         Environment: irrelevant
>            Reporter: miles zarathustra
>            Assignee: Gregory Joseph
>
> The information on 
> http://documentation.magnolia.info/userguide/templating/example/addmainbar.html
>  
> is a bit confused.  It breaks horribly if you type it in as-is.  It appears 
> there was a half-hearted and possibly misguided attempt to upgrade the 
> instructions from 3.5 to new features that were supposed to be in 3.6, plus 
> something is possibly missing from the bundled templates.
> magnolia 3.6
> Below is the original code on the site.  to get this to work, I had to change:
> dialog to paragraph
> mainbarParagraph to dmsParagraph
> And, there is an unmatched </strong> tag.
> Also, on the page 
> http://dev.magnolia.info/ref/latest-stable/magnolia-taglib-cms/tagreference.html
> it says 3.6.1 at the upper left, but "this is version 3.5" in the content 
> area.
> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> <%@ taglib uri="cms-taglib" prefix="cms" %>
> <html>
>   <head>
>     <title><cms:out nodeDataName="title" /></title></head>
>   <body>
>     <cms:mainBar
>       dialog="mainbarParagraph"
>       label="Page Properties"
>       adminButtonVisible="true"/></strong>
>     <h1><cms:out nodeDataName="title" /></h1>
>     <p>Hello Magnolia World!</p>
>   </body>
> </html>

-- 
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://documentation.magnolia.info/
----------------------------------------------------------------

Reply via email to