User defined variables for radio button options

18 years 3 months ago #2745 by geeffland
I have seen example on how to use language specific variables for paramter names and descriptions but I am not sure how to do the same for the text of radio button options?

i.e. lets say
english.php contains:

DEFINE('_UE_CONFIG_DELETEUSER',"Delete User Settings:");
DEFINE('_UE_CONFIG_DELETEUSER_INFO',"This allows you to select what happens when a user is deleted.");
DEFINE('_UE_CONFIG_DELETEUSER_OPT1',"Delete only the User");
DEFINE('_UE_CONFIG_DELETEUSER_OPT2',"Delete User and everything from User");

========================
yyy.xml contains

<param name="userDelete" type="radio" default="0" label="_UE_CONFIG_DELETEUSER" description="_UE_CONFIG_DELETEUSER_INFO">

<option value="0">_UE_CONFIG_DELETEUSER_OPT1</option>
<option value="1">_UE_CONFIG_DELETEUSER_OPT2</option>

</param>

CB3PD Developer - CB Connector (formerly phpBB Connector) plugin

Please Log in to join the conversation.

18 years 3 months ago #2855 by beat
Your example seems logical. If it doesn't work, please file a CB bug report on developer.joomla.org ;)

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.182 seconds

Facebook Twitter LinkedIn