[TYPO3-dev] Insert plug-in by scripts and Templavoilà

Philippe Gagnon typo3fsaa at gmail.com
Tue Aug 15 15:13:10 CEST 2006


2006/8/15, Dmitry Dulepov <typo3 at accio.lv>:
> Hello!
>
> You should ask questions about TV in TV list :)

Hmmm, I'm always struggling to post the question in the good list :P
Thanks for the heads up on the TV list.

>
> Philippe Gagnon wrote:
> > I'm trying to make a script that configures tt_news for a given root
> > site id. (create required pages, insert and set up tt_news, etc).
> >
> > I'm using functions from the TCEmain to create pages and instance of
> > my plug-ins. However every plug-in I create in a given page ends up in
> > the "non-used elements" in TV. I looked in the database how TV knows
> > what element is used and what isnt, and also in which defined content
> > "zone" it's in, but could not find anything.
> >
> > Can anybody gives me a hint or somehting it would be appreciated!
>
> There was a short article (extract from T3N typo3 magazine) by Robert
> Lemke explaining how to use TV API to insert content elements when using TV.
>
> The reason for your problem is that TV simply does not know where to put
> your content elements. You must use TV API and provide a pointer to the
> right place. TV API will do the rest including TCEMAIN calls.
>

Thanks for the info. I found the article at :
http://typo3.org/fileadmin/t3n/articles/t3n_templavoila-api_english.pdf
if anybodyelse needs it.

Thanks for helping Dmitry,


Philippe



> --
> Dmitry Dulepov
> ACCIO Ltd, Latvia
> http://accio.lv/en/
>
> "It is our choices, that show what we truly are,
> far more than our abilities." (A.P.W.B.D.)
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
>




More information about the TYPO3-dev mailing list