create afolder caleed 'mytheme', open the joomla tempate file, you have index.php, an xml file, template.css/php, image foder. copy the image folder, index.php and template.css to 'mythem'
Rename index.php to page.tpl.php and template.css to style.css.
Open the page.tpl.php in your favourite editor. replace as following
Step 1
joomla header
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
$iso = split( '=', _ISO ); echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
//
if ( $my->id ) { initEditor(); }
mosShowHead();
Druplal header
// $Id: page.tpl.php,v 1.15 2007/11/04 15:01:39 goba Exp $
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
print $language->language " lang=" print $language->language ">//.
print $head_title
print $head
print $styles
print $scripts
print phptemplate_get_ie_styles();
Step2
joomla
Drupal
print phptemplate_body_class($left, $right); >
..................
Step3
joomla
site name
echo $mosConfig_sitename;
Drupal
if ($site_name):
print t('Home') "> print $site_name endif;
Step4
Joomla
Pathway
mospathway()
Drupal
Breadcrumb
print $breadcrumb;
Step5
joomla
main body
mosMainBody(); Drupal
Content
print $content
step6
Jomla
left block
if (mosCountModules('left')>0) mosLoadModules('left',-1);
Drupal
left sidebar
if ($sidebar_left):
print $sidebar_left
endif;
Step7
joomla
right block
if (mosCountModules('right')>0) mosLoadModules('right',-1);
Drupal rightside bar
if ($sidebar_right):
print $sidebar_right
endif;
Step8
Joomla user 3
if (mosCountModules('user3')>0) mosLoadModules('user3',-1);
Drupal primary links
if (isset($primary_links)) :
print theme('links', $primary_links, array('class' => 'links primary-links'))
endif;
step9
joomla
search
echo _SEARCH_BOX; " onblur="if(this.value=='') this.value=' echo _SEARCH_BOX; ';" onfocus="if(this.value==' echo _SEARCH_BOX; ') this.value='';" />Drupal
search
print $search_box
Step10
Joomla
footer
mosLoadModules('bottom', 0);
Drupal
Footer
print $footer_message
Step11
joomla
body close
Drupal
body close
print $closure