[TYPO3-mvc] template files

Stephen Bungert stephenbungert at yahoo.de
Tue Jul 13 13:25:13 CEST 2010


Thanks a lot!

"Bastian Waidelich" <bastian at typo3.org> schrieb im Newsbeitrag 
news:mailman.1.1279018801.29448.typo3-project-typo3v4mvc at lists.typo3.org...
> Stephen Bungert wrote:
>
> Hi Stephen,
>
>> With the old pi extensions most had a TS property called templateFile or
>> similar to allow you to easily change the locations of html templates.
>>
>> How do you do this with extbase/fluid?
>
> You can specify the paths of templates, layouts and partials independently 
> in the view part of your TS setup:
>
> plugin.tx_yourextension {
> settings {
> // user settings
> }
> persistence {
> // persistence options
> }
> view {
> templateRootPath = ...
> partialRootPath = ...
> layoutRootPath = ...
> }
> }
> If you want to make this easily configurable, you should consider to use 
> TypoScript constants here.
> Also have a look at the blog_example Extension 
> (https://svn.typo3.org/TYPO3v4/CoreProjects/MVC/blog_example/trunk/).
>
> Best,
> Bastian
> 




More information about the TYPO3-project-typo3v4mvc mailing list