Welcome to the MetaMod and Chameleon Support Forums.

Before posting, please check out the FAQs.

helpme

 

Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.

 

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.

Maltray
Beginner Modder
ranks
useravatar
Offline
4 Posts
Administrator has disabled public posting

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.

Maltray
Beginner Modder
ranks
useravatar
Offline
4 Posts
Administrator has disabled public posting

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

smile

Maltray
Beginner Modder
ranks
useravatar
Offline
4 Posts
Administrator has disabled public posting

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

Stephen Brandon
MetaMod / Chameleon developer
If you use MetaMod or Chameleon, please post a rating and a review at the Joomla! Extensions Directory: Chameleon | MetaMod

metamodguy
useravatar
Offline
3313 Posts
User info in posts
Administrator has disabled public posting

Re: JomGenius working wrong?

U mean 1.7? not working also sad, if u need some help with PHP coding I maybe able to give u a hand, but, it was hard to try to understand yesterday the code and modifying it even more lol

Maltray
Beginner Modder
ranks
useravatar
Offline
4 Posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1667
Total Polls:
6
Total Posts:
5910
Total Posts Today:
1
User Info:
 
Total Users:
10152
Newest User:
kasautiizindagiikay
Members Online:
0
Guests Online:
267

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