Hi!
Thanks for great component, using it for about 10 years. And please explain
If I'm trying to get global var, I'm writing {global:var_name}
But if I need to get global variable value by php code, how to write?
It is no explanation here https://www.chronoengine.com/faqs/74-chronoforms/chronoforms6/5289-variable-shortcodes
Thanks
Hi Tempus,
Please try turning the Debugger on - you should then see all the variables with their names and values.
Bob
Thanks, but it didn't help. Somehow global vars never show up in the Debugger.
I am taking their names from admin site of the CF7.
I've tried different php codes to get global var value, but I can not guess the right one
what are you trying to get ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
The question is: How to access global variables in php?
I've set up some global vars on "Form" level and need to access them inside a custom code with php.
Like https://www.chronoengine.com/users/profile/86267 "I've tried different php codes to get global var value, but I can not guess the right one"
It's about clientId & clientSecret which i need to reuse in different custom code actions.
generally any variables set with
$this->set("varname", value);
are available with
$this->get("varname");
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
{global:varname}
you can not use that in PHP, unless you set them through a variables action
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.