Login / Status
developer.Resource
Home . Documentation . Document Library . Extension Manuals
Sponsors
hosted by punkt.deTYPO3 and Open Source MagazineAOE Media

1.2. Using Kickstarter to Create a Form Extension

[1] To create a new extension with Kickstarter go to the Extension Manager

[2] From the drop down menu select 'Make a new extension'

[3] In the 'Enter extension key:' box write the name of your new extension.

[4] and then click on the 'Update' button.

Now from the Kickstarter Wizard you make your selection for the various options to create your new extension. This extension will contain only 2 sections:

'New Database Tables' and

'Frontend Plugins'

General Info

Let's start with 'General info'. Click on the plus sign to the right and your screen will look like this:

[1] In the 'Title' box write a title for your extension. As this is my test extension I did not fill in the 'Description' box.

[2] From the 'Category:' drop down menu select 'Frontend Plugins'

[3] Now click the 'Update' button to save the information.

New Database Tables

Here is where we create the fields for our form. Click on the plus sign to the right and your screen will look like this:

[1] First you give your table a name. Write the name in box. You will notice that the box is appended by the name of your extension. In this case 'user_test'

[2] Now write the 'Title of the table' in the box. Now scroll down the page and ignore everything until 'NEW FIELD'.

[3] Now you are going to define the fields of your form. First you give your field a name.

[4] Then you give your field a title

[5] and next you select the 'Field type' from the drop down menu.

[5] When you're done click the 'Update' button to save the information.

Your screen will now look like the one below. The field information you have just filled in will show up and you will have a choice to further define the look of that field. Below this field you will see again 'NEW FIELD' so that you can add another field.

As this second field is the description field in the 'Field type' you select 'Text area' rather than 'String input'. Click the 'Update' button to save the second field. Your screen will now look the one below:

If that's all the fields you want to have, you are done with the 'New database tables' section.

Frontend Plugins

Now click on the plus sign to the right of the Frontend Plugins. Your screen will change to this:

[1] Enter a title for your plugin.

[2] Place a checkmark next to 'USER cObjects'

now click on 'Update' to save the information.

Now click on 'View Result' on the left side below the Kickstarter Wizard and your screen will look like this:

[1] and [2] these are the only 2 items included in your plugin.

[3] This are the files that were generated by your plugin.

[4] Now click on the 'Write' button and you will see the popup below

Click ok and your screen will tell you that you have successfully copied the Extension to the server. Your screen will look like this: