Categories

CategoryTemplate(257)
CategoryJoomla 1.5 Downloads(61)
CategoryModules(44)
CategoryWordpress Theme(35)
CategoryComponent(32)
CategoryGraphics(12)
CategorySEO(12)
CategoryAdsense(11)
CategoryMenu for joomla(9)
CategoryEbooks 4 joomla(6)

Newest files

Date iconAug.07

Plugin (Mambot) for displaying one or more Google Maps within content-items, modules or component...

Date iconAug.05

joomla templates for Apple iphone Since its launch the Appl...

Date iconAug.04

JMS countdown module is used to view time count down in your site. When you waiting for an event ...

Date iconAug.04

JMS User Statistic module displays the statistic of member in your site : * Total members....

Date iconJul.31

Date iconJul.23

Link


FatCow $66 Plan


Joomla master
,.,.,.,.,.,.,.
javascriptbank
Home arrow Tutorials arrow Converting your joomla templates to 1.5
Converting your joomla templates to 1.5 PDF Print E-mail
Written by Administrator   
Thursday, 20 December 2007

(  From http://www.cssplatform.com)

As the new Joomla release dawns on us I gues this will be a very common question for those wishing to upgrade to the new version and still keep the precious template.

The process is very simple and it only requires a few small changes in the code. How easy it is will certainly depend on how your joomla template provider has coded your .php file. From my experience some of the joomla templates out there have some pretty scary coding and can take a long time to find anything.

Here it goes:

1. Replace the head of your document with the code below. ATT: This icnludes the latest changes made to correct the SEF issues with the previous RC release. Replace all of the top code in your index.php code down to the tag with the following:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" >
<head>
<jdoc:include type="head" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template.css" type="text/css" />
</head>

2. Replace all php codes relating to modules.

This is an example of an old code <?php mosLoadModules ( 'header', -3 ); ?>
Replace with this <jdoc:include type="modules" name="header" style="xhtml" />

3. Replace the mainbody code from <?php mosMainBody(); ?> to <jdoc:include type="component" style="xhtml" />

4. Rename the template_css.css file in your /css folder to template.css
Hits: 2179
Comments (0)Add Comment

Write comment
quote
bold
italicize
underline
strike
url
image
quote
quote
smile
wink
laugh
grin
angry
sad
shocked
cool
tongue
kiss
cry
smaller | bigger

busy




Reddit!Del.icio.us!Facebook!Slashdot!Netscape!Technorati!StumbleUpon!Newsvine!Furl!Yahoo!Ma.gnolia!Free social bookmarking plugins and extensions for Joomla! websites!
Last Updated ( Monday, 14 January 2008 )
 
< Prev   Next >

Polls

Best hosting for joomla
 

Translation

Most downloads

Date iconAug.05

Date iconMar.29

Date iconMar.17

Date iconMar.16

Date iconNov.29

Date iconJul.28

The 247Shock Template Color Pack for Joomla with different colors. (Black, Brown, Pink, Blue, Gre...

Date iconJul.25

Shows current date,time and day of the week, with "fade effect" Six color option: Blue...

Most requested

Date iconFeb.06

The skeleton template is exactly what it says on the tin - a blank template intended to provide t...

Date iconJul.25

Shows current date,time and day of the week, with "fade effect" Six color option: Blue...

Date iconAug.05

joomla templates for Apple iphone Since its launch the Appl...