加入收藏 | 设为首页 | 会员中心 | 我要投稿 莱芜站长网 (https://www.0634zz.com/)- 云连接、建站、智能边缘云、设备管理、大数据!
当前位置: 首页 > 编程开发 > PHP > 正文

php – PyroCMS帮助文档

发布时间:2020-08-16 06:06:32 所属栏目:PHP 来源:互联网
导读:我正在研究PyroCMS项目,但由于缺乏完整的文档而出现问题.有谁知道我在哪里可以找到核心帮助者列表,例如{pyro:navigation:links}? 我昨天只推动了这些改变,我正在为此建立文档! 标签 {pyro:settings:site_name}{pyro:settings:site_slogan} - or any other

我正在研究PyroCMS项目,但由于缺乏完整的文档而出现问题.有谁知道我在哪里可以找到核心帮助者列表,例如{pyro:navigation:links}? 我昨天只推动了这些改变,我正在为此建立文档!

标签

{pyro:settings:site_name}
{pyro:settings:site_slogan} - or any other setting
{pyro:variables:foo}

插件

{pyro:navigation:links group="header"}

{pyro:session:data name="foo"}
{pyro:session:flash name="foo"}

{pyro:session:messages}
{pyro:session:messages success="success-box" notice="notice-box" error="error-box"}

{pyro:template:title}
{pyro:template:metadata}
{pyro:template:body}
{pyro:template:partial name="sidebar"}

{pyro:theme:path} - produces /path/to/addons/theme/xxx/
{pyro:theme:partial name="header"}
{pyro:theme:css file="style.css"}
{pyro:theme:js file="jquery.js"}
{pyro:theme:image file="logo.gif"}

{pyro:pages:url id="2"}

{pyro:url:current} - outputs http://example.com/the/current/url
{pyro:url:base} - outputs http://example.com/
{pyro:url:segments segment="2" default="something"}

{pyro:helper:lang line="foo"}
{pyro:helper:date format="d/m/Y"}

{pyro:pages:children id="2"}
    {title}
{/pyro:pages:children}

{pyro:news:posts limit="5"}
    <h2>{title}</h2>
    {body}
{/pyro:news:posts}

{pyro:widgets:area slug="sidebar"}
{pyro:widgets:instance id="8"}

这不像我说的那样完整列表,我正在写它!

它将在这里完成:PyroCMS Tag Reference

(编辑:莱芜站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读