Buy Cheap Software - Discount Software
pimpMyJoomla Board
Welcome, Guest
Please Login or Register.
Lost Password?
Can not Re-order categories (1 viewing)
_GEN_GOTOBOTTOM Post Reply

TOPIC: Can not Re-order categories

#428
mikeyb (User)
Junior Boarder
Posts: 7
graphgraph
Can not Re-order categories 2007/05/16 02:59 Karma: 0  
After 1.0 upload tonight I installed and tested. Bug in changing pages is fixed, but now when I try and re-order categories by either clicking on the arrows up or down to change category order, or by changing numbers and saving.... nothing happens and the page takes me back to the main doQument component page.


FYI - is this a bug ?

Mikeyb
  The topic has been locked.
#436
alex (Admin)
Admin
Posts: 301
graph
Re:Can not Re-order categories 2007/05/16 10:20 Karma: 8  
Ok, i'll take care of that and let you know. Thanks.
  The topic has been locked.
#582
poulkubel (User)
Fresh Boarder
Posts: 1
graphgraph
Re:Can not Re-order categories 2007/05/20 19:54 Karma: 0  
The same problem occurs when trying to re-order the files under each category.

/Poul
  The topic has been locked.
#756
jbourque (User)
Junior Boarder
Posts: 7
graphgraph
Re:Can not Re-order categories 2007/05/25 16:23 Karma: 0  
Alex when do you think this bug will be fixed? Is there a quick fix I can do to the code now?

Thanks in advance

Post edited by: jbourque, at: 2007/05/25 16:24
  The topic has been locked.
#773
freecodeforall (User)
Expert Boarder
Posts: 29
graphgraph
Re:Can not Re-order categories 2007/05/31 11:26 Karma: 0  
Hi, I would like to know when reorder categories is fixed. I'd like to test it please.
Thanks,Jeroen
  The topic has been locked.
#775
alex (Admin)
Admin
Posts: 301
graph
Re:Can not Re-order categories 2007/05/31 13:41 Karma: 8  
i am really busy this week with forme and another component i am developing. I will take care of it the starting of next week.
  The topic has been locked.
#776
jbourque (User)
Junior Boarder
Posts: 7
graphgraph
Re:Can not Re-order categories 2007/05/31 13:53 Karma: 0  
Alex

So I was looking at the code for admin.doqment.html.php around the javascript for the up and down arrows. Do you have a thought around this problem. I have tried to reference other apps but everything seemed to be in tact.

If you have some thoughts I can try to do the modification.

Joe
  The topic has been locked.
#828
hespowercomm (User)
Fresh Boarder
Posts: 1
graphgraph
Re:Can not Re-order categories 2007/06/06 08:27 Karma: 0  
Hi Alex,

Just installed your doqment extension, simple and works well, very good.'

I am experiencing the same problem re-ordering files and categories.

Any news on a fix?

Thanks,

Paul
  The topic has been locked.
#918
jbourque (User)
Junior Boarder
Posts: 7
graphgraph
Re:Can not Re-order categories 2007/06/22 12:58 Karma: 0  
Alex

Do you have a time frame in regards to fixing this bug?

Thanks in advance
Joe
  The topic has been locked.
#984
jbourque (User)
Junior Boarder
Posts: 7
graphgraph
Re:Can not Re-order categories 2007/07/12 13:30 Karma: 0  
Has anyone figured this out yet? I really would like to fix this bug.

Joe
  The topic has been locked.
#987
jbourque (User)
Junior Boarder
Posts: 7
graphgraph
Re:Can not Re-order categories 2007/07/17 03:48 Karma: 0  
Alex

Is the only way to get this fixed is to upgrade to the commercial product? Or this this bug get fixed soon?

Thanks,
joe
  The topic has been locked.
#995
Wladi (User)
Junior Boarder
Posts: 5
graphgraph
Re:Can not Re-order categories 2007/07/27 13:11 Karma: 0  
hi folks,

i've solved the problems, but i don't know if i can post the missing code part here...
what would you say alex, is it ok?
if you want, you can use it to update your component...

greats
wladi
(sorry for the bad english )
  The topic has been locked.
#996
freecodeforall (User)
Expert Boarder
Posts: 29
graphgraph
Re:Can not Re-order categories 2007/07/30 11:47 Karma: 0  
I would be very happy if you could give us the answer as how to solve it. It so hapens that RSfiles can't do the job on my site alone.

Jeroen
  The topic has been locked.
#997
Wladi (User)
Junior Boarder
Posts: 5
graphgraph
Re:Can not Re-order categories 2007/07/31 15:39 Karma: 0  
See the next post

Post edited by: Wladi, at: 2007/07/31 15:44
  The topic has been locked.
#998
Wladi (User)
Junior Boarder
Posts: 5
graphgraph
Re:Can not Re-order categories 2007/07/31 15:39 Karma: 0  
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.zip
File 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
  The topic has been locked.
#999
freecodeforall (User)
Expert Boarder
Posts: 29
graphgraph
Re:Can not Re-order categories 2007/07/31 17:01 Karma: 0  
Thanks for sharing! Sorry I am not able to find <a href="javascript: void(0);" onClick= on line 378 of admin.doqment.php

Can you also post the whole file? it's only 53 kb.

Jeroen

Post edited by: freecodeforall, at: 2007/07/31 17:03
  The topic has been locked.
#1000
Wladi (User)
Junior Boarder
Posts: 5
graphgraph
Re:Can not Re-order categories 2007/07/31 20:03 Karma: 0  
sorry it was my mistake i mean the admin.doqment.html.php
i can't post this file, because there are to many changes for my needs.

wladi
  The topic has been locked.
#1001
freecodeforall (User)
Expert Boarder
Posts: 29
graphgraph
Re:Can not Re-order categories 2007/07/31 21:22 Karma: 0  
I changed everything and installed the component but I still can't re-order the categories, sorry.
  The topic has been locked.
#1002
Wladi (User)
Junior Boarder
Posts: 5
graphgraph
Re:Can not Re-order categories 2007/07/31 23:46 Karma: 0  
ok, sorry again... i fixed it only for files...
now i fixed it for categories too.

download this now as component and install it as normal...
i replaced all affected files in the original install pakage.

File Attachment:
File name: com_doqment1.zip
File size:49473 bytes


i hope it works now...
give me a feedback

wladi
  The topic has been locked.
#1003
freecodeforall (User)
Expert Boarder
Posts: 29
graphgraph
Re:Can not Re-order categories 2007/08/01 08:31 Karma: 0  
Wladi you're the greatest! Thanks For this great modified comp! I installed it on my testsite and it works great.

Jeroen
  The topic has been locked.
_GEN_GOTOTOP Post Reply
© Copyright 2007 Best of Joomla, Powered by FireBoardget the latest posts directly to your desktop