Looks like this is setting it to 0 or false vs true ... and false means OFF or HIDE
PHP Code://$this->enabled = ((MODULE_PAYMENT_TTransfer_STATUS == 'True') ? true : false);
$this->enabled = (strcasecmp(MODULE_PAYMENT_TTransfer_STATUS, 'True') == 0);
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Hi hello hello
I know this problem is rather simple to the PHP coders. But not foer me. Yes Ajeh you are right, the code below means forever true, even if I set it False in Admin, it will still be true. Another dead end:-
$this->enabled = (strcasecmp(MODULE_PAYMENT_TTransfer_STATUS, 'True') == 1)
If I use :- $this->enabled = ((MODULE_PAYMENT_TTransfer_STATUS == 'True') ? true : false), this code will be forever False even if I set it to True.
So anyone, please help to get the right code.Thank you
I still cant get this to work.
Anyone with a golden touch to solve this thing?![]()
How about zipping up the two files for this and attaching them here![]()
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!