I'm having a problem with loading the virtuemart latest product module using the {loadposition xx} funtionality on the home page of www.costumeglitz.com.au. Really frying my brain as the space gets set up for the module but for some strange reason it just doesn't get loaded in? If I create a custom html module and use the loadposition for that (in the same area on the homepage) it works fine?? My gut feeling is the home page is not loading in the relevant code for it to run but I'm not 100% sure? Any help/advice appreciated.
Cheers
Martin
<?php $menu = &JSite::getMenu();
if ($menu->getActive() == $menu->getDefault()) {
<jdoc:include type="modules" name="right" style="xhtml" />
?>
The name indicates the position of module..
Thanks for your response but can you explain in more detail. Where would I put this code? Would I still be using the {loadposition} in the article?
do u need to insert module inside a article??
yep and been using {loadposition} but not working
Install this plugin,
http://extensions.joomla.org/extensions/core-enhancements/embed-a-include/6958
It will be helpful for inserting module into a article....
Thanks karuppiah got this working BUT the latest product module seems to be loading in the oldest products that were entered and not the latest. Have you or anyone else any idea where the setting for this is controlled??
check the options inside the module to display particular category..
presently set-up like attachment which seems logical to me? I also have a featured products module running on the same page but can't be conflicting as when i turn off the same products stay in the latest products module (www.costume glitz.com.au)
[attachment cleanup by admin]