|
Page 3 of 3
Next you will need to place the images that make up your new template into the images folder and delete the images there for the Gentle Gray template. Now you need to adjust the path to the images in the index.php page. Normally it is very simple to find the path in a web template. Mambo works a little differently. Most of the time your images are in a folder named "images", so the path would be something like this:
images/yourimage.gif
In Mambo it looks like this:
<?php echo $mosConfig_live_site;?>/templates/templatefoldername/images/yourimage.gif, where templatefoldername is the name you chose for your Mambo template. I know this might seem daunting the first time around, but hang in there.
After you have specified the path for all of your images in the index.php file you can delete the layout for the Gentle Gray Template. You will need to edit the templateDetails.xml file. The code of the page looks like this:
<?xml version="1.0" encoding="iso-8859-1"?>
<mosinstall type="template">
<name>Your Template Name</name>
<creationDate>10/13/2004</creationDate>
<author>Your Name</author>
<copyright>This template is Copywritten by You</copyright>
<description>Our Template</description>
<authorEmail>
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
</authorEmail>
<authorUrl>http://www.yourdomain.com</authorUrl>
<version>1.0</version>
<files>
<filename>index.php</filename>
<filename>template_thumbnail.png</filename>
</files>
<images>
<filename>images/yourimage.gif</filename>
<filename>images/yourimage2.gif</filename>
<filename>images/yourimage3.jpg</filename>
<filename>images/yourimage4.gif</filename>
<filename>images/yourimage5.gif</filename>
</images>
<css>
<filename>css/template_css.css</filename>
</css>
</mosinstall>
The examples of the locations of "yourimage.gif" and so on need to be replaced with whatever the name of each image used to make up your template. And that as they say is it. This is just basic instruction on using a regular web template to create a Mambo Basic Templating and Site Design
As I have shown you HTML web templates can be used to skin just about any software you will use on the Net, to add more interactivity and function on your web site. Generally speaking programmers are not designers. They create the function, it is your job to make it appealling to the eye.
About the Author
Adem Martin del Campo is the creator of the Template Hunter website. Along with offering free web templates, you can find top quality pro 101 Web Template
|