[Flow] Is there a Views.yaml?

Axel Wüstemann awu at qbus.de
Tue Nov 12 10:01:23 CET 2013


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