php – PyroCMS帮助文档

前端之家收集整理的这篇文章主要介绍了php – PyroCMS帮助文档前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我正在研究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

原文链接:https://www.f2er.com/php/130478.html

猜你在找的PHP相关文章