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