Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.3.13

Request #15946 Proposal: multiple purpose templates by extending flexy:start attribute
Submitted: 2009-02-26 01:19 UTC
From: panamajo Assigned:
Status: Analyzed Package: HTML_Template_Flexy
PHP Version: Irrelevant OS: irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2009-02-26 01:19 UTC] panamajo (Jo Schulze)
Description: ------------ The flexy:start="here" syntax should be expanded in a way that "here" could be replaced by any unique identifier. By doing so, a single HTML template file could work for several HTML_Template_Flexy objects, which would ease changes of the template (multiple changes in one file instead of several ones). Which flexy:start= attribute is relevant for the which Flexy object can be resolved by an additional option param (eg. 'start' => 'nothere'). Of course, nesting flexy:start won't be allowed. For the cache files, the identifier should be appended to the filename in order to keep the files unique. Test script: --------------- Just an example: ...
...

{header}

{msg}

by {author}
... </html> Would be the structure of such a multi template, working for both localeselect and content. Expected result: ---------------- Actual result: --------------

Comments

 [2009-03-02 12:51 UTC] alan_k (Alan Knowles)
-Status: Open +Status: Analyzed
Needs Patch