Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Bug Reports » replaceScreenColumns does not work in all cases
replaceScreenColumns does not work in all cases [message #2377] Mon, 23 November 2009 18:57 Go to previous message
ljkbrost is currently offline  ljkbrost
Messages: 59
Registered: April 2006
Member
Hi,

When I have a screen file defined like:

$row=5
$structure['main']['fields'][$row] = array('list1'=>'list1');


The following call works as expected:
$replace_array['list1'] = array('mailing_list'=> 'Mailing List');
replaceScreenColumns($replace_array);


If I use the following screen file definition the function does not work.
$row=5;
$structure['main']['fields'][$row][] = array('label'=>'list1');
$structure['main']['fields'][$row++][] = array('field'=>'list1');


Stepping through the code it looks like the replaceScreenColumns function only handles the first case for the screen file format and not the second.

Is there a different function to use or am I using it wrong?

Cheers,


Kyle Brost
----
www.softelephant.com
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: std.update3.inc confusion
Next Topic: pdf creating fails to find file
Goto Forum:
  


Current Time: Fri Mar 29 08:22:52 EDT 2024

Total time taken to generate the page: 0.00898 seconds