-
Improvement
-
Resolution: Won't Do
-
Major
-
1.2
-
-
Empty show more show less
We had some issues using templates from the STK, because they contain relative paths. A quick grep for "../" shows that the following files contain relative paths:
./modules/standard-templating-kit/magnolia-module-standard-templating-kit/src/main/resources/templating-kit/paragraphs/teasers/carouselItem.ftl
./modules/standard-templating-kit/magnolia-module-standard-templating-kit/src/main/resources/templating-kit/paragraphs/teasers/internalPage.ftl
./modules/standard-templating-kit/magnolia-module-standard-templating-kit/src/main/resources/templating-kit/paragraphs/teasers/pureLinkList.ftl
./modules/standard-templating-kit/magnolia-module-standard-templating-kit/src/main/resources/templating-kit/paragraphs/features/eventsOverview.ftl
./modules/standard-templating-kit/magnolia-module-standard-templating-kit/src/main/resources/templating-kit/paragraphs/features/newsOverview.ftl
./modules/standard-templating-kit/magnolia-module-standard-templating-kit/src/main/resources/templating-kit/paragraphs/features/searchResult.ftl
./modules/standard-templating-kit/magnolia-module-standard-templating-kit/src/main/resources/templating-kit/paragraphs/features/calendar.ftl
./modules/standard-templating-kit/magnolia-module-standard-templating-kit/src/main/resources/templating-kit/templates/global/mainAreaIntro.ftl
./modules/standard-templating-kit/magnolia-module-standard-templating-kit/src/main/resources/templating-kit/templates/content/mainArea.ftl
It would be easier to reuse these templates if they did not contain relative paths but absolute ones.
- is related to
-
MGNLSTK-750 All relative includes of ftl's should be removed
- Closed