|
|
Home FAQs |
How do I control whether modules are vertically or horizontally arranged?
| Author(s): | Mcsmom | Experience level: | Beginner | Contributors: | Joomla! version: | ![]() | Date added: | Sunday, 25 March 2007 | Date last changed: | Tuesday, 30 November 1999 |
Usually it looks something like this:
<?php if (mosCountModules('top')>0) mosLoadModules ( "top" ); ?>
By default, modules are arranged in a vertical list. However, you can control this by changing the line. For example, to make a horizontal layout use
<?php if (mosCountModules('top')>0) mosLoadModules ( "top", 1 ); ?>
For vertical
<?php if (mosCountModules('top')>0) mosLoadModules ( "top", 0 ); ?>
Here are the definitions of the numbers for mosLoadModules:
1 = horizontal, 0 = normal, -1 = raw, -2 = XHTML and -3 = extra divs.
Last Updated Tuesday, 30 November 1999
| < Prev | Next > |
|---|



FAQs 