我正在研究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"}
这不像我说的那样完整列表,我正在写它!
原文地址:https://www.jb51.cc/php/130478.html
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。