Members: 16,996
Threads: 38,845
Posts: 159,389
Online: 13

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
Old 18.02.2005, 02:02   #1 (permalink)
Junior Mamber
 
Join Date: Apr 2004
Location: Nottingham
Posts: 46
deejay is on a distinguished road
Question Module Class Suffix

Hi All,

Can some kind soul give me a simple explanation of "Module Class Suffix", at the bottom of the property of each module in admin.

Also (slighty off topic), Random image - what path do I put in for the "path to the folder". Currentl set as: mambo/images/stories/mypics/. Tried all ways - stll won't work!

Cheers,
Dave
deejay is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 18.02.2005, 02:19   #2 (permalink)
Senior Mamber
 
Join Date: Aug 2004
Location: Ontario, Canada
Posts: 172
Jifor will become famous soon enough
Default Re: Module Class Suffix

In template_css.css you will find a general class for all of your modules. This class determines how your modules look and they will all look the same unless you assign a suffix to a given module. That module can then use different rules. Here is an example using the suffix _login which you might use with the login module if you wanted it to look different than other modules:

This one puts a gray background behind the module headers.
Code:
table.moduletable {
width:100%;
}

table.moduletable th {
font-weight: bold;
background-color: #E4E4E4;
border-bottom: #C0C0C0 solid 1px;
padding: 5px;

}
table.moduletable td {
font-weight: normal;
padding: 5px;
}
This one has no background.
Code:
table.moduletable_login {
width:100%;
}

table.moduletable_login th {
font-weight: bold;
padding: 5px;

}
table.moduletable_login td {
font-weight: normal;
padding: 5px;
}
I hope this helps,

David
__________________
http://sunspotinteractive.com
Jifor is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 21.02.2005, 18:32   #3 (permalink)
Junior Mamber
 
Join Date: Apr 2004
Location: Nottingham
Posts: 46
deejay is on a distinguished road
Thumbs up Re: Module Class Suffix

Cheers David,

Answered brilliantly!
My css file is getting very long! Hard to find things now!

Quote:
Also (slighty off topic), Random image - what path do I put in for the "path to the folder". Currently set as: mambo/images/stories/mypics/. Tried all ways - stll won't work!
Would you have any idea on this?
Thanks,
Dave
deejay is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 21.02.2005, 19:20   #4 (permalink)
Senior Mamber
 
Join Date: Aug 2004
Location: Ontario, Canada
Posts: 172
Jifor will become famous soon enough
Default Re: Module Class Suffix

Make sure you comment on your css:

/*custom modules classes*/ for example. This will help you find things a little.

If you are using the built in Mambo module, i have never gotten that to work.
__________________
http://sunspotinteractive.com
Jifor 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
Module Class suffix working fine with IE but not with Firefox hornos Mambo 4.5.1 Bugs 8 10.02.2005 23:22
strange Module Class Suffix problem... kym Template Discussions 0 05.02.2005 11:12
Module Class Suffix strange problem... kym Mambo 4.5.1 'How Do I' Questions 0 05.02.2005 11:11
Module Class Suffix: uaegirl Mambo 4.5 General Talk 1 05.12.2004 00:35
Module Class Suffix StevX Mambo 4.5 Allgemein 0 31.10.2004 15:30


All times are GMT +2. The time now is 09:45.

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.