Find out more about the “Show Off Your Avatar Campaign
RocketTheme  |  General  |  Free/GPL/Tutorials Discussions  |  Topic: Module suffix field in Module's settings « previous next »
Pages: [1] Go Down Print
Author Topic: Module suffix field in Module's settings  (Read 7935 times)
James S!
Muffin Man
RocketTheme
Hero Rocketteer
*
Online Online

Posts: 36131


Firebug...Firebug...Firebug!

WWW
Module suffix field in Module's settings
« on: December 20, 2007, 11:42:16 AM »

If you do not have the Module suffix field in your Module's control panel, do the following.

1. Open mod_modulename.xml with modulename being the name of the module such as roklogin, mod_roklogin.xml
2. Find
Quote
<params>
3. Below, add
Quote
<param name="moduleclass_sfx" type="text" default="" label="Module Class Suffix" description="A suffix to be applied to the css class of the module (table.moduletable), this allows individual module styling"/>
« Last Edit: January 05, 2008, 03:57:35 AM by James S! » Logged

Firebug Video Tuts: - Editing HTML - Javascript Errors - Logo Changes

Video tutorials on how to use Firebug, its what we use Smiley
JaiHutcherson
Professional
Jr. Rocketeer
*
Offline Offline

Posts: 43


WWW
Re: Module suffix field in Module's settings
« Reply #1 on: December 20, 2007, 12:32:44 PM »

I know I am going to sound like an idiot...im used to it...... but <params> is not in my xml file. I did find <params/> closing is, but the start or what you told me to find <params> is not in the doc. so, can i put it there? and if so where?

Thanks,
jai
Logged

"Love the Music in Yourself,
Not Yourself in the Music."
www.jaihutcherson.com.
James S!
Muffin Man
RocketTheme
Hero Rocketteer
*
Online Online

Posts: 36131


Firebug...Firebug...Firebug!

WWW
Re: Module suffix field in Module's settings
« Reply #2 on: December 20, 2007, 01:42:47 PM »

Hmm, it should have it if it has the closing tag. Can you link me to the .xml file such as www.yoursite.com/modules/mod_name.xml ?
Logged

Firebug Video Tuts: - Editing HTML - Javascript Errors - Logo Changes

Video tutorials on how to use Firebug, its what we use Smiley
Mark Carter
Newbie
*
Offline Offline

Posts: 15

Re: Module suffix field in Module's settings
« Reply #3 on: December 22, 2007, 10:47:18 AM »

I've got the same problem - no opening params tag.

Here's the xml url:
http://www.alltropicalfish.com/templates/rt_populus/templateDetails.xml

Thank you.
Logged
James S!
Muffin Man
RocketTheme
Hero Rocketteer
*
Online Online

Posts: 36131


Firebug...Firebug...Firebug!

WWW
Re: Module suffix field in Module's settings
« Reply #4 on: December 22, 2007, 12:20:19 PM »

That is the one for the template, I need the one for the module such as http://demo.rockettheme.com/dec07/modules/mod_roklogin.xml
Logged

Firebug Video Tuts: - Editing HTML - Javascript Errors - Logo Changes

Video tutorials on how to use Firebug, its what we use Smiley
Mark Carter
Newbie
*
Offline Offline

Posts: 15

Re: Module suffix field in Module's settings
« Reply #5 on: December 23, 2007, 03:39:53 AM »

The module path is:
http://www.alltropicalfish.com/modules/

There is no templateDetails.xml file

There is a file that has <params> in the custom.xml - not sure if that's the file you need, but it already seems to have the line of code you suggested above.

http://alltropicalfish.com/modules/custom.xml
Logged
James S!
Muffin Man
RocketTheme
Hero Rocketteer
*
Online Online

Posts: 36131


Firebug...Firebug...Firebug!

WWW
Re: Module suffix field in Module's settings
« Reply #6 on: December 23, 2007, 03:47:42 AM »

This guide only applies if you have no Module Hilite field in a particular module such as the CB Random Users module. Most modules have it already but in the rare occasion that it doesn't, this guide will help.

This has nothing to do with templateDetails.xml at all as that is purely for template use only. The only files we are concerned with are mod_"module name".xml.

If the module has no parameters, it will not have <params>, <param>,  or </params>. In that rare case you would have to add them all. The example I gave was for adding a Module Hilite field
Quote
<param name="moduleclass_sfx" type="text" default="" label="Module Class Suffix" description="A suffix to be applied to the css class of the module (table.moduletable), this allows individual module styling"/>

If there are no other params, wrap that code to emulate
Quote
<params>
<param name="moduleclass_sfx" type="text" default="" label="Module Class Suffix" description="A suffix to be applied to the css class of the module (table.moduletable), this allows individual module styling"/>
</params>
Logged

Firebug Video Tuts: - Editing HTML - Javascript Errors - Logo Changes

Video tutorials on how to use Firebug, its what we use Smiley
Mark Carter
Newbie
*
Offline Offline

Posts: 15

Re: Module suffix field in Module's settings
« Reply #7 on: December 23, 2007, 04:08:08 AM »

I want to add this to use the hilite options for the "Top Posts" which file must I add the above code?
Logged
James S!
Muffin Man
RocketTheme
Hero Rocketteer
*
Online Online

Posts: 36131


Firebug...Firebug...Firebug!

WWW
Re: Module suffix field in Module's settings
« Reply #8 on: December 23, 2007, 06:47:17 AM »

If you are referring to populus, it is mod_wz_uftt.xml
Logged

Firebug Video Tuts: - Editing HTML - Javascript Errors - Logo Changes

Video tutorials on how to use Firebug, its what we use Smiley
Mark Carter
Newbie
*
Offline Offline

Posts: 15

Re: Module suffix field in Module's settings
« Reply #9 on: December 23, 2007, 07:19:58 AM »

Thank you - that did the trick!
Logged
JaiHutcherson
Professional
Jr. Rocketeer
*
Offline Offline

Posts: 43


WWW
Re: Module suffix field in Module's settings
« Reply #10 on: December 28, 2007, 05:47:37 AM »

Right On James!!!

Did the trick for me as well!

Thanks,
jai
Logged

"Love the Music in Yourself,
Not Yourself in the Music."
www.jaihutcherson.com.
Guido Kaminiarz
Sr. Rocketeer
****
Offline Offline

Posts: 132


Re: Module suffix field in Module's settings
« Reply #11 on: January 02, 2008, 04:34:42 PM »

So easy? Unbelievable.. big Thanks to you!
Logged
GollumX
Professional
Hero Rocketteer
*
Offline Offline

Posts: 2691


Got Coffee?

WWW
Re: Module suffix field in Module's settings
« Reply #12 on: January 04, 2008, 11:43:45 PM »

James, see 1.) in the first post of the thread to understand the confusion Smiley
Logged

ninjaforge.com - Joomla Open Source Extension Club
James S!
Muffin Man
RocketTheme
Hero Rocketteer
*
Online Online

Posts: 36131


Firebug...Firebug...Firebug!

WWW
Re: Module suffix field in Module's settings
« Reply #13 on: January 05, 2008, 03:56:56 AM »

James, see 1.) in the first post of the thread to understand the confusion Smiley


Lmao, cheers  Cheesy
Logged

Firebug Video Tuts: - Editing HTML - Javascript Errors - Logo Changes

Video tutorials on how to use Firebug, its what we use Smiley
arn75
Jr. Rocketeer
**
Offline Offline

Posts: 36


Re: Module suffix field in Module's settings
« Reply #14 on: March 06, 2008, 05:08:21 PM »

That DID the Trick for sure Smiley

Big Thanks this time i don´t have to ask i found the answer right in time,
but James when did you come up with the idea of that awesome name?  Grin
 
Quote from: James S!
it is mod_wz_uftt.xml
Logged
Pages: [1] Go Up Print 
RocketTheme  |  General  |  Free/GPL/Tutorials Discussions  |  Topic: Module suffix field in Module's settings « previous next »
Jump to: