user-signup and dynamic values

3 posts by 2 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: July 19, 2017   (RSS)

By Dave - July 18, 2017

Hi Kenny, 

You can simplify it by just defining a variable to start.

$template_id = "USER-SIGNUP". $_REQUEST['countrylang'];
print "\$template_id = $template_id\n"; // debug

See if you can get that printing the expected value first, then add it to your function call: ed

'template_id' => $template_id, 

Let me know if that works for you.

Dave Edis - Senior Developer
interactivetools.com

By Twocans - July 19, 2017

Thank you Dave,
That did the trick, 

$template_id = "USER-SIGNUP". $_REQUEST['countrylang'],
'template_id' => $template_id,

It would be great were you guys to come up with a multilingual plugin.

cheers

Kenny