News:

Looking for documentation? Take a look on our wiki

Main Menu

Add Module Position to OneStepCheckout

Started by megamash, December 02, 2013, 17:18:57 PM

Previous topic - Next topic

megamash

I have been developing solutions for VM for a long time now and never run in to an issue like I have now.  Can usually find a solution but I have been staring at this one for too long.  I am trying to add a module position to the One Step Checkout in VM2 and just can not get it to appear.

I have tried many variations of the following code and I can't find anyway of getting the module to appear.  It appears on the page fine if I use module from the template but am looking to have this in a specific location on the checkout.

<?php if (JRequest::getVar('view')=='cart') { ?>
<jdoc:include type="modules" name="new" />
<?php } ?>

Many Thanks

Andy


stresskills

I couldn't get jdoc to work either. I think it's something like virtuemart loads the page before joomla parses modules.. I didn't really understand.
Either way. my pos solution..
Use modules anywhere from nonumber
add <div class="undercover">{modulepos undercover}</div>
done..

I used on category page but should work.
"If you think you can do a thing or think you can't do a thing, you're right." Henry Ford