Reorder extension - buggy?

I am having trouble with the recent version of the Reorder extension.
The one that uses the 4 icons via shards. The old, drag-and-drop
version was working fine. Has anyone else noted this as an issue?

When I try to move a page, it has unpredictable results. They don’t
seem to properly relocate.

Mario T. Lanza wrote:

When I try to move a page, it has unpredictable results. They don’t
seem to properly relocate.

I encountered the same phenomenon before, having data incorrect.
“position” has to be unique in a certain “parent_id”.
If you get no empty result executing following SQL(when you use MySQL),
you should modify “position” data first.

select * from pages group by parent_id,position having count(*) > 1;

Hi Naohiro,

Actually, I preferred the former reorder extension with the drag and
drop interface. I modified it to work with the shards extension.

Mario

Ideally, when you run the included migration, it should put all pages in
a default order based on the title. Unfortunately, there are serious
weaknesses to acts_as_list that cause it to break when any records get
inserted inconsistently. I’d appreciate any tests/patches that could
identify and resolve this issue.

Sean

I am not sure if I am stepping on anyone’s toes, but I got the old
drag and drop version to work on 0.6.4 with shards. This way it plays
nice with others, especially the copy_move extension.

Once I clean up the rake task, I can post a svn link if anyone is
interested.

Keith

Keith,

I would be. Again, no offense to anyone, but I kinda liked the
original one better anyways.

Thanks man,


Travis B.
Not sent from my iPhone.

On Wed, 2008-01-16 at 18:17 +0100, Keith B. wrote:

Once I clean up the rake task, I can post a svn link if anyone is
interested.

I would be interested. I’m in the process of setting up my first Radiant
system for end users who are not interested in learning how computer
things work, so the smoother the interface the better!

Thanks!

Bill B.

Keith,

I’m sure the community would appreciate it. In retrospect, my decision
to overwrite the old one was a bit too tyrannical. At the time I was
under the impression that 1) not many people were using it (which was
not the case), and 2) it was not being maintained (which was the case).

Cheers,

Sean

Sean C. wrote:

I’m sure the community would appreciate it.
Indeed. I even skipped an upgrade for one of my sites because of this
extension.

Thanks Keith!

Regards,
Erik.


Erik van Oosten

On Jan 16, 2008 6:17 PM, Keith B. [email protected] wrote:

I am not sure if I am stepping on anyone’s toes, but I got the old

drag and drop version to work on 0.6.4 with shards. This way it plays
nice with others, especially the copy_move extension.

Once I clean up the rake task, I can post a svn link if anyone is
interested.

Keith, did I miss the svn link or have you yet to post it?


Sincerely,
Bjorn Michelsen

On Jan 17, 2008 3:31 AM, Mario T. Lanza [email protected] wrote:

Keith B. wrote:

I am not sure if I am stepping on anyone’s toes, but I got the old
drag and drop version to work on 0.6.4 with shards. This way it plays
nice with others, especially the copy_move extension.

Once I clean up the rake task, I can post a svn link if anyone is
interested.

Me too. I attached it in the prior reply if anyone needs it.

Looks like the attachment elf snatched it. I didn’t get any attachment,
at
least.

Would you mind posting a link instead, please?


Sincerely,
Bjorn Michelsen

Keith B. wrote:

I am not sure if I am stepping on anyone’s toes, but I got the old
drag and drop version to work on 0.6.4 with shards. This way it plays
nice with others, especially the copy_move extension.

Once I clean up the rake task, I can post a svn link if anyone is
interested.

Keith

Me too. I attached it in the prior reply if anyone needs it.

Mario T. Lanza wrote:

Would you mind posting a link instead, please?

No problem.

http://www.ruby-forum.com/attachment/1309/reorder.zip

Thanks for posting this!

  • Dave

Would you mind posting a link instead, please?

No problem.

http://www.ruby-forum.com/attachment/1309/reorder.zip

David P. wrote:

Mario T. Lanza wrote:

Would you mind posting a link instead, please?

No problem.

http://www.ruby-forum.com/attachment/1309/reorder.zip

Thanks for posting this!

  • Dave

Mario, are you planning on implementing reorder for 0.6.7 using the old
DnD functionality?