[Flow] Overwrite Kickstart Templates
Søren Malling
soren.malling at gmail.com
Wed Sep 4 13:47:19 CEST 2013
Hi,
No, because those aren't using an ActionController to generate the Views.
> Views.yaml works only for Views rendered by an ActionController.
>
>
Oh damn.. I expected the context to have no impact here, so if I was using
a commandcontroller for ex. sending out e-mail i could overwrite templates
that way.. I will post a ticket on forge about this.
/Søren
>
> 2013/9/4 Søren Malling <soren.malling at gmail.com>
>
> > Shouldn't it be possible with the introduction of Views.yaml to configure
> > the paths?
> >
> >
> > On Wed, Sep 4, 2013 at 11:42 AM, Christian Loock <chl at vkf-renzel.de>
> > wrote:
> >
> > > 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
> > >>
> > >>
> > > ______________________________**_________________
> > > Flow mailing list
> > > Flow at lists.typo3.org
> > > http://lists.typo3.org/cgi-**bin/mailman/listinfo/flow<
> > http://lists.typo3.org/cgi-bin/mailman/listinfo/flow>
> > >
> > _______________________________________________
> > Flow mailing list
> > Flow at lists.typo3.org
> > http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
> >
> _______________________________________________
> Flow mailing list
> Flow at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
>
More information about the Flow
mailing list