[Typo3-dev] create new selectboxes in BE-header-Header
Thomas Grabietz
maillists at toms-toy.de
Tue May 24 11:33:21 CEST 2005
Hello List,
I've created new table-filelds in the table "pages" and also select-boxes for
the backend by using the extension-kickstarter, it works...
The kickstarter creates a file including a class and functions to generate the
items for the selectbox, it works also...
My further target is to hide the whole selectboxes sometimes (Depending on the
page-content). But when I try to change the values of $GLOBALS['TCA']
['pages']['column']['mySelectbox'] in the class-functions nothing happens. It
seem to me, that the TCA is already rendered.
To manipulate the ext_tables.php is also not a good idea. It is only once
included and so the result of the $tempColumns array obtains for all
page-forms.
I'm following the Kaspars tutorial Modern Template Building II. Maybe there is
an other way to solve my problem.
best regards Tom
/*same question for germans :-) */
Hallo NG,
Ich erzeuge mit dem Extension Kickstarter neue Tabellenfelder in pages und
neue Selectboxen für das Backend, alles Prima...
Der Kickstarter legt mir unter anderem einem Datei (Class zur selectbox, mit
Funktionen) an, in der ich Funktionen zu Erzeugung der Selectorbox-Items
schreiben kann, auch alles Prima...
Ich möchte nun aber, dass die Selectboxen nicht immer erscheinen. Was ich auch
in meiner Klassenfunktion in $GLOBALS['TCA']['pages']['column']
['meineSelectbox'] ändere, wirkt sich nicht auf das Ergebnis aus, der Inhalt
des TCA scheint schon gerendert zu sein.
Versuche ich die Erzeugung der Selectboxen in ext_tables.php zu manipulieren,
stelle ich mir auch ein Bein. Die Datei wird nur einmal included. Für die
Bearbeitung von Page-Header in Listen also nicht geeignet.
Bei der Erzeugung der Extension, folge ich dem von Kasper in Modern Template
Building II, aufgezeigten Weg. Gibt es vielleicht einen anderen Ansatz?
Grüße Tom
More information about the TYPO3-dev
mailing list