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

When I have a screen file defined like:

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

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

If I use the following screen file definition the function does not work.
$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?


Kyle Brost
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: Mon Jul 15 07:13:31 EDT 2024

Total time taken to generate the page: 0.00938 seconds