Feature #3382
Make Fluid the default templating engine in FLOW3
Status: | Resolved | Start date: | 2009-05-19 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Karsten Dambekalns | % Done: | 100% |
|
Category: | MVC | |||
Target version: | TYPO3 Flow Base Distribution - 1.0 alpha 1 | |||
PHP Version: | Complexity: | |||
Has patch: |
Description
Fluid should be the default templating engine in FLOW3. Therefore we need to
- use the Fluid template view as the standard view in the controllers:
/** * Use Fluid as the default template engine * @var string */ protected $defaultViewObjectName = 'F3\Fluid\View\TemplateView'; /**
- add Fluid to the dependencies of the FLOW3 package
Related issues
Associated revisions
History
#1 Updated by Karsten Dambekalns about 6 years ago
- Status changed from New to Accepted
- Assigned To set to Karsten Dambekalns
#2 Updated by Karsten Dambekalns about 6 years ago
Fluid is already in the svn:externals of the FLOW3 distribution. It will be added to the dependencies in the Package.xml file as well. Default view handling will be like this:
- Check if Fluid would have a template, and use it if available
- Check for a custom view object and use it if found
- Check for a default view object and use it if found
- Use the EmptyView
For this Fluid\TemplateView needs a new method to check for a possible template, see #3385
#3 Updated by Karsten Dambekalns about 6 years ago
- Status changed from Accepted to Resolved
- % Done changed from 0 to 100
Applied in changeset r2259.