Ok, to fix this problem replace the admin.doqment.php (you find it in: joomla-root-folder/administrator/components/com_doqment/)
with this file, it's the easy way...
File Attachment:File name:
admin.zipFile size:5588 bytes
Then replace in admin.doqment.html.php (you find it in: joomla-root-folder/components/com_doqment/) the lines
378
| Code: |
<a href="javascript: void(0);" onClick="return listItemTask('cb<?php echo $i;?>','orderupfield')">
|
with this code:
| Code: |
<a href="javascript: void(0);" onClick="return listItemTask('cb<?php echo $i;?>','files.orderupfield')">
|
and the line 385
| Code: |
<a href="javascript: void(0);" onClick="return listItemTask('cb<?php echo $i;?>','orderdownfield')">
|
with this code:
| Code: |
<a href="javascript: void(0);" onClick="return listItemTask('cb<?php echo $i;?>','files.orderdownfield')">
|
after that open your doqment.php (you find it in: joomla-root-folder/components/com_doqment/) and replace in line nr.: 111
| Code: |
$database->setQuery("SELECT * FROM #__doqment_files WHERE cat_id = '{$cat->cat_id}' AND published = 1");
|
with this code
| Code: |
$database->setQuery("SELECT * FROM #__doqment_files WHERE cat_id = '{$cat->cat_id}' AND published = 1 ORDER BY ordering
ASC");
|
now you can reorder the doqment files in your backend...
BUT!: you can do it only with the arrows, the option to do it with the textfield after the arrows is not fixed... i can try to fix it if i have more time.
i hope you can understand my brocken english
tell me if it works
@alex: I hope you can use it to fix your component...
PS.: My Doqment version is: 1.0.0beta
Wladi
Post edited by: Wladi, at: 2007/07/31 15:42
Post edited by: Wladi, at: 2007/07/31 19:57