[Flow] Is there a Views.yaml?
Marc Neuhaus
apocalip at gmail.com
Wed Nov 13 01:01:24 CET 2013
I just added a new Debugger with some helpful information to the
Debug/Toolbar :)
http://dl.dropbox.com/u/314491/Screenshots/hnrszok85jx7.png
https://github.com/mneuhaus/Debug.Toolbar
Cheers
Marc
2013/11/12 Axel Wüstemann <awu at qbus.de>
> Marc, thank you!
>
> When 2.1 will be released? What should I do? Can I merge a patch. If so,
> I'm sorry...;=) how do I that?
>
> Or is ther another workaround until 2.1?
>
> Regards
> Axel
>
> Am 12.11.2013 09:54, schrieb Marc Neuhaus:
>
> Hey :)
>>
>> Views.yaml was merged on August 8th, which means it's sadly not in 2.0
>> which was released July 7th.
>>
>> It is in the current master and the documentation can be found here:
>> http://docs.typo3.org/flow/TYPO3FlowDocumentation/latest/
>> TheDefinitiveGuide/PartIII/ModelViewController.html#
>> configuring-views-through-views-yaml
>>
>> Here are 2 Examples for your exact usecase:
>>
>> # Change the Paginate Template only inside your "My.Package" package
>> -
>> requestFilter: 'parentRequest.isPackage("My.Package") &&
>> isSubPackage("ViewHelpers\Widget") && isController("Paginate")'
>> options:
>> templatePathAndFilename:
>> 'resource://My.Package/Private/Templates/ViewHelpers/
>> Widget/Paginate/Index.html'
>>
>>
>> # Change the Paginate Template everywhere
>> -
>> requestFilter: 'isSubPackage("ViewHelpers\Widget") &&
>> isController("Paginate")'
>> options:
>> templatePathAndFilename:
>> 'resource://My.Package/Private/Templates/ViewHelpers/
>> Widget/Paginate/Index.html'
>>
>> Cheers
>> Marc
>>
>>
More information about the Flow
mailing list