Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

/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
      heading0
      multiplefalse
      enableHeadingAttributesfalse
      enableSortingfalse
      classm5-configuration-tree
      enableHighlightingfalse
      节点名

      default

       

      templates

       

      prototype

       

      availability

       

      templates

       

      stkHome

       

      roles

       

      Paragraph

      superuser

      superuser

      Paragraph

      id

      standard-templating-kit:pages/stkHome

      stkSection

       

      Paragraph

      id

      standard-templating-kit:pages/stkSection

      stkArticle

       

      stkLargeArticle

       

      stkNews

       

...

在编辑界面中,编辑者可以在顶部工具栏的下拉菜单里选择相关语言来编辑内容。语言指示器在域标签旁的所有对话里都有。

更多信息参考语言 and 多语结构

...

脚注 

Anchor
Footnotes
Footnotes

...