Main Menu
Home
News
Free Products
Commercial Products
About Us
Contact Us
FAQ
Product Updates
Google

BasicMOD Help

This FAQ will give answers to common questions I am asked regarding BasicMOD.

There are 6 entries in the FAQ.
Pages: 1

Questions:

Could you please explain the Menu Link ID Parameter?
How to use BasicMOD multiple times?
The page I want to open doesn't have a related Menu link, can I still link to it?
How do I use the Extra Parameters?
Could you explain the extra parameters syntax more please?
Why won't the image I've selected display in the module?

Questions and Answers
Could you please explain the Menu Link ID Parameter?
If you open a specific menu, e.g. mainmenu, within your administrator interface, you will see a list of all menu entries within that menu.

The last column - CID - gives the ID number of that specific menu entry. This is the number that you should enter in the BasicMOD module configuration screen. When clicked, this menu entry will be emulated.
How to use BasicMOD multiple times?
I want to use the module more than 1 time. What should I do?

e.g. How do I create the result for displaying 3 Basic Module like your Basic Module 1-3 on :
http://www.parkviewconsultants.com/content/view/25/50/

Install 3 times? or Do I need to manually change the file name of the module to e.g. mod_pv_basic-1.php before install?


No - What you need to do is go to the Modules->Site Modules menu in the Administration Interface, select the instance of BasicMOD (mod_pv_basic) and then select the Copy icon at the top right of the admin screen. This will create a new copy of the module and you can change the paramters of this instance. I have simply made about 4 or 5 copies for my pages.
The page I want to open doesn't have a related Menu link, can I still link to it?
In a way, yes. Unfortunately, the current Joomla/Mambo framework places great emphasis on the use of ItemID when moving between pages. Therefore, the safest way to link to another page is by emulating a verified ID. The menu entries all have verified IDs.

If the target you wish to link to does not have a current menu I would advise you to create a new menu (called hiddenmenu or similar) and set up dummy entries here to the pages you wish to target. These menu entry CIDs can then be used by BasicMOD.
How do I use the Extra Parameters?
The templates provided with the module contain extra placeholders for variables. In the templates 'Default' and '2 Cell Table' there are 2 placeholders called {EXTRA} and {DEBUG} and in ExtraParams there are several, {NAME}, {RANK}, {SERIALNUMBER} and {DEBUG}.

Now the {DEBUG} variable is used for debug messages when you turn the feature on in configuration. To use any of the others, you enter the variable name and value in the Extra Params text box when configuring the module.

So for the first 2 templates, you would enter
extra=my text to appear at the end of the module
For the ExtraParams template you would enter
name=diego; rank=top customer; serialnumber=1234;
Semicolons seperate each name=value pair.

Of course, you can edit the templates to add any parameters you require making the module very extensible.

For the demonstration of Latest News on this web site, i used
extra={mosinline451:Latest News}
where mosinline451 is a mambot I have installed on my site. This placed the output of another module in line at the {EXTRA} placeholder in the template.
Could you explain the extra parameters syntax more please?
Please explain the syntax suggested for these parameters in the popup help, ie, (param=text;[param=text;]*) - how do I interpret and use the bracketing?

The format is a standard programmers shorthand. Anything in [] is optional and the asterisk means 0 or more times. Hence, the formats allowable include:
param1=some text;

OR

param1=some text;param2=more text;

OR

param1=some text;param2=more text;param3=different text;

etc etc.

they can also be on newlines, as the carriage return is ignored, ie
param1=some text;
param2=more text;
param3=different text;
Why won't the image I've selected display in the module?
The images must be in the /images/stories subdirectory under your Mambo/Joomla home directory and must be readable.

SimpleFAQ V2.50


All content is copyright of Parkview Consultants
Powered by Joomla!
Terms