[MODx] Build a CMP (Custom Manager page) using MIGX in MODX 2.3--2

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.