Actions
Bug #23744
closedA new TypoScript cObject: FLUIDTEMPLATE
Start date:
2010-10-15
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
This is a result of some enthusiastic guys (Steffen Ritter and me) from the code sprint. Something we wanted for a long time, and this is our first version: a new Typoscript Object Type called "FLUIDTEMPLATE". Guess what it does: Yes, it can be used as a replacement for TEMPLATE, with (almost) all the glitter that Fluid has to offer.
The fluid template syntax will look like this:
page = PAGE
page.10 = FLUIDTEMPLATE
page.10 {
- the FLUID template, has stdWrap functionality
file = fileadmin/mytemplates/mytemplate.html
- setting a specific partials path, usually it's layouts/ underneath the template file
partialRootPath = fileadmin/partials/
- setting a specific layout path, usually it's layouts/ underneath the template file
layoutRootPath = fileadmin/layouts/
- setting variables that should be available in
- the fluid template
variables {
mytitle = TEXT
mytitle.data = page:title
}
}
(issue imported from #M16008)
Files
Actions