[TYPO3-mvc] access to a new attribute
Martin Kutschker
masi-no at spam-typo3.org
Tue Apr 27 14:21:32 CEST 2010
Stephan Petzl schrieb:
>
> Its a lot of steps to do:
>
> 1. add the field in ext_tables.sql
> 2. add the field config to ext_tables.php
> (t3lib_extMgm::addTCAcolumns) or to tca.php
> 3. add it to the TCA type(s)
> (t3lib_extMgm::addToAllTCAtypes)
a) Well, it's TYPO3. It has never been other.
> 4. add it to the domainmodel
> (private property and getter and setter)
b) The beauty of models :)
> 6. update the database (via extension manager)
see a)
> 7. add the field in your plugin's fronend/backend template
Rely on standard TCA forms in the BE if you can.
Masi
More information about the TYPO3-project-typo3v4mvc
mailing list