Search: Advanced search
|
Browse by category:
|
Glossary |
Search: Advanced search
|
Browse by category:
|
Glossary |
Theming your Mambo web site |
|||||
Mambo versions up to 4.7 use what are called "templates " for creating the theme of your web site . Templates allow you to define the look for your Mambo website. They are highly configurable, and can be used in many different ways. You can have more than one template in use on your site at a time. Additional templates can be completely different or subtle variations of each other, such as disabling Modules within particular areas of your Mambo website. How do they work?The templates are XHTML and CSS documents. They are just like any other CSS or XHTML document, only that instead of content written directly into them, you place variables such as "main content here", "left modules here", "banners here" and so on. This means that you use Mambo to manage the content, and Mambo places the content the way you have specified within the template. Now you can easily change layout of a site, without having to do anything with the content itself. Mambo will just place the content in the variables you have defined in the new template as if nothing have happened. On the other hand, this doesn't mean that you only can customize the elements around the content. Mambo fills the content with CSS-IDs and classes, so that you can use these tools to make the template determine which color and fonts and point sizes page elements should have. The behaviour and style of the menus, the margins between content images and text and a variety of other presentation decisions can be controlled by the template. Why templates?The most noticeable advantage of the template system is the flexibility. If you have a regular static HTML site and want to change the menu, you'll have to manually change this on every page on your site where your menu is shown. With Mambo (and all other template-systems), you only need to modify your template, and this will apply to every single page on your site - because of that the template only echo the content that Mambo creates. This saves you a lot of work, and is a very big advantage for designers and developers. NOTE: Mambo uses XHTML 1.0 Transitional as the minimum DOCTYPE within its core . Starting with Mambo 4.7, you will be able to code your sites to validate as XHTML 1.0 STRICT or even XHTML 1.1 should you wish. Developing themes for Mobile content is possible in earlier versions of Mambo, but will be even easier with Mambo 4.7.
|
|||||
| Others in this Category | |
| Tips and tricks for using Mambo templates | |
| Overview of Theming your Site with Mambo Templates | |
| Working with CSS and Stylesheets | |
| How to install templates on your Mambo site | |
Copyright © 2000 - 2008 Mambo Foundation, Inc | Reg. No. A0047564G | Terms of Use | Privacy Policy
Mambo® and the Mambo logos are trademarks of the Mambo Foundation, Inc.
Managed Servers by DedicatedNOW