[Typo3-UG NRW] (no subject)

19m0nyq02 at sneakemail.com 19m0nyq02 at sneakemail.com
Wed Jul 14 19:40:56 CEST 2004


Hi Sebastian,
am Mittwoch, 14. Juli 2004 schriebst du zum Thema "[Typo3-UG NRW] (no subject)":


> Hallo zusammen,
> 
> 
> 
> ich habe da ein kleines aber schweres Problem.
> 
> Ich möchte mir gerne in meinem Template den 
> 
> Content anzeigen lassen.
> 
> So nun zeige ich euch mal wie ich das mache und danach den Fehler den
> ich immer bekomme ...
> 
> 
> 
> main = PAGE
> main.typeNum = 0
> main.stylesheet = fileadmin/style.css
> main.bodyTag = <body bgcolor="#ffffff" leftmargin="0" marginheight="0"
> marginwidth="0" topmargin="0"> main.10 = TEMPLATE main.10 { template =
> FILE template.file = fileadmin/index2.html workOnSubpart = DOKUMENT
> marks.INHALT = CONTENT marks.INHALT { table = tt_content
> select.orderBy = sorting select.where = colPos=0 } }

örks. soll vermutlich heissen (nur umformatiert):

> main = PAGE
> main.typeNum = 0
> main.stylesheet = fileadmin/style.css
> main.bodyTag = <body bgcolor="#ffffff" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0"> 
> main.10 = TEMPLATE 
> main.10 { 
>    template = FILE 
>    template.file = fileadmin/index2.html 
>    workOnSubpart = DOKUMENT
>    marks.INHALT = CONTENT 
>    marks.INHALT { 
>         table = tt_content
>         select.orderBy = sorting 
>         select.where = colPos=0 
>         } 
>    }

 
> und als Fehler kommt "immer" :
> 
> NO entry in the $TCA-array for the table "tt_content". This means that
> the function enableFields() is called with an invalid table name as
> argument
> 
> 
> 
> aber,
> 
> es ist Seiteninhalt eingetragen
> 
> und die tabelle existiert auch.
> 
> 
> 
> Würde mich sehr freuen wenn jemand ne antwort hat !!

ich weiss es nicht so genau. 
meine Vermutung:
du hast die default-includes vergessen:

Include static:
cSet (default)
content (default)

und was mit folgendem Versuch (so hab ich den Content eingebunden):
    marks.INHALT < styles.content.get
was kommt damit raus.

vielleicht hilft es dir ja.

viel Spaß
Bernd

 
-- 
-----------------------------------------------------------
Bernd Wilke               http://www.isis.de/~bwilke/beruf/
Annweilerstr.20                                be.wi at gmx.de
40229 Düsseldorf
0211/229 2800





More information about the TYPO3-nrw mailing list