Uploaded image for project: 'Magnolia Standard Templating Kit (closed)'
  1. Magnolia Standard Templating Kit (closed)
  2. MGNLSTK-223

Removing Hack: Formatting footer link list

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Do
    • Major
    • None
    • None
    • None

    Description

      A footer link used in a footer link list is theoretically the same like the standert used "internalLink.ftl" paragraph.
      But the formatting trick used in all link paragraphs do not work in the footerLink paragraph.

      The ways the formatting is achieved with the standard links:
      if mgnl.editMode
      <div style="float:right;height:20px">[@cms.editBar /]</div>
      /#if

      if model.link?exists
      something...
      /#if

      if mgnl.editMode
      <div style="clear:both;"> </div>
      /#if

      How it is done as a hack in the footerLink:
      if mgnl.editMode
      <table>
      <tr>
      <td width="350">
      /#if

      if model.link?exists
      something
      /#if

      if mgnl.editMode
      </td>
      <td>
      [@cms.editBar /]
      </td>
      </tr>
      </table>
      /#if

      The hack should be removed -> a better way to format both in the same way.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                pbaerfuss Philipp Bärfuss
                cringele Christian Ringele
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: