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

Include paths in paragraph should be provides by pragraph 'def.'

    XMLWordPrintable

Details

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

    Description

      Paragraph templates contain includes to other freemarker templates.
      Fore example every template using the image macro template includes it hard coded.

      This has the result, that if the image macro needs to be adapted, all other paragraphs using it must be adapted too.
      Like this it's not possible, to use the standard stkTextImage, but only adapting the macro image.

      A more dynamic solution would be to define the include path of the macro on paragraph 'def' level.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: