Details
-
Improvement
-
Resolution: Fixed
-
Major
-
3.0 Beta 1
-
None
Description
It would be nice to allow selectors in URLs. Selectors are the parts between the path (handle) and the extension.
The idea is to pass additional parameters to the template within the URL (not using page.html?X=1 ...) so that the result can be cached.
The template can decide what to do with these parameters.
Examples:
http://localhost/site/form.thanks.html to give feedback to a form
http://localhost/site/page.en.html to render a page with English texts
http://localhost/site/page.de.html to render a page with German texts
http://localhost/site/page.w-170.h-80.jpg to create a graphic with width 170 px and height 80px
The selectors could be provided via API function
Iterator Resource.getSelectors()
Checklists
Attachments
Issue Links
- is related to
-
MAGNOLIA-528 Enhance subtemplating to selected templates based on extension and/or selectors
-
- Closed
-