Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » MetaMod
- » MetaMod General Support
- » [solved] Metamod has been confused
[solved] Metamod has been confused
[solved] Metamod has been confused
Hi,
I have installed metamod in my site for many years
A month ago the metamod has started to confuse
I use this string
$vm = JomGenius("virtuemart");
if ($vm->check("category_ids = 42")) return 287;
When metamod see category 42 will return the module 287
The problem is: When the metamod sees the category 42 it show the module 287 but also the 257 module
In order to help the problem exists only in the detail product view
Check for youself
http://maissis.gr/7725/42/epipla-esoter … etail.html
Any ideas?
Re: [solved] Metamod has been confused
Hi zakgr,
I'm just looking at this now... problem is I don't know which module is #287 and which is #257.
In general, if you are getting modules showing up that you didn't mention in the PHP code, then it could be:
1 - maybe you put 257 into the "quick module position or id include" box. Just leave that empty in most cases.
2 - maybe module #257 is assigned to a menu item that makes it show up on certain pages?
3 - maybe module #287 is actually a MetaMod itself (a MetaMod that includes another MetaMod) which then includes #257?
Maybe one of those helps...
please let me know how you get on
Cheers,
Stephen
Re: [solved] Metamod has been confused
Dear Metamod,
Module 257 and 287 are modules that are showing the categories of the e-shop
In my backend these modules are unpublised.
So I have created a metamod that says when you see a category with id 42 show 287 module
$vm = JomGenius("virtuemart");
if ($vm->check("category_ids = 42")) return 287;
It shows the module 287 but also 257
I can not imagine what might be wrong!
Some how the metamod confuse the category 42 with other category and show both modules
I saw your answers. Number 2 and 3 are defenetly not
Number 1, I can not find where are those you are describing
Thanks for your aswer!
Please help me I can not find a solution!
Re: [solved] Metamod has been confused
Hi Zakgr,
Try turning on MetaMod's debug mode. It always displays which modules it is including. If that does not list 257 then it's not MetaMod that is doing it.
I would also suggest turning off the MetaMod temporarily, and viewing the page where you were getting both 287 and 257. Obviously 287 will disappear -- does 257 also disappear or is it still there?
If this doesn't help to clear it up I would be happy to log into your site to have a look at it. In that case please PM me and I'll request for you to create a superadmin account for me to log in and take a look.
Best regards,
Stephen
- Index
- » MetaMod
- » MetaMod General Support
- » [solved] Metamod has been confused
Board Info
- Board Stats:
- Total Topics:
- 1689
- Total Polls:
- 6
- Total Posts:
- 5941
- Posts this week:
- 1
- User Info:
- Total Users:
- 7618
- Newest User:
- goure1dhowen
- Members Online:
- 0
- Guests Online:
- 160
- 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