[TYPO3-templavoila] tv content slide

Witt Elias e.witt at hgz-bb.de
Thu Nov 9 10:18:51 CET 2006


hmm didnt work for me....

10.source.postUserFunc = tx_kbtvcontslide_pi1->main <- is it always "main" or is that variable? What should it be? The name of the Template?
 
My normal script looks like this one:

	10= RECORDS
	10.source.current=1
	10.tables = tt_content
	10.wrap = &lt;!--TYPO3SEARCH_begin--&gt; | &lt;!--TYPO3SEARCH_end--&gt;

shall i write it like that:

<TypoScript>
<![CDATA[
    10= RECORDS
    10.source.postUserFunc = tx_kbtvcontslide_pi1->Main Template <-- (thats the name of my template)
    10.source.postUserFunc.field = field_shortnews
    10.tables = tt_content
    10.wrap = <!--TYPO3SEARCH_begin--> | <!--TYPO3SEARCH_end--> ]]> </TypoScript>

or like this:

<TypoScript>
<![CDATA[
    10= RECORDS
    10.source.postUserFunc = tx_kbtvcontslide_pi1->Main Template
    10.source.postUserFunc.field = field_podmenu
    10.tables = tt_content
    10.wrap = &lt;!--TYPO3SEARCH_begin--&gt; | &lt;!--TYPO3SEARCH_end--&gt;



-----Ursprüngliche Nachricht-----
Von: typo3-project-templavoila-bounces at lists.netfielders.de [mailto:typo3-project-templavoila-bounces at lists.netfielders.de] Im Auftrag von Arnd Messer
Gesendet: Mittwoch, 8. November 2006 08:56
An: typo3-project-templavoila at lists.netfielders.de
Betreff: Re: [TYPO3-templavoila] tv content slide


Hi!

You should do the following to make it work

<TypoScript>
<![CDATA[
    10= RECORDS
    10.source.postUserFunc = tx_kbtvcontslide_pi1->main
    10.source.postUserFunc.field = field_podmenu
    10.tables = tt_content
    10.wrap = <!--TYPO3SEARCH_begin--> | <!--TYPO3SEARCH_end--> ]]> </TypoScript>


Best!
Arnd
-- 
   Freiraum Medien
   http://freiraum-medien.de
_______________________________________________
TYPO3-project-templavoila mailing list
TYPO3-project-templavoila at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-templavoila



More information about the TYPO3-project-templavoila mailing list