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

Home » RADICORE development » Bug Reports » replaceScreenColumns does not work in all cases
Re: replaceScreenColumns does not work in all cases [message #2378 is a reply to message #2377] Tue, 24 November 2009 04:08 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2368
Registered: April 2006
Location: Surrey, UK
Senior Member
Your 2nd screen structure definition is wrong. You can define a row in either of the following formats:
$structure['main']['fields'][5] = array('list1'=>'list1');

or:
$structure['main']['fields'][5][] = array('label'=>'list1');
$structure['main']['fields'][5][] = array('field'=>'list1');

Notice that in the 2nd option the label and the field MUST appear in the same row otherwise they cannot be associated with each other.

Another point to note is that both the replaceScreenColumns() and replaceScreenHeadings() functions were designed to work in a horizontal (list) display, not a vertical (detail) display.


 
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: Sat Nov 23 22:44:21 EST 2024

Total time taken to generate the page: 0.00876 seconds