OpenCms 9.5.1 Container嵌套关系和配置
来源:互联网 发布:java ee看源代码 编辑:程序博客网 时间:2024/06/05 15:28
一、模块下 containerpage_template 模板与站点下bs-templaterow 模板的关系
/system/modules/com.alkacon.bootstrap.formatters/templates/bootstrap-grid-page.jsp
中的
<cms:container name="page-complete" type="page" width="1200" maxElements="15" editableby="ROLE.DEVELOPER">
<cms:bundle basename="com.alkacon.bootstrap.formatters.messages">
<div class="servive-block rounded-3x servive-block-red">
<h2 class="heading-md"><fmt:message key="bootstrap.page.headline.emptycontainer"/></h4>
<p><fmt:message key="bootstrap.page.text.emptycontainer"/></p>
</div>
</cms:bundle>
</cms:container>
与
/.content/templaterows/
下的 bs-templagerow 文件关系
编辑 /system/modules/com.alkacon.bootstrap.formatters/formatters/templaterow.xml看到如下:
Resource type 为前台拖拽时与该formatter绑定的资源类型
Container type 指该formatter可以拖拽到的container,page 为bootstrap-grid-page.jsp 模板里的container.
Element view 切换到 Template 后才能激活拖拽模板功能
添加模板内容
二、bs-templaterow 与bs-layoutrow 的关系
编辑Element view 为 Template 状态下拖拽的 bs-templaterow看到如下:
Container Type 为 layoutrowsonly
Element view 切换到 Layout 后才能激活拖拽布局功能
添加布局内容
编辑 /system/modules/com.alkacon.bootstrap.formatters/formatters/layoutrow.xml 可看到如下:
Container type 对应 bs-templaterow 里设置的 Container type 才能拖拽到该container.
三、bs-layoutrow 与内容关系。
Element view 切换到 Default 激活拖拽内容功能
编辑布局类型内容设置Container Type 与 内容 formatter 里的 Container type 一致
如: /system/modules/com.alkacon.bootstrap.formatters/formatters/list-large.xml
OpenCms讨论群 137215320
- OpenCms 9.5.1 Container嵌套关系和配置
- Opencms安装和配置
- 编译opencms和本地化opencms
- opencms 配置重点类
- OpenCms 9.5.1 新建一个站点
- MongoDB数据库关系表示和设计:(1)嵌套文档和引用链接
- opencms静态到处配置详解
- 如何修改opencms数据库配置
- OpenCms 数据库关系图与类结构图
- OpenCms 数据库关系图与类结构图
- OpenCms 数据库关系图与类结构图
- OpenCms 数据库关系图与类结构图
- OpenCms 数据库关系图与类结构图
- OpenCms 用户手册 -1
- openCms
- opencms
- OpenCms
- OpenCms
- Algorithms—27.Remove Element
- poj1035(简单题,串)
- java 计划任务
- Windows中的管道解析
- Dijkstra算法求最短距离
- OpenCms 9.5.1 Container嵌套关系和配置
- 波兰表达式和逆波兰表达式
- 新域名正在备案,静候佳音
- 数据结构--------图的遍历算法及实现
- 5.1.1 Binary Tree Level Order Traversal
- SAT阅读假设题解题思路指导:理解与推理
- Java基础复习之一:static关键字的使用
- JavaScript-给iframe里的内容定义样式 获取元素
- Node.js Express框架