Mambo Open Source/Convert templates from 4.5 to 4.5.x

Convert templates from 4.5 to 4.5.x
A mambo template uses variables and operators in the Mambo core system, and some of these may change during the development of Mambo. Most templates created for version 4.5 of Mambo will work with the newer versions of 4.5.x, but there are some precautions to be aware of.

A 4.5.x compatible template will be 100% compatible with the future release of version 5.0. 4.5.x also has some functions that 4.5 templates doesn't, like the top-menu.

Pathway
In 4.5 the pathway was a reference to a file called "pathway.php". 4.5.x is different here, and uses a function called "mosPathWay".

Mainbody
In 4.5 the mainbody was a reference to a file called "mainbody.php". 4.5.x is different here, and uses a function called "mosMainBody".

Global variables
Some of the core config-variables have changed too, here they are:

Pathway-separator
4.5.x has a new feature for the pathway arrow. In the Mambo generated pathway of the "mosPathWay"-function, an arrow image appears between the pathway links. This can be a custom arrow for each template, and it is very simple to use this feature.

Simply create an image that you want for this, save it in .png-format, call it "arrow.png" and place it in the root folder of the template you want it in, the same as the "template_details.xml" and "index.php" files. If this doesn't work, try putting it in the images sub-folder. What the heck, put it in both places.

Remember to create a reference to this file in the "template_details.xml" file, so that it is uploaded when installing the template through the Mambo Template Installer.

The head code
The head code has also been upgraded from 4.5.

If you don't use any custom functions and includes in the tag, use this code: