Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Joomlapolis Forums  


User defined variables for radio button options
Date: 2005/12/24 03:14 By: geeffland Status: CB Doc subscriber  
Karma: 226  
Platinum Joomlapolitan

Posts: 811
graphgraph
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
Click here to see the profile of this user 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
graphgraph
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
Click here to see the profile of this user The administrator has disabled public write access.

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC2)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC3, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers at this time.

CB Login