<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    How to Create Templates

    CQ5 page templates are simply models used to create new pages. They can contain as little, or as much, initial content as needed, their role being to create the correct initial node structures, with the required properties (primarily sling:resourceType) set to allow editing and rendering.

    Creating a new Template (based on an existing template)

    Needless to say a new template can be created completely from scratch, but often an existing template will be copied and updated to save you time and effort. For example, the templates within Geometrixx can be used to get you started.

    1. Copy an existing template (preferably with a definition as close as possible to what you want to achieve) to a new node.

      [Note] Note

      Templates are usually stored in /apps/<website-name>/templates/<template-name>.

    2. Change the jcr:title of the new template node to reflect its new role. You can also update the jcr:description if appropriate.

    3. Copy the component on which the template is based (this is indicated by the sling:resourceType property of the jcr:content node within the template) to create a new instance.

      [Note] Note

      Components are usually stored in /apps/<website-name>/components/<component-name>.

    4. Update the jcr:title and jcr:description of the new component.

    5. Replace the thumbnail.png if you want a new thumbnail picture to be shown in the template selection list.

    6. Update the sling:resourceType of the template's jcr:content node to reference the new component.

    7. Make any further changes to the functionality or design of the template and/or its underlying component.

      Changes made to the /apps/<website>/templates/<template-name> node will affect the template instance (as in the selection list).

      Changes made to the /apps/<website>/components/<component-name> node will affect the content page created when the template is used.

    You can now create a page within your website using the new template.



    眼鏡蛇

    posted on 2013-06-25 15:50 眼鏡蛇 閱讀(217) 評論(0)  編輯  收藏 所屬分類: CQ5

    <2025年7月>
    293012345
    6789101112
    13141516171819
    20212223242526
    272829303112
    3456789

    導航

    統計

    常用鏈接

    留言簿(6)

    隨筆分類

    隨筆檔案

    文章分類

    文章檔案

    搜索

    最新評論

    閱讀排行榜

    評論排行榜

    主站蜘蛛池模板: 亚洲午夜精品一区二区麻豆| 亚洲精品字幕在线观看| 67194在线午夜亚洲| 亚洲av无码一区二区三区乱子伦 | 久久久无码精品亚洲日韩京东传媒| 国产精品成人啪精品视频免费| 又大又粗又爽a级毛片免费看| 亚洲av无码专区亚洲av不卡| 国产一级一片免费播放| 香港一级毛片免费看| 久久久久亚洲精品天堂久久久久久| 特级毛片aaaa免费观看| 区久久AAA片69亚洲| 成全视频高清免费观看电视剧| 亚洲AV日韩AV永久无码免下载| 日本免费大黄在线观看| 亚洲成年人免费网站| 毛片高清视频在线看免费观看| 亚洲精品无码久久久久YW| 国产在线观看免费不卡 | 亚洲精品精华液一区二区| 国产免费爽爽视频免费可以看| 人人爽人人爽人人片A免费| 亚洲免费人成视频观看| 亚洲一级片在线播放| 日韩免费视频在线观看| 无码毛片一区二区三区视频免费播放 | japanese色国产在线看免费| 精品久久香蕉国产线看观看亚洲| 亚在线观看免费视频入口| 亚洲国产成人精品无码区在线秒播| 成人在线视频免费| 人妻仑乱A级毛片免费看| 亚洲黄色免费在线观看| 波多野结衣中文字幕免费视频 | 免费国产污网站在线观看不要卡| 亚洲综合无码精品一区二区三区 | 在线看片无码永久免费aⅴ| 国产精品内射视频免费| 亚洲自偷自拍另类图片二区| 免费国产成人午夜电影|