Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » MetaMod
- » MetaMod General Support
- » Newbie Help needed: Slideshow ONLY to...
Newbie Help needed: Slideshow ONLY to appear on homepage on Virtuemart
Newbie Help needed: Slideshow ONLY to appear on homepage on Virtuemart
Hi
I'm a total beginner here, with next to zero php experience, so will need a bit of nurturing here.
I am using Joomla 1.5.23 with the JA Larix template, Virtuemart & a customised Virtuemart theme vmTheme.
On my homepage www.mckeeverwools.com I have a slideshow (mod_jaslideshow2) that I ONLY want displayed on the homepage. Below the slideshow on the homepage is the category list of shop categories, to the left is the category menu tree. What I need is when ANY category is selected, the mod_jaslideshow2 will disappear.
I have installed metamodpro and entered some php code that I found on another thread, but it doesn't seem to work.
Any help would be very, very much appreciated.
Thank you in advance
Ciaram
Re: Newbie Help needed: Slideshow ONLY to appear on homepage on Virtuemart
I forgot to mention that I put the following code into the php section of the mod_metamod, where ID 59 is the mod_jaslideshow2
$vm = JomGenius("virtuemart");
if ($vm and ($option != "com_virtuemart" or $vm->check("pagetype = frontpage") or $vm->page == "shop.index" ) ) return 59;
Re: Newbie Help needed: Slideshow ONLY to appear on homepage on Virtuemart
Hi cirymarr,
nice site! I'm not a knitter but my wife is...
Did you try this basic code for detecting the VM front page and putting the slideshow only on that page?
$vm = JomGenius("virtuemart");
if ($vm and $vm->check("pagetype = frontpage") ) return 59;
I'm assuming that the front page of the site is a completely normal VM menu item with no particular category id or page type set in it.
If you *have* set a particular category id or any other settings into the VM front page menu item, can you let me know what those are, and I can adjust accordingly.
It's also quite useful if you can temporarily turn on MetaMod "advanced debug" mode, and view the front page, then post the output from debug mode (then turn debug mode off again). That generally gives out some good information I can use to recommend a PHP line for you.
Best regards,
Stephen
Re: Newbie Help needed: Slideshow ONLY to appear on homepage on Virtuemart
Hi Stephen
I sorted this out myself – my mistake! I didn’t read the user manual, thinking “sure I can do this!!”
Once I disabled the slideshow module from appearing on any menus, it worked – I realise now that the MetaMod module takes precedence over the individual module settings.
Many Thanks!
- Index
- » MetaMod
- » MetaMod General Support
- » Newbie Help needed: Slideshow ONLY to...
Board Info
- Board Stats:
- Total Topics:
- 1689
- Total Polls:
- 6
- Total Posts:
- 5942
- Posts this week:
- 2
- User Info:
- Total Users:
- 7627
- Newest User:
- rudys68879
- Members Online:
- 1
- Guests Online:
- 135
- Online:
- rudys68879
Forum Legend:
Topic
New
Locked
Sticky
Active
New/Active
New/Locked
New Sticky
Locked/Active
Active/Sticky
Sticky/Locked
Sticky/Active/Locked