[Typo3] Add textbox to Regular Text Content Element

Derek digitalfan at earthlink.net
Sat Jun 4 03:56:03 CEST 2005


Thanks for the encouragement and recommendation. I went ahead and made an
extension and it wasn't as bad as I thought it would be... It's amazing how
much the Extension Kickstarter automates!

~Derek

----- Original Message ----- 
From: "Bernhard Kraft" <kraftb at kraftb.at>
Newsgroups: typo3.english
To: <typo3-english at lists.netfielders.de>
Sent: Friday, June 03, 2005 1:39 PM
Subject: Re: [Typo3] Add textbox to Regular Text Content Element


> Derek wrote:
> > I started to create an extension.
>
> Believe me. The easiest (and as side-effect cleanest) method to do this
would be
> by making a little extension.
>
> No php coding will be required.
>
> You just have to fire of an empty extension with nothing than the General
description
> and a second thing in the kickstarter.
>
> The second thing is to extend an existing table (pages) by the required
field.
> and then add the follwing lines to the ext_tables.php in the extension
directory:
>
>
>     // Load pages TCA and add fields
>     t3lib_div::loadTCA('pages');
>     t3lib_extMgm::addTCAcolumns('pages',$tempColumns,1);
>     t3lib_extMgm::addToAllTCAtypes('pages','tx_myext_field;;;;1-1-1');
>
>
> you can look how this is done (adding a field to the pages table) by
having a look at
> the extension "css_select" for example. (Look at ext_table.sql/php)
>
> greets,
> Bernhard
> _______________________________________________
> Typo3-english mailing list
> Typo3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

-- 
I am using the free version of SPAMfighter for private users.
It has removed 39687 spam emails to date.
Paying users do not have this message in their emails.
Try www.SPAMfighter.com for free now!



More information about the TYPO3-english mailing list