Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCU-19

quick start tutorial bugs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • None
    • None
    • None

    Description

      As mailed to me by Philipp Jurewicz

      ------ 8< -------

      I worked trough templatersquickstart.pdf as a primer and found the following mistakes
      you are also using non standard html tags like <nobr> and other things which prevent the output pages to be valid html pages (at least in the admin mode).

        • issue 1 **
          quote begin===========================
          4.3 Adapt the page template
          [...]
          <body bgcolor=<cms:out actpage="true"
          nodeDataName="bgcolor"/>>
          quote end=============================
          this will transformed to <body bgcolor=something> which is not valid html and in times of xml one should try to add quotes to html attributes
          <body bgcolor="something">
          I'm not sure how much though this is valid jsp (haven't done this for a while)
        • issue 2 **
          quote begin===========================
          5 Adding paragraphs
          [...]
          [...]
          [...]
          <cms:contentNodeIterator
          contentNodeCollectionName="contentParagraph">
          <cms:adminOnly>
          <tr>
          <td>
          <cms:editBar/>
          </td>
          </tr>
          </cms:adminOnly>
          <cms:includeTemplate/>
          </cms:contentNodeIterator>
          quote end=============================

      this leads to unvalid HTML code! you shouldn't render between <tr> tags. I can't reproduce your screenshot

      <tr>
      <td>
      <cms:adminOnly>
      <cms:editBar/>
      </cms:adminOnly>
      <cms:includeTemplate/>
      </td>
      </tr>

      makes more sence

        • issue 3 **
          quote begin===========================
          6. Dissecting paragraph templates
          [...]
          So let us have a look at the dialog definition at
          "Config/modules/templating/dialogs/samples/basicTemplate/textImage/".
          quote end=============================

      basicTemplate
      does not exist in 2.0 distribution

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              gjoseph Magnolia International
              kraft Boris Kraft
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR