[TYPO3-german] constants.txt with im Konstanten-Editor nicht angezeigt

Robert Wildling robertwildling at gmail.com
Mon May 7 20:36:47 CEST 2012


...da hat ein "i" bei
plugin.tx_rwhandselectedcontent_p1 {

gefehlt...

> Hi, Liste,
>
> wie der Betreff schon formuliert, wird bei meiner eigenen Ext - trotz
> Anzeige des setup.txt - das constants.txt offenbar nicht eingelesen.
>
> Hab alles zig mal hin und her verglichen und rumrecherchiert - aber
> hilft nichts.
>
> Hat jemand eine Ahnung, was ich da wohl übersehen könnte/ wo der Hund
> begraben liegt?
>
> Das steht u.a. in der ext_tables.php:
>
> ...
> t3lib_div::loadTCA('tt_content');
> t3lib_extMgm::addTCAcolumns('tt_content',$tempColumns,1);
> t3lib_extMgm::addStaticFile($_EXTKEY,'pi1/static/','Select Content
> Manually');
>
> $TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY.'_pi1']='layout,select_key';
>
> $TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY.'_pi1']='tx_rwhandselectedcontent_ce;;;;1-1-1';
>
> ...
>
>
> Hier sie setup.txt:
>
> plugin.tx_rwhandselectedcontent_pi1 = USER
> plugin.tx_rwhandselectedcontent_pi1 {
> teaserPID = {$plugin.tx_rwhandselectedcontent_pi1.teaserPID}
> sourceColumn = {$plugin.tx_rwhandselectedcontent_pi1.sourceColumn}
> template = {$plugin.tx_rwhandselectedcontent_pi1.template}
> }
>
>
> Und hier die ominöse constants.txt:
>
> ###################################################
> # Default TS-constants for rwhandselectedcontent
> ###################################################
>
> plugin.tx_rwhandselectedcontent_p1 {
>
> # cat=plugin.tx_rwhandselectedcontent/basic/001; type=int+; label=ID of
> source page
> teaserPID =
>
> # cat=plugin.tx_rwhandselectedcontent/basic/002; type=int+; lable=Column
> number with contents (standard:1)
> sourceColumn = 1
>
> # cat=plugin.tx_rwhandselectedcontent/file/001;
> type=file[html,htm,tmpl,txt]; label=Template
> template = EXT:rwhandselectedcontent/templates/template.html
> }
>
>
>
> Gibt's noch wo ein file, wo was eingetragen werden muss?
> (Sorry, bin echter Anfänger beim EXT Basteln, wühl ich aber fleißig
> durch die Dokus, Dmitris Buch, Irene Höppners Video-DVD und Google...)
>
>
> Danke!
> Gruß, Robert



More information about the TYPO3-german mailing list