User Tools

Site Tools


doc:variables

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

doc:variables [2019/01/12 17:53] (current)
Line 1: Line 1:
 +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 (external edit)