new Entry field order
Status: Alpha
Brought to you by:
stecy
Hey, I want to first thank you for this great app.
I noticed that the entry boxes for creating a new
entry are in reverse alphabetical order on the page.
This isnt good because I want to enter certain fields
before entering others. Is there a way to make them
list in the same order that they were created?
Iknow that the table page shows them correctly.
Thanks in advance.
Logged In: YES
user_id=1269941
I found that if you add an ORDER BY clause to line 60 of
inc/entry_new.php, then you'll get the entry boxes in the
order that you specified in the "Column" page.
Ther resulting line is then:
$result = $DB->query("SELECT col.* FROM
".$DB->tableprefix."col AS col, ".$DB->tableprefix."category
AS cat WHERE col.colid=cat.colid AND
categorytitleid='".$categoryid."' ORDER BY col.displayorder");
Then, to be consistant, you can make the same change to:
line 74, inc/entry_edit.php
line 61, inc/entry_copy.php
-Jay
Solution which is posted below don't work for me. Can someone posted correct solution for problem with columns order.
Any help appreciated.
I must correct my previous post and say that this solution is correct. I tested it again today and work just fine.
:-)