<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="2.0">
	<channel>
		<title>mosLoadModules - An Explanation</title>
		<description>Comments for mosLoadModules - An Explanation at http://www.howtojoomla.net , comment 1 to 25 out of 20 comments</description>
		<link>http://www.howtojoomla.net</link>
		<lastBuildDate>Tue, 07 Oct 2008 07:41:07 +0100</lastBuildDate>
		<generator>FeedCreator 1.7.2</generator>
		<item>
			<title>...</title>
			<link>http://www.howtojoomla.net/content/view/11/6/#comment-978</link>
			<description>mosLoadModules is a function in Joomla 1.0 that you use in a template to load a module position. It is used in the template's index.php file. - Cory</description>
			<pubDate>Thu, 21 Aug 2008 10:18:55 +0100</pubDate>
		</item>
		<item>
			<title>...</title>
			<link>http://www.howtojoomla.net/content/view/11/6/#comment-977</link>
			<description>Module mosLoadModules can be found in what file &amp;#40;.php&amp;#41; ?
Thanks. - Angela</description>
			<pubDate>Thu, 21 Aug 2008 10:12:50 +0100</pubDate>
		</item>
		<item>
			<title>...</title>
			<link>http://www.howtojoomla.net/content/view/11/6/#comment-781</link>
			<description>Dear Friend

How can change this one ? - dk</description>
			<pubDate>Thu, 08 May 2008 02:46:11 +0100</pubDate>
		</item>
		<item>
			<title>...</title>
			<link>http://www.howtojoomla.net/content/view/11/6/#comment-739</link>
			<description>Hi Cory,
This article is excellent for beginners such as myself. My question is the same as Marco's. How do I get 2 modules to occupy the same position, such as having one float right and the other centered? Is this even possible?
Thanks!
--Sina - Sina</description>
			<pubDate>Wed, 26 Mar 2008 23:42:10 +0100</pubDate>
		</item>
		<item>
			<title>...</title>
			<link>http://www.howtojoomla.net/content/view/11/6/#comment-730</link>
			<description>Hi Cory,
Your article made a very interesting readig to me and I have learnt a lot from it. I hiwever still need your guidance in line with the following:
1. When I code mosLoadModules(&quot;left&quot;), how do I determine which modules are located in this 'left position?
2. Also, how do I place a new module (written by me eg. calendar) in one of the positions 'left', 'right', 'user1' etc. ?
Thanks.
 -- Akin - akin mayor</description>
			<pubDate>Mon, 17 Mar 2008 05:35:03 +0100</pubDate>
		</item>
		<item>
			<title>...</title>
			<link>http://www.howtojoomla.net/content/view/11/6/#comment-511</link>
			<description>Where to get picture graphically showing a position of the each CSS elements for rhuk_solarflare template? (header_outer, top_outer, top_inner, other... ) - Den</description>
			<pubDate>Thu, 04 Oct 2007 13:03:04 +0100</pubDate>
		</item>
		<item>
			<title>...</title>
			<link>http://www.howtojoomla.net/content/view/11/6/#comment-489</link>
			<description>This article was quite helpful.  

However can you please recommend the best way to horizontally place two or more modules in the same position ie. advert, without any space between the two modules. What is the best way to go about doing this.

Thanks in advance. - Marco</description>
			<pubDate>Mon, 24 Sep 2007 14:47:34 +0100</pubDate>
		</item>
		<item>
			<title>...</title>
			<link>http://www.howtojoomla.net/content/view/11/6/#comment-484</link>
			<description>Hi aravind,

I'm sorry that this was not helpful to you. You might want to look at this article: http://www.howtojoomla.net/content/view/20/2/ . It shows how to create a basic template in Joomla!, and it has links to other template tutorials.

Good luck! - Cory</description>
			<pubDate>Thu, 20 Sep 2007 08:27:36 +0100</pubDate>
		</item>
		<item>
			<title>...</title>
			<link>http://www.howtojoomla.net/content/view/11/6/#comment-483</link>
			<description>ur website not impressive what i need step-by-step for creating templates from last to end and how to
use that template using CMS - aravind</description>
			<pubDate>Wed, 19 Sep 2007 23:41:02 +0100</pubDate>
		</item>
		<item>
			<title>...</title>
			<link>http://www.howtojoomla.net/content/view/11/6/#comment-482</link>
			<description>thank you, that's it!  :) - Wirayudha Rohandi</description>
			<pubDate>Mon, 17 Sep 2007 22:15:21 +0100</pubDate>
		</item>
		<item>
			<title>...</title>
			<link>http://www.howtojoomla.net/content/view/11/6/#comment-433</link>
			<description>Hi Max,

Thank you for the kind words.

Cory - Cory</description>
			<pubDate>Thu, 16 Aug 2007 08:21:37 +0100</pubDate>
		</item>
		<item>
			<title>...</title>
			<link>http://www.howtojoomla.net/content/view/11/6/#comment-432</link>
			<description>Hi Cory,

As an o l d hack I really appreciate your work, enthusiasm and the fact that you put your church and faith out there on your site ... Thanks. God Bless and keep up the good work. - Max</description>
			<pubDate>Thu, 16 Aug 2007 08:08:22 +0100</pubDate>
		</item>
		<item>
			<title>...</title>
			<link>http://www.howtojoomla.net/content/view/11/6/#comment-415</link>
			<description>I'm using Joomla 1.0.13 and I'm designing a new layout.
I'm using mosLoadModules( 'left', -2 ); in my template, but Joomla keeps on generating tables instead of divs.
I'm looking for a solution, but cant find any. Is there another variable I need to set in order to get rid of tables?

Thanks,

Bram  - bram</description>
			<pubDate>Wed, 25 Jul 2007 15:19:45 +0100</pubDate>
		</item>
		<item>
			<title>...</title>
			<link>http://www.howtojoomla.net/content/view/11/6/#comment-344</link>
			<description>Hi Brock,

It does indeed help if you understand the code behind what is going on. In the template's index.php file, you would use the mosLoadModules php command to load a module position. You pass a couple of parameters to that command to tell it a) the name of the position, and b) the style of the position. The name is the straight forward  part. The style is a little tricky. Based on the number you give for the style (-3, -2, -1, 0, 1), Joomla will render each module in that position in a certain way.

For example, if you want to do rounded corners for each module in the &quot;left&quot; module position, you would use



That tells Joomla to output the HTML in such a way that you can use CSS to create the rounded corners effect.

I hope all of that makes sense.

Cory - Cory</description>
			<pubDate>Sun, 20 May 2007 21:14:04 +0100</pubDate>
		</item>
		<item>
			<title>...</title>
			<link>http://www.howtojoomla.net/content/view/11/6/#comment-343</link>
			<description>Hi, the css part of making round corner modules seems easy enough, but this part about the $style suffix doesn't make sense to me.

Where does one set the suffix to -3 and what is that other gibberish mean here:

Module Title
Module output

??? That looks like it defines rounded corners for only one module at a time. Will this work for all of my modules or only ones in a particular position or with a particular name. Where would I put this code? At what point is the -3 parameter even defined within this?

Sorry, I think one must be well versed in code to understand this. I'm afraid I'm not. - Brock McGee</description>
			<pubDate>Sun, 20 May 2007 18:09:22 +0100</pubDate>
		</item>
		<item>
			<title>...</title>
			<link>http://www.howtojoomla.net/content/view/11/6/#comment-155</link>
			<description>Hi Mark,

Great question! If you do not put a value for $style, it will default to $style=0.

Cory - Cory</description>
			<pubDate>Thu, 18 Jan 2007 15:01:38 +0100</pubDate>
		</item>
		<item>
			<title>...</title>
			<link>http://www.howtojoomla.net/content/view/11/6/#comment-154</link>
			<description>Hi,

In my template no style is specified, so I guess there is a 'default' style. Looks like:

    mosLoadModules ( &quot;right&quot; );

So which is the default style?

Thanks,
Mark - mark</description>
			<pubDate>Thu, 18 Jan 2007 14:55:54 +0100</pubDate>
		</item>
		<item>
			<title>...</title>
			<link>http://www.howtojoomla.net/content/view/11/6/#comment-123</link>
			<description>Hi James,

You've touched on a pretty common problem for designers. IE6 is terrible in terms of standards compliance. I could design a template for Firefox pretty quickly, but the extra time comes in when I need to make it work with Firefox, IE6, IE7, etc. The world would be a much better place for designers if all browsers rendered HTML/CSS the same. Unfortunately, they don't. I wish I could offer you a quick solution, but there is no quick solution. It's just a matter of trial and error and making it work the best you can.

Mixing CSS and tables is not a problem. I believe that the HTML code (including tables) should be used to identify the various sections of a page. As little style information as possible should be included in the HTML markup. Ideally, all of the style (layout, graphics, fonts, etc) should be handled in the CSS file.

Thanks for the comment, and Merry Christmas to you, too!

Cory - Cory</description>
			<pubDate>Sat, 23 Dec 2006 22:18:03 +0100</pubDate>
		</item>
		<item>
			<title>...</title>
			<link>http://www.howtojoomla.net/content/view/11/6/#comment-122</link>
			<description>Cory, thanks for these.
I'm thinking it's maybe not a good idea to mix CSS and tables? if you look at www.blueskieschina.com in safari &amp; firefox it looks ok. But in IE, somehow the browser doesn't like my code (and to &quot;debug&quot; is a ten minute walk to my girlfriend's PC... the dog likes this stage of the development!). Maybe I should be braver than just using DIV the once...? But if I could understand WHY IE is doing this, I'd feel a lot more comfortable. I did put a nbsp in the table cell. Stumped for now.
Have a good Christmas!
Cheers
James - James</description>
			<pubDate>Sat, 23 Dec 2006 21:37:49 +0100</pubDate>
		</item>
		<item>
			<title>...</title>
			<link>http://www.howtojoomla.net/content/view/11/6/#comment-116</link>
			<description>@James:

The only way to modify the cell spacing without changing the core ([i]NOTE: I do not recommend changing the core.[/i]) is in your template's CSS file. Since you are probably using tables for your layout, you would need to wrap the module position in a &quot;td&quot; tag with a class or id to help your CSS identify that tag. Then, you would add the following to your template CSS file:

[quote]td.yourclass table.moduletable td { margin: [i]some_value[/i]px; }[/quote]

I'm glad you see the need to learn CSS-driven design, and I understand that it is difficult to get past the initial learning curve. Here are some links that you might find helpful:

[url=http://www.cssbasics.com/]CSS Basics - Making Cascading Style Sheets Easy to Understand[/url]
[url=http://blog.html.it/layoutgala/]Layout Gala: a collection of 40 CSS layouts based on the same markup and ready for download![/url]
[url=http://www.dynamicdrive.com/style/layouts/]Dynamic Drive CSS Layouts- Tableless, CSS based templates[/url]
 [url=http://css.maxdesign.com.au/floatutorial/index.htm]Floatutorial: Step by step CSS float tutorial[/url]

I hope this helps. :) - Cory</description>
			<pubDate>Mon, 18 Dec 2006 09:43:58 +0100</pubDate>
		</item>
	</channel>
</rss>
