[MAGNOLIA-528] Enhance subtemplating to selected templates based on extension and/or selectors Created: 23/Aug/05  Updated: 23/Jan/13  Resolved: 19/Sep/06

Status: Closed
Project: Magnolia
Component/s: templating
Affects Version/s: 2.1 Final
Fix Version/s: 3.0 RC3

Type: New Feature Priority: Minor
Reporter: Stefan Seifert Assignee: Sameer Charles
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File 050823_subtemplates_selectors.patch    
Issue Links:
relation
is related to MAGNOLIA-887 Introduction of selectors in url Closed
Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

Feature request:
Existing subtemplating mechanism is a good feature, but it is limited because only works when using different extensions
But there are numerous cases, when for the same extension (that is the same channel) differenzt tempaltes should be used, i.e.:

  • Make a HTML defaul view and a HTML print preview
  • Implement paging of content contained in one page
  • Render images contained in the page in differenz views

The attached patch implements this feature:

  • Implements enhanced parsing of request uri
  • Adds a new optional Subtemplate parameter "selector" supporting regular expressions
  • Takes caching into account
  • And adds a new documentation page for the whole subtemplating mechanism (partly based on the existing wiki page).

The news subtemplating selector feature is complete optional and backwards compatible to existing magnolia applications (as far as we testet...)

I hope this new feature finds positive feedback and its way in one of the next magnolia releases.



 Comments   
Comment by Stefan Seifert [ 23/Aug/05 ]

svn patch implementing this feature

Comment by Sameer Charles [ 19/Sep/06 ]

http://jira.magnolia.info/browse/MAGNOLIA-887

Comment by Magnolia International [ 10/Oct/07 ]

was fixed with MAGNOLIA-887

Generated at Mon Feb 12 03:18:19 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.