There were changes in Mambo templates between versions 4.5.0 (which include all the 4.5 1.0.x releases) and the later releases of Mambo 4.5.x. People using very old versions of Mambo and who are now upgrading to later releases within the Mambo 4.5 branch may find that their templates no longer work as expected.
Mambo templates use PHP variables and operators in the Mambo core system. The changes between the old Mambo 4.5.0 templates and later 4.5 templates are detailed below.
Pathway
In 4.5 the pathway was a reference to a file called "pathway.php". 4.5.x uses a function called "mosPathWay".
Mainbody
In 4.5 the mainbody was a reference to a file called "mainbody.php". 4.5.x instead uses a function called "mosMainBody".
Global variables
Some of the core configuration variables 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 to use it with and/or in the images directory within your template folder.
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.
HEAD Code
The HEAD code was also changed between Mambo 4.5 and 4.5.x. The standard heading code for Mambo 4.5.1+ was:
Many templates for Mambo 4.5.0 used the following code. This needs to be replaced with the code above.
NOTE: Custom Administrator templates from Mambo <=4.5.1 do not work correctly with Mambo 4.5.2+. You will need to revert to the default Administrator templates for proper operation of your backend.
The best way to work out what changes you need to make for later versions of Mambo is to compare your custom templates with the templates that are distributed as part of the Mambo package. Compare the PHP code and make changes as needed.