KM box V6.2 custom Template feature Tutorials

Source: Internet
Author: User

KM box starting with the V6.2 version, the original custom home page feature was upgraded to a custom template feature, adding {img} document thumbnails, {lit} titles, {Liurl} links, {descr} descriptions, and other template label calls.

1. How to use the custom template function

650) this.width=650; "src=" http://www.kmapk.com/uploads/allimg/160806/1-160P6101035T1.jpg "/>

We right-click on the root node "content items" node and select the bottom "Custom template Settings" menu option in the popup menu.

2. Set up a custom template

650) this.width=650; "src=" http://www.kmapk.com/uploads/allimg/160806/1-160P610104G93.jpg "/>

First we need to select the Index.html home file and then choose "Yes" for the "whether to customize the home page" option.

3, understand the template directory structure

650) this.width=650; "src=" http://www.kmapk.com/uploads/allimg/160806/1-160P610105B00.jpg "/>

The home template is the root directory of the index.html file, the template template for the html/page/page.html file.

4, understand the template label

Home Tags:

{Title} titles of books and periodicals

Copyright and links at the bottom of {copyright}, {Crurl}

{List} {/list} loop header List

650) this.width=650; "src=" http://www.kmapk.com/uploads/allimg/160806/1-160P610162TM.jpg "/>

{img} document thumbnail, {lit} document title, {Liurl} document link, {DESCR} document description

Inside page Label:

{Title} Document title label

{Body} document content label

{Previous}, {next} previous and Next tags

5. Demo Example

Demo example 13 Baby growth diary: http://www.kmapk.com/html/wsk/diy/235.html

Demo Example 14 Pregnancy week kee http://www.kmapk.com/html/wsk/diy/236.html


KM box V6.2 custom Template feature Tutorials

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.