Imperial CMS call column custom field (column introduction) How to Operate

Source: Internet
Author: User

Open-source CMS is like an operating system, can meet the needs of most people, if you want to add some special features, it is two times development, like the app. Imperial CMS Default column is not called the column custom field, we can add some of the text of the overview class, so that the reader has a general understanding of the page, quite a bit higher user experience.

Imperial CMS call column custom field (column introduction) How to operate it?

  Column custom Field invocation description
Built-in Call column custom field function: Returnclassaddfield (column ID, field name), column id=0 is the current column ID. Multiple field contents can be separated by commas, example:
Get the ' classtext ' field content: $value =returnclassaddfield (0, ' classtext '); $value is the field content.
Get multiple Field Contents: $value =returnclassaddfield (1, ' classid,classtext '); $value [' Classtext '] is the field content.

What about the specific calling code?

<?=returnclassaddfield (0, ' content ')?>

Content is the name of the field that corresponds to the

Imperial CMS call column custom field (column introduction) How to Operate

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.