[TYPO3] Templavoilà : How does it knows which content goes in what defined columns?

Philippe Gagnon typo3fsaa at gmail.com
Wed Aug 9 16:16:39 CEST 2006


2006/8/9, Dmitry Dulepov <typo3 at accio.lv>:
> Hi!
>
> Philippe Gagnon wrote:
> > I'm trying to do a little php script to mass insert a plug-in in some
> > pages.
> >
> > I know I have to fill the tt_content table, but I'm a bit lost as what
> > do I have to update somewhere so that my content appears in the
> > correct TV zone.
>
> You must not not insert it directly to tables because typo3 must perform
> many taskto ensure that everything is linked correctly. You must use
> TCEMAIN to insert data. See "Inside typo3" and "typo3 core apis"
> document. It is easy to use TCEMAIN, just read how :)
>
> > There seem to be a connection to which element is used in the table
> > tx_templavoila_elementreferences, but I can't find what I want there.
>
> If you use TCEMAIN, TV references will be added to pages automatically
> by TYPO3.
>
> However if your site is TV-based, you need not to mass-insert plugin.
> Just make it a separate element of type "TypoScript object path" on the
> page. It will appear on all pages where it is mapped.
>
> --
> 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-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>

Thank you for your answer Dimitry. However , as for the typoscript
object path way, the plug-in I want to insert is tt_news and all of
them would have unique configuration (where to fetch data) depending
under which page root they are (basicall which web site)...and all the
sites uses the same template. I guess that means I'd have to look
under the TCEMAIN :)

Thanks a bunch!

Phil



More information about the TYPO3-english mailing list