Members: 16,996
Threads: 38,831
Posts: 159,349
Online: 24

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse

Go Back   Mambers.com > Development > Module 'How Do I' Questions

Reply
 
LinkBack Thread Tools Display Modes
Old 08.04.2004, 20:12   #1 (permalink)
Baby Mamber
 
nelito30's Avatar
 
Join Date: Apr 2004
Posts: 24
nelito30 is on a distinguished road
Default How do i put two modules side by side?

How do i put two modules side by side on the top or at the bottom of the page like mamboportal used to do, instead of putting them one above the other?
nelito30 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 08.04.2004, 20:37   #2 (permalink)
Professional Mamber
 
Join Date: Mar 2004
Posts: 802
jomaco1 is on a distinguished road
Default Re: How do i put two modules side by side?

The advice will be relevant to the template you are using. It may already be capable of doing this...or you may need to customize it to do so. Using tables, you would need a nested table with 2 columns...put a unique module placeholder in each column, such as user1 and user2, then just assign 2 modules to those positions.
__________________
Mark

Arthur...congrats on the rebuild! Hope it stays clean.

Click HERE to view signature. (If nothing happens at first...keep clicking)
jomaco1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08.04.2004, 20:37   #3 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 9
dino is on a distinguished road
Default Two columns per row top module

I would like to create top module with two or more columns displaying on the top...
At this moment it displays top modules one under another.

I checked the template and could not change that in the template, does anybody have any suggestions where to look?

This is the code of my template:
Code:
<!-- Top Modules -->
<?php
if (mosCountModules('top')>0) {
?>
<table class="contentpane" border="0" cellpadding="2" cellspacing="0" width="100%">
<tr>
<td width="100%"><?php mosLoadModules ( "top" ); ?></td></tr>
</table><p />
<?php
}
?>
dino is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08.04.2004, 20:42   #4 (permalink)
Baby Mamber
 
nelito30's Avatar
 
Join Date: Apr 2004
Posts: 24
nelito30 is on a distinguished road
Default Re: How do i put two modules side by side?

But if i use sth like User1, user2, i will close the content to some visitors...
nelito30 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08.04.2004, 20:42   #5 (permalink)
Professional Mamber
 
Join Date: Mar 2004
Posts: 802
jomaco1 is on a distinguished road
Default Re: Two columns per row top module

First of all, there are many ways to achieve this. One way would be to replace:

Code:
<td width="100%"><?php mosLoadModules ( "top" ); ?></td>
with:

Code:
<td width="100%"><?php mosLoadModules ( "user1" ); ?></td><td width="100%"><?php mosLoadModules ( "user2" ); ?></td>
__________________
Mark

Arthur...congrats on the rebuild! Hope it stays clean.

Click HERE to view signature. (If nothing happens at first...keep clicking)
jomaco1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08.04.2004, 20:47   #6 (permalink)
Professional Mamber
 
Join Date: Mar 2004
Posts: 802
jomaco1 is on a distinguished road
Default Re: How do i put two modules side by side?

No...those are just module placeholder names...the others are left, right, top, bottom and inset. In your module manager, check the drop down box for position....they will all be listed. If the placeholder is in your template, modules will show up in this position if selected in module manager.

__________________
Mark

Arthur...congrats on the rebuild! Hope it stays clean.

Click HERE to view signature. (If nothing happens at first...keep clicking)

Last edited by stingrey; 08.04.2004 at 21:13. Reason: Thread merge made part of post redundent
jomaco1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08.04.2004, 20:55   #7 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 9
dino is on a distinguished road
Default Re: Two columns per row top module

I have solved it like this

Code:
<!-- Top Modules -->
<table class="contentpane" border="0" cellpadding="2" cellspacing="0" width="100%">
<tr>
<td width="50%" valign="top"><?php mosLoadModules ( "top" ); ?></td>
<td width="50%" valign="top"><?php mosLoadModules ( "user1" ); ?></td>
</tr>
</table><p />
dino is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08.04.2004, 20:58   #8 (permalink)
Baby Mamber
 
nelito30's Avatar
 
Join Date: Apr 2004
Posts: 24
nelito30 is on a distinguished road
Default Re: How do i put two modules side by side?

Great, great! I knew that a friend from southpark would help me. Ill see there if it works
nelito30 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08.04.2004, 20:58   #9 (permalink)
Professional Mamber
 
Join Date: Mar 2004
Posts: 802
jomaco1 is on a distinguished road
Default Re: Two columns per row top module

Bingo
__________________
Mark

Arthur...congrats on the rebuild! Hope it stays clean.

Click HERE to view signature. (If nothing happens at first...keep clicking)
jomaco1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08.04.2004, 20:59   #10 (permalink)
Professional Mamber
 
Join Date: Mar 2004
Posts: 802
jomaco1 is on a distinguished road
Default Re: How do i put two modules side by side?

You know where to come for help!
__________________
Mark

Arthur...congrats on the rebuild! Hope it stays clean.

Click HERE to view signature. (If nothing happens at first...keep clicking)
jomaco1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible to use graphic in menu and name of modules! kotos Mambo 5.0 Wishlist 3 22.04.2004 18:33
Hide titles of modules romanus Module 'How Do I' Questions 9 08.04.2004 01:29
Template modules TheGreek Template Discussions 10 07.04.2004 23:27


All times are GMT +2. The time now is 03:16.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.