We are not finishing yet ...
1. Under MIGX Management, we need to add some "actionbuttons"
2. Also some "Contextmenus":
3. Add some ' columns ' to the forms, the fields of the the columns should match the fields in database (or XML Schema):
For exmaple, when we add ' description ' field:
We can also set the "Input TV type":
Another example for checkbox: If you had a field called 'publish', you set the 'input TV type' As 'checkbox'.
Also in the 'Renderer' tab, set Renderer as 'this.rendercrosstick'
One Important thing to remember your need to add a ' id ' also:
So now, what is it looks like:
You can drag & drop ' id ' field to the top, as wish:)
4. In ' Formtabs ', click "Add Item":
5. Add a Caption, then click "Add Item":
6. ADD fields as you do in step 3.
If you have the Some like ' publish ' field which is a Boolean.
You can set the default value also:
7. Click ' Done ' button save the imformation. Refrsh the page, click the 'serialnumber' button on the topnav. You should is able to see a 'Add a serial' button.
8. Then the can add information you need.
[MODx] Build a CMP (Custom Manager page) using MIGX in MODX 2.3--2