Support Joomla!
Search: Advanced Search
Serving 3352 extensions to the community. Last updated today.

Editor Blogs






Lost Password?
No account yet? Register

Who's Online

We have 759 guests and 45 members online
Joomla! Extensions Directory feed - RSS 0.91

Directory Support

Rules
Using this Site

Disclaimer

The extensions and reviews listed in this area have been submitted by the community and their listing does not constitute or imply endorsement, recommendation, or favouring by Joomla!/OSM.

This content is provided as a free service to our visitors, and, as such, Joomla!/OSM cannot be held liable for the accuracy of the information. Visitors wishing to verify that the information is correct should contact the parties responsible for authoring the content and/or development of the extension.


Are you seeing blanks over some extensions' compatibility, license and type field? Head over to JED forum to learn why.
Group Access Show All Developer's Extensions
MetaMod - display modules according to rules Modulemodule
Rating
8 votes
Developer:Stephen Brandon Version:1.0d (Updated 8 days ago)
E-mail: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it Compatibility:Compatible with Joomla! 1.5 NativeCompatible with Joomla! 1.0
Views: 8,573 License:Other
Favoured:
30
Type:Non-Commercial
Date Added:Nov 1, 2007
DownloadHomepageDocumentationWrite ReviewRecommend
MetaMod - display modules according to rules
Have you ever wished you could set start and end dates for when modules display? Or set up your modules with GeoIP so that guests from the USA and UK see different modules?

Now you can. MetaMod is a "Meta Module" - a module that includes other modules, according to a set of rules.

If you install the free GeoLite Country or City database from MaxMind, you can include country names/cities/states etc in your rules.

Suggested uses:
* make modules appear at certain times of the day, or give them start and end publishing dates
* show a different module for users who have been registered for more (or less) than a certain time period
* control modules such as FacileForms (show a different form based on where in the world someone is connecting from, etc)
* show different modules depending on the Section / Category of the main article on the page
* show a completely different menu based on the front-end language the user has selected
* make a module disappear once someone has logged in (there’s no standard way to do this in Joomla!)
* use different modules depending on the user's browser & browser version

New in version 'd': support for GeoIP City database, and useful debug mode.

More uses and "recipes" can be found on developer home page.

Note: download link is for native Joomla 1.5 version. See developer homepage for Joomla 1.0.x version.

Report this listing


A must have module, period. by alboholic, June 27, 2008
This tiny module can do anything!

I had a module which showed up great on Firefox and Safari but could not get it to work in IE, so I wondered whether Metamod would come to the rescue and serve a substitute for this module for IE users. I had no idea how to do this though! :)

Stephen was more than happy to help, providing me the exact code to do what I wanted Metamod to do and voila, it worked like a charm.

Here's the code I used:

$UA = isset($_SERVER['HTTP_USER_AGENT']) ?
$_SERVER['HTTP_USER_AGENT'] : '';
$IE = strstr($UA, 'MSIE') ? true : false;
$IEV = $IE ? preg_split('/msie/i', $UA) : false;
$IEV = $IEV ? floatval($IEV[1]) : false;

if ($IEV >= 7) return 92; //module for IE7
if ($IEV >= 6) return 92; //module for IE6
if ($IE) return 92; //module for any IE version
return 80; //default module


I really have to commend Stephen for his extraordinary help. I appreciate his support every step of the way.

I have yet to find something that Metamod cannot do!


Wonderful!! by grvulture, May 30, 2008
...and I was looking for a way to show modules according to user language-selection.

MetaMod is so versatile, it does SO many things, and it can show modules according to language-selection too!

I don't use JoomFish, because on Joomla1.5.2 it messes up with Community Builder.

Actually I don't need to use any of the language plugins, they are too much trouble for nothing if you ask me!

I only needed to put 5 lines of simple code in only 4 of my files, to have a language-selector on front-end, and articles showing in user's language of choice!

Components use language files!
Modules too!
BUT not Joomla's menus (!!how's that?)

So how was I to show language-specific menus on my site??

MetaMod came to save the day!!
And Stephen was MOSTLY helpful!
the solution to my problems became ridiculously easy by using MetaMod!

in my case I only had to add a code in MetaMod's PHP textbox like this:

$language = $mainframe->getCfg('language');

if ($language=="en-GB") return 11;
if ($language=="el-GR") return 22; //example numbers

Now my site is totally multi-lingual, without going nuts with all the menus, and buttons, and options, and editing, and,and,and of applications like JoomFish, M17N, and the likes!

Wonderful!!

Thank you again Stephen for this fantastic module!


Great Module! by CubPilot, May 6, 2008
I was looking for something that would allow a start date and end date for publishing a module.

The organization that I belong to have two different meetings every month and some events during the warmer months. The template that I am using has three module positions at the bottom of the front page that was an ideal spot for this information.

MetaMod allows me to set up these dates for a whole year and then automatically publishes them at the appropriate time with the correct meeting/event dates throughout the year in the selected module positions. This has been a lifesaver for me, keeping track of when to change the module dates manually would have been quite a chore as each of the three monthly dates are at different times of the month.

The author was very helpful!! I emailed him for help with the code to do what I wanted (I can't be accused of being a programmer!). He responded almost immediately with the required code. Works great, after I did some tweaking of the dates in the code.

Steve, sorry for the "wait" to post here. I needed to see if it worked........... and it does! Thanks a lot for taking the time to help me out.


I am speechless by jmef, April 13, 2008
Some modules offer a fraction of what this powerful tool does and they are commercial modules! This module fulfils a number of my wishes and gives me some extra on top that I had yet to imagine. It enables me to make my site more users friendly; it gives me one of the most powerful marketing tools that make me and my international partners very happy. Meta it is indeed, my enthusiasm for this module is of titanic proportions.


Must have for any kind of globalization by dwilson, December 5, 2007
Great concept and it just simply works. I had some issues with the Geo feature since I'm building a global Intranet site so all the IP addresses are internal. Stephen (the developer) responded very quickly with some solutions to my issue that will allow me to configure my own IP address mapping.


Yes, I'm marketing to your Country.. so you think.. by duiiub, November 18, 2007
I am running this module with the geo feature turned on.. This allows me to show a similar module customized for individual countries.. I can basically have one website set up to target-market many different nitche markets. Genius I must say! I have downloaded many, many extensions but I must say this is a gem! Thanks!


One module to rule them all by teddyboy, November 5, 2007
2 of 2 people find this review helpful:
This is a very interesting module/extension with the ability to control module publication according to date and PHP scripting rules from within Metamod.

This gives very useful functionality to Joomla and makes it worth delving into PHP a little more to take full advantage of a well thought out extension.

I haven't found any bugs yet with limited testing.

The only things missing are to auto-unpublish Metamod if no modules are set to display and to auto publish a specific module if another named module expires, although this might be possible with PHP scripting.

Documentation is good, so you will have no trouble getting the extension up and running. The author has clearly put in a lot of time and thought into this.

Thank you for sharing this module.