Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » MetaMod
- » MetaMod General Support
- » Displaying Module once search has...
Displaying Module once search has been actioned
Displaying Module once search has been actioned
Hi there,
We are developing a site and we have installed small module that allows users to use a drop down menu to select which section and category they would like to view articles from.
We want to show the 'Latest Cars' Module on the right hand side only on the front page.
Once a user has used the drop down menus, we do not want the 'Latest Cars' module to appear.
I have used the code:
if ( $core_genius->check( "pagetype = frontpage" ) ) return 81;
This does not work and I am unsure what I should change it to.
You can see our demo site at:
http://www.s217794495.websitehome.co.uk … arCompany/
We are using the main joomla front page comp as the home page.
Kindest Regards,
Sean R.
Re: Displaying Module once search has been actioned
Hmmm... not sure why the original one didn't work. Had you changed the default menu on your site to something other than the "frontpage" type? The JomGenius check for "pagetype = frontpage" specifically looks for the "frontpage" component, *not* simply "the default menu item (whatever that happens to be)".
Anyway, glad you got it working.
Best regards,
Stephen
- Index
- » MetaMod
- » MetaMod General Support
- » Displaying Module once search has...
Board Info
- Board Stats:
- Total Topics:
- 1700
- Total Polls:
- 6
- Total Posts:
- 5967
- Posts this week:
- 3
- User Info:
- Total Users:
- 8056
- Newest User:
- no21an
- Members Online:
- 0
- Guests Online:
- 190
- 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