What special tags can be used in the template?

Mobiki provides special tags for use as buttons in the main menu bar and below every page, like the home button, login, logout etc... Use these tags in upper case and surrounded by squirly brackets.

HOME

This button always comes back to the home page defined in the config.php file as HOME_PAGE and has a label defined as HOME_BUTTON.

MENU1, MENU2, MENU3, MENU4, MENU5

These will give links to pages defined by giving the corresponding page titles in the config.php file. If the tags are not used in the template.html file, you will not see them. Just a remark: Every menu item also has an own id for e.g. dedicated styling with CSS.

NEWS

This button give a human readable list of the last 20 changes to the website.

FEED

This gives a link to an RSS-feed for use in feed readers. Up to now just titles to the articles are given, no content.

SEARCH

Gives a search field with search for both, page titles and page content.

ABOUT

Just a normal link to an about page or some kind of impressum.

LOGOUT

Button for login page and logout after editiing

MESSAGE

If a login attempt was unsuccessful, this will give a short message.

EDIT

Once logged in successful a cookie is set and an edit button will appear.