Recipes - MetaMod 1.5

Use MetaMod to put modules into different positions on different templates
(1 vote, average 5.00 out of 5)
Recipes - MetaMod 1.5 - General

If you use more than one template on your site, you have probably run into this issue: different templates often use different names for their module positions. “top” in one template might be called “header” in another.

So how do you get a module to appear in the position “top” in one template, but “header” in another? Read on to find out how MetaMod can solve this for you without having to hack any template code!

See Recipe
 
Control modules on VirtueMart pages
(48 votes, average 4.29 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
(2 votes, average 3.00 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
(13 votes, average 4.08 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 page content/keywords/description
(16 votes, average 3.94 out of 5)
Recipes - MetaMod 1.5 - General

Using this awesome recipe you can control which modules appear on the page by placing keywords in the content of the Joomla article, the Meta Keywords field, or the Meta Description. You just set up the recipe with a list of keywords to detect, the module IDs to be displayed when those keywords appear, and where MetaMod should look for them (content, description or keywords). A variation of this recipe allows you to enter the module IDs directly into the Meta Keywords.

See Recipe
 
Show a module just once, for any user (cookied)
(5 votes, average 4.00 out of 5)
Recipes - MetaMod 1.5 - General

In this recipe we show a particular module to a user only once, then cookie their browser. The MetaMod picks up that cookie on the next page (or time) they visit, and won’t show the module again. (See also Show a Module Once Per Session)

See Recipes
 
Control modules based on article author
(3 votes, average 3.67 out of 5)
Recipes - MetaMod 1.5 - General

In this recipe we detect if we are viewing a Joomla “article” page, and get hold of the author id. Based on this, we can make decisions on what modules show on the page – for example we could show particular banner ads for certain authors, on any page they have authored. UPDATED FOR JomGenius!

See Recipe
 
Show a different menu depending on whether a user is logged in or not
(20 votes, average 3.85 out of 5)
Recipes - MetaMod 1.5 - General

One of the most common uses for MetaMod is to show a different Joomla menu to users once they are logged in. E.g. the menu for non-logged-in users may contain a “Log in” menu item, and the one for logged in users might have a completely different selection of menu items.

See Recipe
 
Control modules based on how many articles the user has published
Recipes - MetaMod 1.5 - General

Your Joomla site may have a number of authors on it who are submitting articles. You would like to be able to display modules based on how many articles the logged-in user has published/submitted, e.g. show a module saying “You have reached GOLD level by submitting over 100 articles!”. The following recipes show how it’s done.

See Recipes
 
Control modules based on selected Joomla template
(3 votes, average 5.00 out of 5)
Recipes - MetaMod 1.5 - General

Joomla lets you display different pages on your site with different templates. Unfortunately this can play havoc with your modules, because different templates put the different modules positions on different parts of the page, or call them different names. These recipes will help you to hide or change certain modules if the page is displayed on certain templates, etc.

See Recipes
 
Display different modules on different subdomains
(4 votes, average 4.50 out of 5)
Recipes - MetaMod 1.5 - General

In this scenario you have a number of subdomains all pointing into the same main domain. e.g. www.example.com, alabama.example.com, alaska.example.com. You want to have different modules displayed on each of the different domains, even though the main content of the pages is the same for each. How do you do it?

See Recipe
 
Show modules on all submenus of a menu item
(4 votes, average 4.25 out of 5)
Recipes - MetaMod 1.5 - General

This simple but effective recipe allows you to place modules on all pages that are “children” of a particular menu item. This can help you to manage your modules without having to continually allocate new pages to your modules whenever you add a new sub-menu item to a parent menu. Two extra variants are provided: (1) how to show modules only on submenus of a given menu item (not including the parent), and (2) how to show modules on all submenus of an entire menu (e.g. “mainmenu”, “usermenu” etc)

See Recipes
 
Select modules based on Referer URL
(4 votes, average 4.00 out of 5)
Recipes - MetaMod 1.5 - General

Have you seen web sites that detect that you found the page via a Google search, and give you some extra information about the site or about what you searched for? This recipe allows to to detect the “referer” that sent the visitor to your site, and gives you the ability to switch modules based on this information.

See Recipe
 
Include PHP code directly in MetaMod
(4 votes, average 4.00 out of 5)
Recipes - MetaMod 1.5 - General

A MetaMod can be used as a general purpose PHP module, because any text that you output from the module will appear in the module position. This recipe shows you how.

See Recipe
 
<< Start < Prev 1 2 Next > End >>

Page 1 of 2