[TYPO3] Extensions uses multiple times in the same page

Sylvain Gourvil sylvain.gourvil at mediasmart.fr
Thu Mar 29 18:45:06 CEST 2007


Hi all,

I am trying to insert many times tt_news in the same template this way :


# MODE D'AFFICHAGE
plugin.tt_news.code >
plugin.tt_news.code = LIST
# SELECTION DE LA CATEGORIE
plugin.tt_news {
        categorySelection = 28
        #show only selected categories
        categoryMode = 1
}
#TEMPLATE
plugin.tt_news.templateFile = 
fileadmin/rdj/templates/bloc/actualites/KiSomNous.html
# SELECTION DU CONTENU A AFFICHER
plugin.tt_news.pid_list >
plugin.tt_news.pid_list = 18
plugin.tt_news.recursive >
plugin.tt_news.recursive = 10
temp.actu < plugin.tt_news

##############################

# MODE D'AFFICHAGE
plugin.tt_news.code >
plugin.tt_news.code = LIST
# SELECTION DE LA CATEGORIE
plugin.tt_news {
        categorySelection = 28
        #show only selected categories
        categoryMode = 1
}
#TEMPLATE
plugin.tt_news.templateFile = 
fileadmin/rdj/templates/bloc/actualites/KiSomNous.html
# SELECTION DU CONTENU A AFFICHER
plugin.tt_news.pid_list >
plugin.tt_news.pid_list = 19
plugin.tt_news.recursive >
plugin.tt_news.recursive = 10
temp.KiSom < plugin.tt_news


temp.central = COA
temp.central {
    10 = COA
    20 = COA
    30 = COA
    20 < temp.actu
    10 < temp.KiSom
    30 < temp.actu
}



It is working only for the first one. How could I reinitialize the 
plugin in order to do the stuff above ?

Thanks and have a good night !



More information about the TYPO3-english mailing list