Open source Java cms-freecms2.4 Model Management

Source: Internet
Author: User

Project Address:http://www.freeteam.cn/

Starting with the FREECMS 2.0 support

Through the model to increase the deletion of fields, adjust the background function, support sites, columns, information and other models.

This document is illustrated with the site model as an example, because of the same method of operation.

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

Add to

Click the Add button

Fields are mainly divided into two-part properties, one for basic properties and the other for form validation properties.

Where the field name is the field name created to the database, and if set to test, the system creates the field f_test in the Freecms_site_field table, the data type is varchar, and the length depends on the maximum number of characters you set, and the default is 500.

Freecms_site_field: Save the site model data.

Freecms_channel_field: Save column model data.

Freecms_info_field: Save the Information model data.

The types of forms supported are:

text box (single line)

text box (multiple lines)

Rich Text Editor

Check List (checkbox)

Radio List (radio)

Drop-down list (select radio)

Date selection Box

Date Time selection box


The supported authentication methods are:

Chinese

English

Email format

URL format

Phone number

Mobile phone number

Integer

Currency format

Zip code

ID number

QQ number

Custom Regular Expression validation

Starting with the FREECMS 2.3 support

With the addition of dictionary properties, the options for the check list, the Radio list, and the Drop-down list can be configured directly from the dictionary, and if this property is set to use configurable option, the configuration of the option property is used, and if a dictionary classification is selected, the system takes precedence over the dictionary to generate the options

Fill in the relevant properties and click Save.

Edit

Select the field you want to edit and click the Edit button

Fill in the relevant properties and click Save.

Delete

Select the data you want to delete and click the Delete button.

In order to prevent misoperation, the system will prompt the user whether to delete, click "OK" to complete the delete operation.

View Effects

The system automatically generates related forms and validation processing code after the model has been added. The following is a site Settings feature that has been added to a custom field.


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.