php – PyroCMS帮助文档

发布时间:2022-04-30 发布网站:脚本宝典
脚本宝典收集整理的这篇文章主要介绍了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

脚本宝典总结

以上是脚本宝典为你收集整理的php – PyroCMS帮助文档全部内容,希望文章能够帮你解决php – PyroCMS帮助文档所遇到的问题。

如果觉得脚本宝典网站内容还不错,欢迎将脚本宝典推荐好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。