Welcome to the MetaMod and Chameleon Support Forums.

Before posting, please check out the FAQs.

helpme

 

Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.

 

joomla custom HTML module on Virtuemart checkout pages

joomla custom HTML module on Virtuemart checkout pages

Hey guys,

I'm a complete newbie and have no idea how to implement metamod pro! I'd like to add a standard Joomla custom HTML module on VM checkout pages, any help would be greatly appreciated!

Peter

dancemidisamples
Beginner Modder
ranks
useravatar
Offline
1 Posts
Administrator has disabled public posting

Re: joomla custom HTML module on Virtuemart checkout pages

Hi Peter,

sorry for not responding to your earlier e-mail. I've been sick with flu for a few days.

In brief:

1 - make sure you have installed the (free) MetaMod module (downloadable from http://www.metamodpro.com/metamod/download ) as well as the MetaModPro plugin

2 - make sure you enable the MetaModPro plugin in the Plugin Manager

3 - read through the Quick Start guide until you understand it ;-) http://www.metamodpro.com/metamod/quick-start

4 - create your target module, the one you want to display on the checkout pages. Take a note of the module id. Follow the instructions on the Quick Start guide about what pages it's assigned to (or not).

5 - set up a new MetaMod and assign it to ALL pages. In the MetaMod, use the following recipe:

$vm = JomGenius("virtuemart");
if ($vm->check("pagetype starts with checkout")) return XXX;
// replace XXX with the module id number of the target module.

Make sure your MetaMod is enabled and set to the right module position. The target module will get placed in the module position that the MetaMod is assigned to.

That should get you started - please write back if you need more help with it.

Cheers,
Stephen

Stephen Brandon
MetaMod / Chameleon developer
If you use MetaMod or Chameleon, please post a rating and a review at the Joomla! Extensions Directory: Chameleon | MetaMod

metamodguy
useravatar
Offline
3328 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1679
Total Polls:
6
Total Posts:
5933
Posts this week:
3
User Info:
 
Total Users:
4401
Newest User:
jason59312
Members Online:
0
Guests Online:
183

Online: 
There are no members online

Forum Legend:

 Topic
 New
 Locked
 Sticky
 Active
 New/Active
 New/Locked
 New Sticky
 Locked/Active
 Active/Sticky
 Sticky/Locked
 Sticky/Active/Locked