[Flow] Overwrite Kickstart Templates
Pankaj Lele
pankaj at lelesys.com
Wed Sep 4 11:39:48 CEST 2013
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
--
Pankaj Lele
CTO - Lelesys, India
http://www.lelesys.com
Twitter: @pankajlele
More information about the Flow
mailing list