2010-11-25 73 views
6

我正在开发一个PyroCMS项目,但由于缺乏完整的文档而出现问题。有谁知道我在哪里可以找到核心帮手列表,例如{pyro:navigation:links}PyroCMS帮助文档

+2

你能接受的答案吗? – 2010-12-21 18:40:20

回答

12

我只是推动昨天的生活,我正在为此建立文档!

标签

{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