[TYPO3-core] RFC: #11397: [Feature] Add class for render HTML header/footer for BE and FE

Michael Stucki michael at typo3.org
Fri Aug 14 12:27:31 CEST 2009


Hi Steffen,

after 5 versions of the patch and still issues to be solved, I would
like you to postpone this enhancement for the time after 4.3.

There is really plenty of other stuff to do, especially when the change
is so crucial like this one...

Hope you understand.

Regards, Michael

Steffen Kamper schrieb:
> Hi,
> 
> after talking to Benni i redesigned it.
> I renamed the new class to t3lib_pageRender
> 
> * Now this is a (abstract) base class.
> * template and tslib_fe extend the base class
> * all methods are available in php and typoscript
> 
> This simplifies drastically the possibilities in typoscript for adding
> CSS anf Javascript. See additional typoscript-textfile for examples
> 
> I dropped some flags from prior patch and used different functions for
> adding data to footer, this looks much simpler.
> 
> The render method now renders
> class->render() => renders complete page
> class->render(1) => renders header part
> class->render(2) => renders footer part
> 
> Render the parts is needed for BE modules, which collect all the content
> parts of the page and prints it. FE use the complete render method now,
> new BE modules could use the same. For compatibility this must stay this
> way.
> 
> All settings work the same as before, so it's 100% compatible.
> Please check it out.
> 
> I also added unit tests for it.
> 
> vg Steffen
> 


-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/


More information about the TYPO3-team-core mailing list