[TYPO3] Selecting fields from tt_content

Heiner Lamprecht heiner at heiner-lamprecht.net
Sun Jul 16 19:10:53 CEST 2006


I'm trying to develop a small extension.  I've added a new column to
tt_content and added the appropriate inputfields to TCA.  They are
shown in BE and saved, when I enter data.

Now I want to overwrite the way, image-links are created, if some
data is entered in this column.  If nothing is entered, the normal
methods of creating the link shall apply.

But it seems, I can't access the column.  I don't think, I have to
make a select to the table again, as it is already done, isn't it?

ext_localconf.php contains:
['tslib/class.tslib_content.php'] = 
t3lib_extMgm::extPath('user_hl_showpic') . 
and the referred file defines the class "ux_tslib_cObj", which
extends "tslib_cObj" and contains a new function "imageLinkWrap".

So, the questions are:  How can I access my new column?  And how can
I explicitly call the old "imageLinkWrap" from within my code?

Thanks for any hint,


    heiner at heiner-lamprecht dot net    GnuPG - Key: 9859E373
  Fingerprint:  3770 7947 F917 94EF 8717 BADB 0139 7554 9859 E373

More information about the TYPO3-english mailing list