I have never used the Expression Engine (EE) before, so this is a complete experiment. Let's see how it goes...
page.tpl.php
From what I can see, EE has a file called index.txt that displays almost everything. This file is our page.tpl.php candidate.
- Remove the
{assign_variable:master_weblog_name="journal"}from the beginning of the index.txt file
{assign_variable:main_template_group="bartelme"} - In the html definition, replace @{lang}@ with @en@ - this is just a fix for en web sites - a proper i18n solution should be implemented for production sites
- Replace
{exp:weblog:info weblog="{master_weblog_name}"}{blog_title}{/exp:weblog:info}with @@ - Drupal adds metadata itself, so you don't have to worry about it - so remove it
- Remove links to stylesheets and javascripts and add
- Replace @{homepage}@ with @@
- Replace @{exp:weblog:info weblog="{master_weblog_name}"}{blog_title}{/exp:weblog:info}@ with @@
- Replace @{exp:weblog:info weblog="{master_weblog_name}"}{blog_description}{/exp:weblog:info}@ with @@
- Replace the navigation block with
print theme('links', $primary_links, array('class' => 'navmenu primary-links'));
} ?>
print theme('links', $secondary_links, array('class' => 'navmenu secondary-links'));
} ?> - Replace the search code @{exp:search:simple_form search_in="everywhere" result_page="search/results"}...{/exp:search:simple_form}@ with @@ we will assign the search form to the header block to appear here
- In the About section, replace the paragraph text with the mission statement @@
- In the posts section, add the Drupal messages, help, tabs and the rest
'. $mission .''; } ?>
'; } ?>
'. $title .'
'; } ?>
'; } ?>
- Copy the text to print the posts and paste it to node.tpl.php
- Replace the code @{exp:weblog:entries weblog="{master_weblog_name}" limit="1" sort="desc" orderby="date"}...{/exp:weblog:entries}@ and @{exp:weblog:entries weblog="{master_weblog_name}" limit="2" offset="1" sort="desc" orderby="date"}...{/exp:weblog:entries}@ with
strlen('











