【发布时间】:2018-02-22 21:36:53
【问题描述】:
我对 ocms 非常陌生,我已经安装了静态页面,它的工作非常好。我想使用其中一个插件从首页(在上下文编辑中)编辑字段,例如:https://octobercms.com/plugin/netsti-editor 我已经拖到我的布局页面,但我无法在首页中编辑它。这是我如何使用静态页面插件的示例:
<img src="{mediafinder name="logo" label="Logo" tab="General" mode="image"}{/mediafinder}" />
{repeater name="side_logos" tab="General" prompt="Add another content section"} {text name="my_title" label="My Title"}{/text} {/repeater}
谢谢
【问题讨论】:
-
你能发布那个模板表达式的原始 html 输出吗?
-
@camel_case ,你能解释一下吗?你想在我登录时输出页面吗?还是别的什么?
-
这段代码在渲染过程中最终会转译为html,你能发布浏览器渲染页面后html代码的实际样子吗?右键->查看页面源代码
-
@camel_case paste.ofcode.org/6vb9H6R5y6uFXdbQfTKyHz
-
我认为这是您未登录时的输出,对吧?
标签: php octobercms octobercms-plugins