Page History
...
/templates
节点包含如下两个配置:
/prototype
:模板原型配置,将会在下节中讨论到。/availability
:此内容节点决定了作者能在内容页面上使用什么样的模板。在STK > Template Definitions/pages
中配置的具体页面模板对default
站点也可用:- 每个模板都在与其模板定义中匹配的内容节点里分配。
id
属性的值有一个<module name>:<path to definition>
结构,可以包含在任何模块里配置的模板,不只是STK。在企业版里,由于配置在default
网站定义里,模板对任何其他站点都自动可用,如demo-project
,因为网站定义扩展了default
定义。 同样,使用
role
来限制对模板的使用也是可能的。在<template name>
节点下添加一个role
内容节点,并设置一个属性,使该属性的名字和值与Security应用的Roles标签里建立的角色相同。更多信息可参考角色。Advanced Tables - Table Plus heading 0 multiple false enableHeadingAttributes false enableSorting false class m5-configuration-tree enableHighlighting false 节点名 值 default
templates
prototype
availability
templates
stkHome
roles
superuserParagraph superuser
idParagraph standard-templating-kit:pages/stkHome stkSection
idParagraph standard-templating-kit:pages/stkSection stkArticle
stkLargeArticle
stkNews
...
在编辑界面中,编辑者可以在顶部工具栏的下拉菜单里选择相关语言来编辑内容。语言指示器在域标签旁的所有对话里都有。
...
脚注
Anchor | ||||
---|---|---|---|---|
|
...
Overview
Content Tools