Open-source java CMS-FreeCMS2.2 model management

Source: Internet
Author: User

Open-source java CMS-FreeCMS2.2 model management

 

 

Model Management

Supported since FreeCMS 2.0

Adds and deletes fields through the model to adjust the background functions. Supports models such as sites, columns, and information.

Because the operation methods are the same, this document uses the site model as an example.

Click site model from the Management menu on the left to enter.

1. Add

Click Add

Fields are mainly divided into two attributes: basic attributes and Form Verification attributes.

The field name is the field name created in the database. If it is set to test, the system will create the field f_test in the freecms_site_field table and the data type is varchar. The length depends on the maximum number of characters you set, the default value is 500.

Freecms_site_field: stores the site model data.

Freecms_channel_field: stores topic model data.

Freecms_info_field: stores information model data.

The following table types are supported:

Text Box (single line)

Text Box (multiple rows)

Rich Text Editor

Checkbox)

Radio list (radio)

Drop-down list (select)

Date selection box

Date and Time Selection box

 

The following verification methods are supported:

Chinese

English

Email format

URL format

Phone number

Mobile phone number

Integer

Currency format

Zip code

ID card number

QQ number

Validation of custom Regular Expressions

Enter relevant attributes and click Save.

2. Edit

Select the field to edit and click Edit.

Enter relevant attributes and click Save.

3. Delete

Select the data to be deleted and click Delete.

To prevent misoperation, the system will prompt you whether to delete it. Click "OK" to complete the deletion operation.

4. view results

After a model is added, the system automatically generates the relevant form and verification code. The following is the site setting function that has added custom fields.

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.