Do you have a huge collection of nice Joomla 1.0 templates, and dunno what to do with them? Let's go green and reuse themWink!

Most of templates are easy to adapt. If you don't want to add there new trickery, just want to made them usable in the new environment, you can do it in a fast and easy way. You need to change only few lines of code in your favorite Joomla 1.0.x templates to make it compatible with Joomla 1.5.*:

  • <?php mosShowHead(); ?> changed to <jdoc:include type="head" />
  • <?php echo $mosConfig_live_site;?> changed to $this->template
  • <?php mosLoadModules ( 'user3', -1); ?> changed to <jdoc:include type="modules" name="user3" style="raw" />
  • <?php mosMainBody(); ?> changed to <jdoc:include type="component" />

Originally published by me at JoomlaPeople.com, check that site too!

0
0
0
s2sdefault
Category: Template trickery