[Flow] Overwrite Kickstart Templates
Christian Loock
chl at vkf-renzel.de
Wed Sep 4 11:42:34 CEST 2013
That's too bad.
With the addition of that little feature, the kickstarter would be a
much more powerfull tool, since now I have to alter the views every time
after generating. This should be considered for a future release imho.
Thanks anyways!
Am 04.09.2013 11:39, schrieb Pankaj Lele:
> Hi Christian,
>
>> I wonder if it is possible to overwrite templates that are used in
>> the kickstarter Package to generate Views, without actually editing
>> the original ones? Like adding them to my Package and tell the
>> kickstarter to use them?
>
> Unfortunately not. Template paths are hard coded in the kicstarter
> commands. However if you really need this then you can try look into
> TYPO3\Flow\Resource\Streams\ResourceStreamWrapper which loads the
> templates. So maybe with a AOP class you can intercept file open calls
> there and modify the file path. (little hacking)
>
> -Pankaj
>
More information about the Flow
mailing list