blue-mouse
Member
Hi,
I have a problem with calc element {ccjom_cc_szkolenia___multipersons_calc} that includes the same values like an element:
{ccjom_cc_szkolenia___multipersons} - "Osoby szkolone" but in other way ----
{ccjom_cc_szkolenia___multipersons} - "Osoby szkolone" - is a databasejoin-multi-select-dropdown and this include persons like:
- CC Anna White
- CC Robert Blue
- CC Tom Green
- CC Barbra Red
{ccjom_cc_szkolenia___multipersons_calc} - "Osoby szkolone calc" is a calc element and on form1 it is displayed in that way:
CC Anna White, CC Robert Blue, CC Tom Green, CC Barbra Red
I need this to store in table and display on my list1 but on list - list-view, details-view it is not displayed.
My calc element is:
Calculation:
$db =& JFactory::getDBO();
$recipient2 = '{ccjom_cc_szkolenia___multipersons_raw}';
$query = "SELECT GROUP_CONCAT(`name`) FROM `ccjom_users` WHERE `id` IN ($recipient2)";
$db->setQuery($query);
$result = $db->loadResult();
return $result;
Ajax observe fields:
'{ccjom_cc_szkolenia___multipersons}'
What can i do to get this on my list, any tip?
I have a problem with calc element {ccjom_cc_szkolenia___multipersons_calc} that includes the same values like an element:
{ccjom_cc_szkolenia___multipersons} - "Osoby szkolone" but in other way ----
{ccjom_cc_szkolenia___multipersons} - "Osoby szkolone" - is a databasejoin-multi-select-dropdown and this include persons like:
- CC Anna White
- CC Robert Blue
- CC Tom Green
- CC Barbra Red
{ccjom_cc_szkolenia___multipersons_calc} - "Osoby szkolone calc" is a calc element and on form1 it is displayed in that way:
CC Anna White, CC Robert Blue, CC Tom Green, CC Barbra Red
I need this to store in table and display on my list1 but on list - list-view, details-view it is not displayed.
My calc element is:
Calculation:
$db =& JFactory::getDBO();
$recipient2 = '{ccjom_cc_szkolenia___multipersons_raw}';
$query = "SELECT GROUP_CONCAT(`name`) FROM `ccjom_users` WHERE `id` IN ($recipient2)";
$db->setQuery($query);
$result = $db->loadResult();
return $result;
Ajax observe fields:
'{ccjom_cc_szkolenia___multipersons}'
What can i do to get this on my list, any tip?