Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » Chameleon / ChameleonLite
- » ChameleonLite
- » JomGenius working wrong?
JomGenius working wrong?
JomGenius working wrong?
Ok, I really, didnt want to post here, coz, as I cant donate for having MetaTemplate on my website, I dont feel good posting..
But, its my last hope, I really, dont know what to do already, im lost, i even tryed to modify some of the metatemplate files to make it work, still, cant...
Its weird, coz some months ago it was working, but now its like alone, not working anymore.
Ok, lets go to the rule (there are like 20 rules over there, lets just take an example..)
This is my PHP:
var_dump($content_genius->info("category_id"));
var_dump($content_genius->check("category_id = 34"));
if($content_genius->check("category_id = 34")) return true;
Ok, I got this from the var_dump for the info: int(34)
And, for the check I get: bool(false) (yeah, like.. WTF?)
Im running metatemplate 1.7 actually, tryed uninstalling the old version, and installing a new one, still no changes, really, I dont know what else to do.
Thanks from now.
Re: JomGenius working wrong?
Ok i keep testing, looks like it doesnt work with sections either..
if($content_genius->check("section_id = 5")) return true;
(5 is the section_id of the article that im actually looking at..), and keeps returning false
PS: also, i must say, i have no template assigned to any menu, i read something about that could be the problem, just wanted to let whoever who reads know.
Re: JomGenius working wrong?
Nvm, did a new plugin, for what i needed...
Seeing the code of MetaTemplate, I coded this:
http://hotfile.com/dl/86745156/9013915/tmch.zip.html
Re: JomGenius working wrong?
Hi Maltray,
thanks for reporting the problem... I'll look into this ASAP. There were some problems like this in the early versions of MetaTemplate but I thought I had them all sorted out. I also have a new version about to be released which may affect this too...
Cheers,
Stephen
- Index
- » Chameleon / ChameleonLite
- » ChameleonLite
- » JomGenius working wrong?
Board Info
- Board Stats:
- Total Topics:
- 1699
- Total Polls:
- 6
- Total Posts:
- 5967
- Total Posts Today:
- 2
- User Info:
- Total Users:
- 8028
- Newest User:
- musial8334
- Members Online:
- 0
- Guests Online:
- 162
- 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