[Dotproject-cvs] Task ordering
Brought to you by:
ajdonnison,
kchisholm
From: Dai R. <ra...@ho...> - 2004-03-31 21:51:57
|
Hi All: I am quite stuck in working on manual task ordering/sorting (via user input #), can someone point me to the right direction? I rigged task.class.php as this is where the task grid is generated, I've added an array of inputs for task_order and added a button to redirect to itself to submit and update the DB. I can not get the form action to work correctly. If I put in something like <FORM ACTION = '?m=tasks' then the resulting URL upon clicking is: dotproject102/?task_order%5B%2716%27%5, etc, etc. the ?m=tasks magically disappeared :( If I manually type in that in the location bar so it read: dotproject102/?m=tasks&task_order%5B%2716%27%5, etc, etc. It works fine. 2. Then I tried to put the function in to another file and my form action is now: <form action="modules/tasks/update_task_order.php" method='GET' name='update_task_order'> This fails as well because my update_task_order.php is not aware of the API. I even changed it to action = "?m=tasks&a=update_task_order"> but that fails due to the loss of ?m=tasks as well. From what I can tell, that is the standard way things are called ?m=tasks is interpreted by other scripts just fine. Is task.php's scope different? What am i doing wrong? Thanks! Ray _________________________________________________________________ 与世界各地的朋友进行交流,免费下载 MSN Messenger: http://messenger.msn.com/cn |