[TYPO3] About CODE when you define an plugin on FE
Sebastian Fuchs
sebastian at hexerei.net
Fri May 26 17:10:55 CEST 2006
Hi,
if i get you right you want to see the CODE field in the backend when
you included your extension as a plugin on a page.
by default the code field should be visible:
you can disable it in ext_tables.php with these lines (probably it is
already set like this, then you just have to take the select_key field out):
t3lib_div::loadTCA('tt_content');
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY.'_pi1']='layout,select_key';
in your extension you can get the entered value throu this line of code:
$key = $this->cObj->data['select_key'];
hope it helps,
sebastian
Nguyen Duc Hung wrote:
> Nguyen Duc Hung wrote:
>
>> I have just make an extension but i can't shown CODE of this Ext when
>> i define on FE.I check on my DB and find CODE is the column
>> select_type on
>> table tt_content.
>> how can you define shown field CODE.
>> Regard !!
>
> Sorry , this column I said that select_key .... wrong a little
More information about the TYPO3-english
mailing list