Content publishing

These pseudo tags offer special features inside articles and extra contents.

Break

Adds document break and read more link to your article.


<break>

Code

Quotes code and converts special characters to HTML entities.


<code> ... </code>

Function

Calls PHP and module functionality.


<function>function_name|value->array(key => value)</function>

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.

loader file

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 = true

Cheat sheet

Function reference

Powered by Redaxscript 0.4.0  •  Design and realization by Jörg Steinhauer & Henry Ruhs