Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » MetaMod
- » MetaMod General Support
- » Hiding a module from the front page...
Hiding a module from the front page of a K2 Category page?
Hiding a module from the front page of a K2 Category page?
Hi,
I'm assuming this is possible but not quite sure how to achieve it.
My index page is a K2 category page, with multiple levels of categories. The problem is, each category page is still recognised as the home page. I have some modules that I want to display on all pages apart from the home page.
I'm just wondering if anyone could help me with the code to set this up?
Many thanks
Re: Hiding a module from the front page of a K2 Category page?
Hi Reders,
Yes you can do this, because MetaMod can tel the difference between different page types even on the same menu item. The aim in this case will be to identify the page type of the "front" category page, then use MetaMod to load the module on all pages except from that one.
So the question is, what type of page is that front page? I can't see what type of standard K2 page it might be, as all the standard k2 page just show items, not category titles (unless I missed something). So is it a 3rd-party component or done in a module (in which case the page type is something different)?
One thing that can help to identify what type the front page is, would be to assign a MetaMod to all pages, turn on Advanced Debug mode in MetaMod, then view that front page and copy and paste the output from MetaMod into the forum here.
Once I have that it should be clearer...
Thanks,
Stephen
- Index
- » MetaMod
- » MetaMod General Support
- » Hiding a module from the front page...
Board Info
- Board Stats:
- Total Topics:
- 1699
- Total Polls:
- 6
- Total Posts:
- 5967
- Total Posts Today:
- 2
- User Info:
- Total Users:
- 8021
- Newest User:
- shrutihassan193
- Members Online:
- 0
- Guests Online:
- 199
- 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