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

Dmitry Dulepov typo3 at accio.lv
Tue Aug 15 09:32:36 CEST 2006


Hello!

You should ask questions about TV in 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.

-- 
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.)




More information about the TYPO3-dev mailing list