doc:variables
In this page are listed constant variables, to use into themes, plugins etc, etcโฆ To be completed!
- {$flatpress.title} โ> Blog title
- {$flatpress.subtitle} โ> Blog subtitle
- {$flatpress.footer} โ> Blog footer
- {$flatpress.www} โ> Blog base url
- {$flatpress.author} โ> Blog author
- {$flatpress.email} โ> Blog email
- {$flatpress.maxentries} โ> Max number of entries per page
- {$fp_config.locale.dateformat} โ> Date format
- {$fp_config.locale.timeformat} โ> Time format
- {$fp_config.locale.lang} โ> Locale currently set (e.g.
en-us
) - {$flatpress.version} โ> FP version
- {$flatpress.charset} โ> Charset used in the blog
- {$smarty.const.BLOG_BASEURL} โ> ??? (maybe the same as {$flatpress.www}???)
- {$flatpress.themeurl} โ> Theme url (e.g /fp-interface/themes/leggero/)
- {$subject} โ> Entry title
- {$pagetitle} โ> ??? (maybe title of static pages???)
- {$panelstrings.descr} โ> Description of a panel (in admin area)
- {$panelstrings.head} โ> Title of a panel (in admin area)
- Other variables found in \admin\panels\entry\admin.entry.commentlist.tpl, are they to add?
- PLUGINS_DIR โ> Plugin directory (depends on plugin)
- PLUGINNAME โ> Plugin name
(By using these two variables is possible to enter in a plugin directory : PLUGINS_DIR/plugin.PLUGINNAME/PLUGINFILE)
doc/variables.txt ยท Last modified: 2019/01/12 17:53 by 127.0.0.1