---------------------------------------------------------------------
Step 1:
-------

Create a theme in dreamweaver or other while making sure to use
keywords like in (1_dreamweaver-design.html)

[See keywords.txt for keyword usage]

So that images, etc, show up correctly in dreamweaver, you should
create your html file directly in the root folder of the theme.

Make sure all your images are in /images & your css file is called
style.css and is present in the /style

Associate your stylesheet to the document your creating in DW so
you get a good idea of the final result.

Just look at 1_dreamweaver-design.html to see how all was done.

NOTE: You need to insert a comment before and after each block you
      create, and use the EXACT comment names as in keywords.txt
      Again, look in 1_dreamweaver-design.html for how it was done.
---------------------------------------------------------------------

---------------------------------------------------------------------
Step 2:
-------

Look in keywords.txt, and replace all keywords with their replacement
equivalents.

You may also use the MED macro to automate this whole process.
See /med-config/readme_med.txt for more information.
---------------------------------------------------------------------

---------------------------------------------------------------------
Step 3:
-------

Simply look at the replacements you made and follow the instructions
the comments give you, and copy everything into their appropriate
section in theme.php & themenews.php
---------------------------------------------------------------------

---------------------------------------------------------------------
Step 4:
-------
In step 3 all was copied, but we have 1 thing to change.
If we are not on the main page, we need to hide the right sideblocks.

For this, usually in themefooter()

find something that looks like:
<td align="center" valign="top" class="sidebar2" width="160">
<?php make_sidebar("right");?>
</td>

And change it to:
<?php if ($show_rblock) { ?>

<td align="center" valign="top" class="sidebar2" width="160">
<?php make_sidebar("right");?>
</td>

<?php } else { echo "<td width='1' style='display:none;'>&nbsp;</td>"; } ?>
---------------------------------------------------------------------

---------------------------------------------------------------------
Step 5:
-------
At the top of theme.php we need to specify the name of the folder
of the theme, so xoops can find images and stuff.

So:
$xoopsTheme['thename'] = "your themes folder name";

In this case becomes:
$xoopsTheme['thename'] = "t_tellus";

---------------------------------------------------------------------

---------------------------------------------------------------------
About images:
When adding images to your theme, they should of course all ALREADY
be in the /images folder, and in dreamweaver their path looks like:

<img src="images/logo.gif">

But xoops needs the actual url to the image,

for this we replace:
images/

with
<?php echo XOOPS_URL."/themes/".$xoopsTheme['thename'];?>/images/

and the above example becomes:
<img src="<?php echo XOOPS_URL."/themes/".$xoopsTheme['thename'];?>/images/logo.gif">

-----------------
Note: This is the first thing replaced when using the med macro, so
      you don't even need to adjust the paths to your images.
      Unless your replacing keywords by hand of course.
