Component-specific

Control modules on VirtueMart pages
(54 votes, average 4.20 out of 5)
Recipes - MetaMod 1.5 - Component-specific

Use these recipes to display different modules on different VirtueMart pages.

  • display a module only on the “Front Page” of VirtueMart
  • display a certain module when a certain product category is being listed
  • display a module only on the 1st page of a “shop.browse” list
  • display a module only to members in a particular VM shopper group
  • display a certain module when a certain product is being displayed in detail
  • show certain modules on various other VirtueMart pages, e.g. shopping cart, signup, any of the checkout pages, profile pages, search pages, etc etc.
See Recipes
 
Use AEC to control modules
Recipes - MetaMod 1.5 - Component-specific

Use these recipes to the AEC (Account Expiration Control) component to control which modules appear.

  • display a module only if user has a valid subscription to a specified AEC plan
  • display a module only if a user does not have a valid subscription to a specified AEC plan
See Recipes
 
Show modules on different "Mighty Content" pages
(14 votes, average 4.07 out of 5)
Recipes - MetaMod 1.5 - Component-specific

“Mighty Content” (link) is a Content Construction Kit. The following recipes allow you to target modules onto particular Mighty Content pages, such as category lists, article pages, and pages where the article is “featured”.

See Recipes
 
Show modules based on TPLancers status
Recipes - MetaMod 1.5 - Component-specific

In these recipes you can switch or display modules based on whether or not the logged-in user is a Freelancer or a Buyer (even based on what category of Freelancer they are in) or based on individual sub-pages of the TPLancers extension. These recipes are based on the “Madiston” enhanced version of TPLancers.

See Recipes
 
Placing modules on various MyBlog pages
(4 votes, average 2.25 out of 5)
Recipes - MetaMod 1.5 - Component-specific

MyBlog is a great blogging extension for Joomla – highly recommended. You can use the following recipes to target modules onto different pages within the extension.

See Recipes
 
Control modules on SOBI2 pages
(14 votes, average 3.93 out of 5)
Recipes - MetaMod 1.5 - Component-specific

SOBI2 (SigSiu Online Business Index 2) is a Content Construction Kit extension for Joomla. You can use the following recipes to target modules onto different pages within the extension, or to select modules based on the category of the item being displayed.

See Recipes
 
Show a module on every page that another module does not appear
(6 votes, average 4.50 out of 5)
Recipes - MetaMod 1.5 - Component-specific

In this convenient recipe we tell MetaMod to display a module on every page that another particular module is not displaying on. It checks to see if the module has been published on “all” pages, or onto the specific one being displayed right now. If it can’t find it, MetaMod displays an alternative.

See Recipe
 
Control modules based on JoomFish or front-end language
(9 votes, average 3.89 out of 5)
Recipes - MetaMod 1.5 - Component-specific

Joomla is capable of being set up in various languages. These recipes demonstrate how to display different modules depending on the “front-end language” as chosen by the administrator, or by the user via a language selector (e.g. via JoomFish). They also demonstrate how to display different modules based on the language set up in the user’s browser, so as to target your users with modules in their own language.

See Recipe
 
Control modules on JReviews pages
(7 votes, average 3.43 out of 5)
Recipes - MetaMod 1.5 - Component-specific

In the first example, we return different modules depending on whether jReviews (see ReviewsForJoomla.com) is on its “base” page or looking at a “category”. We can choose the modules according to category as seen below. Note that if you have SEO urls turned on, jReviews acts slightly differently to when they are not turned on, so the code below tests for both cases. It's not the most elegant way to handle it, but shows you how to handle the situation.

Other recipes on this page allow you to switch modules on or off depending on whether or not the displayed item is “featured” or not.

See Recipe
 
Control modules on Community Builder pages
(5 votes, average 4.00 out of 5)
Recipes - MetaMod 1.5 - Component-specific

In this example we choose modules based on the zipcode that the logged-in user has entered with their address in their profile. You can select based on their state, country or anything else in their profile.

See Recipe
 
Show modules on all pages except front page
(16 votes, average 4.38 out of 5)
Recipes - MetaMod 1.5 - Component-specific

It’s very common to want to put modules on all pages except the front page. This recipe allows you to target the front page (or any given page) and either exclude a module from that page or include it on that page.

See Recipe