[TYPO3-dev] secure downloads - css_styled_content

Mathias Schreiber [wmdb] mathias.schreiber at wmdb.de
Wed Jul 6 10:23:27 CEST 2011


Am 06.07.11 09:01, schrieb Georg Schönweger:
> Now i looked in to source code of css_styled_content and saw that i can
> define another upload field by using the TS-Code;
> tt_content.uploads.20.field = my_field
>
> So far, so good. I created an extension which adds a new field to
> tt_content. And here is my problem; It seems that the TCA definitions
> from my extension are loaded AFTER css_styled_content. So i can't make
> use of my_field.

TCA has nothing to do with Tposcript code.
You can access fields that don't exist in TCA as long as they are in the 
database.

So I'd opt for "you have something wrong in your TS.

> I changed "extList" and "extList_FE" in typo3conf/localconf.php and put
> my extension at first position before css_styled_content, but this has
> no effect.

> In sr_feuser_register they have the same problem and solved it by
> providing a Hook;

These TCA hooks are for extending the TCA.
The TCA just defines how fields show up in the BE.
So you're on the wrong track here.

cheers
Mathias

-- 
Ernesto, Nov. 9th 2010:
"In the graphics generation routines of TYPO3 *anything* could cause a
side effect."




More information about the TYPO3-dev mailing list