Content publishing
These pseudo tags offer special features inside articles and extra contents.
Break
Adds document break and read more link to your article.
Code
Quotes code and converts special characters to HTML entities.
Function
Calls PHP and module functionality.
Template markup
Edit corresponding PHTMLHTML page that includes a PHP script files located in your template folder to customize your markup.
Head
Generates dynamic title and metadata inside head tag.
<?php head(); ?>
Styles
Loads needed CSS inside head tag.
<?php styles(); ?>
Scripts
Loads needed Javascript.
<?php scripts(); ?>
Center
Displays main contents and manages default post and routing.
<?php center(); ?>
Extras
Displays extra contents.
<?php extras($filter); ?>
Setup $filter by an existing rank (number) or alias (string) to display a single extra only.
Navigation list
Displays a navigation list.
<?php navigation_list($table, $options); ?>
Setup $table (string) by choosing categories, articles, extras or comments.
array(
'class' => 'name',
'filter_alias' => '"alias", "alias", "alias"',
'filter_rank' => '1, 2, 3'
'id' => 'name',
'limit' => 5,
'order' => 'asc'
)
Setup $options (array) to customize your navigation list.
Languages list
Displays available languages.
<?php languages_list($options); ?>array(
'class' => 'name',
'id' => 'name'
)
Setup $options (array) to customize your languages list.
Templates list
Displays available templates.
<?php templates_list($options); ?>array(
'class' => 'name',
'id' => 'name'
)
Setup $options (array) to customize your templates list.
Login list
Displays a login list, including serveral adminstrativ links.
<?php login_links(); ?>
Breadcrumbs list
Generates a breadcrumbs list.
<?php breadcrumbs_list(); ?>
Search form
Displays a search form.
<?php search_form(); ?>
Helper classes
Setup a helper class by using avaibled constants inside your html tag.
<html class="<?php echo MY_BROWSER . MY_BROWSER_VERSION; ?>">
This example will generate a html class according to the visitor's browser and version. More useful constants for similar purposes are: MY_ENGINE, MY_SYSTEM, MY_MOBILE.
Generate a class according to the current section by using the LAST_PARAMETER constant.
On-demand loader
The on-demand loader handles to join, minify and output multiple CSS and Javascript files as needed. There are two .loader INI files inside template/styles and template/scripts that are responsible to config the loader.
Customize the core files, keep in mind to rename your template folder:
[template]
1 = styles/reset.css
2 = templates/template/styles/box.css
3 = templates/template/styles/form.css
Include MY_BROWSER and MY_ENGINE related files:
[msie]
1 = styles/msie.css
2 = templates/default/styles/msie.css
A couple of settings:
[settings]
deploy = inline
rewrite = false
minify = trueCheat sheet
Function reference
- includes
- admin
- breadcrumbs.php
- captcha.php
- center.php
- check.php
- clean.php
- comments.php
- contents.php
- detection.php
- filesystem.php
- generate.php
- get.php
- head.php
- loader.php
- login.php
- misc.php
- modules.php
- navigation.php
- parser.php
- password.php
- query.php
- registration.php
- reminder.php
- replace.php
- search.php
- service.php
- startup.php
- languages
- misc.php
- modules
- scripts
- styles
- templates
- config.php
- index.php
- install.php