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