|
|
User defined variables for radio button options
|
|
Date: 2005/12/24 03:14
|
By: geeffland
|
Status:
|
|
|
Karma: 226  
|
|
Platinum Joomlapolitan  | Posts: 811 |   | |
|
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
|
|
The administrator has disabled public write access. |
|
|
|
Re:User defined variables for radio button options
|
|
Date: 2005/12/28 01:18
|
By: beat
|
Status: Admin
|
|
|
Karma: 243  
|
|
Admin  | Posts: 4066 |   | |
|
Your example seems logical. If it doesn't work, please file a CB bug report on developer.joomla.org Beat - Developer on Community Builder core Team - If you like CB and this forum, you will love Nick's CB 1.1 reference manual ! : Click here to Get it now  - Would like to help us move faster ? Get it, and/or help us spend more time coding by helping others in this forum, many thanks
|
|
The administrator has disabled public write access. |
|
|