Dropdown list [message #4277] |
Sun, 22 June 2014 04:06 |
htManager
Messages: 442 Registered: May 2014
|
Senior Member |
|
|
Hi Tony,
I try to use the same option list in the text/<language>/language_array.inc file to serve different colomns in different tables.
The colomn names are different as you discribed in one of your articles.
But only if I name the option list as the colomn name it will be filled. I used the sample in Tutorial 5 (5. Convert STAR_SIGN into a dropdown list).
function _cm_getExtraData ($where, $fieldarray)
// get values for star_sign and insert into lookup array
$array = $this->getValRep('star_sign');
In this line I thought to put the different column name:
$this->lookup_data['different_column_star_sign'] = $array;
Is this correct or am I wrong?
Best regards,
Juergen
|
|
|