In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article editor for you detailed introduction of "Android template production how to set the home page, column page, detailed page template", detailed content, clear steps, details handled properly, I hope that this "Android template production how to set the home page, column page, detailed page template" article can help you solve doubts, following the editor's ideas slowly in-depth, together to learn new knowledge.
One of the most common problems in making templates is, which template is the front page template?
Answer: usually index.html (for example, / template/1/default/index.html). Why "usually"? Because the home page, column page, detail page template is set through the background, that is, the home page template can also be set to the home page .html, mydefault.html or other name you like.
Template Settin
The template of the home page, column page and detail page can be set in "column management" and "model management". First read the template settings of "column management". If "column management" does not set the template, read the template settings of the corresponding model of the column.
When the model management sets the column template, you can set the cover page template and the list page template; if the column is the last-level column, use the list page template; if the column has sub-columns (not the last-level column), use the cover page template.
Home template
Access address: the root path of the website (for example, http://localhost:8080/).
Template file: usually index.html (for example, / template/1/default/index.html).
Controller:com.jspxcms.core.web.fore.NodeController.index ().
Default object:
Node: column object. Type: com.jspxcms.core.domain.Node.
Column page template
Access address: / node/ {id} (for example, http://localhost:8080/node/12).
Cover page template file: usually cover.html (for example / template/1/default/cover.html) or cover_*.html; list page template: usually list.html or list_*.html.
Controller:com.jspxcms.core.web.fore.NodeController.node ().
Default object:
Node: column object. Type: com.jspxcms.core.domain.Node.
Text: text. Type: java.lang.String.
Detail page template
Access address: / info/ {id} (for example, http://localhost:8080/info/123).
Template file: usually info.html (for example / template/1/default/info.html) or info_*.html.
Controller:com.jspxcms.core.web.fore.InfoController.info ().
Default object:
Node: column object. Type: com.jspxcms.core.domain.Node.
Info: document object. Type: com.jspxcms.core.domain.Info.
Title: title. Type: java.lang.String.
Text: text. Type: java.lang.String.
Read here, this "Android template production how to set the home page, column page, detailed page template" article has been introduced, want to master the knowledge of this article also need to practice and use in order to understand, if you want to know more about the article, welcome to pay attention to the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.