|
Search:     Advanced search
Browse by category:
Glossary

How to use Mambo Modules

Add comment
Votes: 0
Comments: 0
Posted: 22 Mar, 2008
by: Pope L.
Updated: 24 Mar, 2008
by: Pope L.
Modules: small blocks that can displayed in various spots around (and in!) your main content.. how to use them?

There are two main ways to create modules, two main ways to use your modules, and many ways to change a page look with their settings.

Creation:

* install new ones via the Installer => Modules link for pre 4.6, and through the Universal Installer for Mambo 4.6.x
* create your own from the admin interface.
NOTE: If you want to use code such as the object tag for an SWF or an image tag etc, it's best to disable your editor (Site => Global Configuration => Default WYSIWYG Editor : No) before pasting the code into the custom box!

Usage:

* load the into a module position coded into your site's template
* load all published modules assigned to a certain position into a content item via a mambot call.

When editing a module from the Module Manager screen by clicking its name, you can very easily assign or change any of the existing positions. If this position is present in your template, all modules assigned to it and published will be shown in the order they have in the Module Manager screen. Which positions are available to you, and where they are located in the template is very easy to see via the Site => Preview => Inline with Positions menu.

Modules can also be loaded into your content items via the { mosLoadModules (positionName) } call, so for example you publish the poll module to position left (and no other module!), and then load it into an article with a poll corresponding to the subject.

Settings:

* set the access level to "registered" and the module will only be visible to logged in members of your site
* change the module position, and your page will change accordingly
* assign a module only to selected pages by selecting them on the list of existing menu items on the parameters screen, and it will show up only on these -magic!
* add a sticky intro text into a custom module, create a position for it in your template above the main content.
Easy to update from admin, easy to unpublish or publish as needed with just one click ...

As you can see, modules are very flexible, easy to add/remove/hide, so use them extensively!
Others in this Category
document How secure is Mambo?
document Blocking direct access to scripts in your wrapper
document How to install templates on your Mambo site
document How to move your Mambo site
document How to change the template name
document Troubleshooting the WYSIWYG editor
document Lost your admin password?
document Database function failed with error 1054
document Popups not working?
document Incorrect Itemid's
document CAPTCHA not working
document Working with META tags
document Blank or 'White' Pages
document How to turn off MySQL Strict Mode
document FAQ: "This Category is currently empty"
document How to find your version of PHP & other useful information
document What to do when you get a site is temporarily unavailable error
document session save path issues
document Changing/Creating your own favicon
document FAQ: Checked In/ Checked Out
document How to determine Absolute Path

RSS