DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

EXT: Additional Fields

Author:Felix Kiesewetter
Created:2013-12-09T09:08:30
Changed by:Felix Kiesewetter
Changed:2014-06-17T11:00:11
Classification:addfields
Keywords:additional fields, custom columns, extend existing tables
Author:Felix Kiesewetter
Email:info@felixkiesewetter.de
Language:en

img-1 img-2 EXT: Additional Fields

Extension Key: addfields

Languages: en

Version: 0.1.0

Keywords: additional fields, additional columns, extend existing tables

Copyright 2013, Felix Kiesewetter, <info@felixkiesewetter.de>

This document is published under the Open Content License

available from http://www.opencontent.org/opl.shtml

The content of this document is related to TYPO3

- a GNU/GPL CMS/Framework available from www.typo3.org

Table of Contents

`EXT: Additional Fields 1 <#__RefHeading__5708_1738894311>`_

`Introduction 3 <#__RefHeading__5710_1738894311>`_

What does it do? 3

`Configuration 4 <#__RefHeading__31515_818911409>`_

`Tutorial 5 <#__RefHeading__31523_818911409>`_

`Known problems 6 <#__RefHeading__31525_818911409>`_

`To-Do list 7 <#__RefHeading__477_413120346>`_

Introduction

What does it do?

Sometimes, you might want to add some special fields to an existing table within the Typo3 database (a common example would be an input field to define a unique “id” or a “class” attribute for the generated output of a tt_content record).You could use the (very cool) plugin “kickstarter” to create a plugin, rewrite it's ext_tables.php so that the TCA (flexform) of tt_content is being manipulated – or you could simply install this extension and create the field with an easy-to-use generator. My plugin does all the rest for you.You can also manage all your custom fields in a new backend module called “Additional Fields” and edit or delete them at any time, without having to fiddle with nasty PHP script (well, I do love PHP, but here's a much simpler solution).

Configuration

There's nothing to configure so far.

Tutorial

Install the extension.

A new module will appear (in ADMIN TOOLS).

img-3 To extend existing tables, select “Extend Tables”.Fill in the input fields (more coming up soon!!!) and hit “Create”.

To manage fields that you have already created, select “Your Fields”.Here, you will see all fields at one glance, you can delete or edit them at any time.

img-4

img-5 You will find the new fields under the tab “Additional Fields”.This very tab will be added to your tt_content records automatically.

Known problems

None so far.

To-Do list

As of now, you can only extend certain tables. At some point there should be a selection of all available tables in your database.

The number of options when creating the new field column is very limited. In the future, of course, you will be able to configure your fields with the same set of options you'd have in the Typo3 flexforms or the TCA.

There's nothing localised so far – English only! Will add German.

If you have more suggestions and ideas, please feel free to contact me!