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

Singleton Template Definition (feature pages): Contain relative include of mainArea.ftl which doesn't work if using a custom main.ftl

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.3.6, 1.4
    • 1.3.4
    • templates
    • None

      Relative includes of sub templates/sub snippets don't work, if you use a main.ftl located in a different location/module.
      The relative include is the executed on the new location (relative to the new main.ftl).
      We had the same problem with all Section templates and removed the relative pathes from the Section templates.
      The the singleton paragraph templates still contain these relative includes, see print screen.

      Best would be to check all template definitions (and all ftl's for include of macros) if there are still any relative includes left.

      All includes, no matter where, should be absolute paths.

        Acceptance criteria

              ochytil Ondrej Chytil
              cringele Christian Ringele
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: