[TYPO3-german] NO entry in the $TCA-array for the table "". This means that the function enableFields() is called with an invalid table name as argument.
Fabian König
Fabian.Koenig at gmx.net
Mon Dec 18 12:01:30 CET 2006
Hi.
Ich verwende an_searchit, um verschiedene Tabellen zu durchuchen.
Theoretisch funktioniert auch alles.
Nur wenn ich die Ausgabe wrappen will,
bekomme ich folgende Fehlermeldung:
NO entry in the $TCA-array for the table "". This means that the
function enableFields() is called with an invalid table name as argument.
Hier mein TS:
===TS:Setup===
##############################
# Suche
temp.searchitConfig {
resultsPerPage = 100000
sections {
NO.wrap = |<br/>
ACT = 1
ACT.doNotLink = 1
ACT.wrap = |<br/>
name.wrap = |
count.wrap = (|)
1 {
title = Artikel
table = tt_news
fields =
title|short|bodytext|tx_fkttnewsjobs_job_place|tx_fkttnewsjobs_job_tasks|tx_fkttnewsjobs_job_profile|tx_fkttnewsjobs_job_perspectives
PID = 263->262|234->232|208->214
params = tx_ttnews[tt_news]=#uid#&tx_ttnews[backPid]=77
excludePidList = 263
}
2 {
title = Dokumente
table = tx_dam
fields = title|file_mime_type|file_type|file_name|file_dl_name
PID = 84->277
params = media=#uid#
excludePathList = fileadmin/templates
}
3 {
title = Mitarbeiter
table = tx_bzdstaffdirectory_persons
fields =
last_name|first_name|date_birthdate|function|email|tasks|room|phone|universal_field_1|universal_field_3|universal_field_4
PID = 265->276
params =
tx_bzdstaffdirectory_pi1[showUid]=#uid#&tx_bzdstaffdirectory_pi1[backPid]=
}
}
}
temp.searchitForm < plugin.tx_ansearchit_form
temp.searchitForm {
config < temp.searchitConfig
resultsPerPage < temp.searchitList.searchitConfig.resultsPerPage
resultPID = 275
format = label,field, button
label.caption= Suche
label.cssStyle = margin-right:10px;
field.title = Bitte geben Sie einen Suchbegriff ein
field.cssStyle = margin-right:10px;
field.value = Suchwort
button.caption = suchen
}
temp.searchitOverview < plugin.tx_ansearchit_resOverview
temp.searchitOverview {
config < temp.searchitConfig
sections.format = name, count
sections {
NO.wrap = | <br>
ACT = 0
name.wrap = |
count.wrap = ( | )
}
headline.show = 1
headline.caption = Ergebnisse:
headline.wrap = <br><br><h1>|<h1/><br>
resultsPerPage < temp.searchitList.searchitConfig.resultsPerPage
}
temp.searchResult = COA
temp.searchResult {
10 = TEXT
10.value = <h1>Suchergebnisse</h1>
20 < temp.searchitOverview
30 < temp.searchitList
}
temp.searchitList < plugin.tx_ansearchit_resList
temp.searchitList{
config < temp.searchitConfig
headline.show = 1
headline.wrap = <br/><br/><h3>|</h3><br/>
resultsPerPage < temp.searchitList.searchitConfig.resultsPerPage
}
############################
##### Suche einbinden ######
############################
lib.searchform >
lib.searchOverview >
lib.searchList >
[globalVar = TSFE:id = 275]
lib.searchform < temp.searchitForm
lib.searchOverview < temp.searchitOverview
lib.searchList < temp.searchitList
[GLOBAL]
===TS:Setup===
Sieht jemand, wo der Fehler liegt???
Wenn ich
===TS===
NO.wrap = |<br/>
ACT = 1
ACT.doNotLink = 1
ACT.wrap = |<br/>
name.wrap = |
count.wrap = (|)
===TS===
rausnehme, dann funktioniert es.
Hilfe :(
Fabian
More information about the TYPO3-german
mailing list