You can't use any of the "mos" syntax in Joomla 1.5
You need to replace them with their Joomla 1.5 equivalents.
This is a useful article:
theartofjoomla.com/converting-old-extensions.html
And you can find lots more on the Joomla.org site.
This is a Joomla 1.5 statement to get the language:
| Code: |
$lang =& JFactory::getLanguage();
|
Replace
| Code: |
mosLoadModules( $position_name, $style );
|
with
| Code: |
<jdoc:include type="modules" name=$position_name style=$style />
|
. (Note: the 1.0 template's PHP syntax may use single or double quotes. Jdoc expressions require double quotes, and won't work with single quotes.)
Regards
Toni