[SOLVED] Reordering of Fields broken

11 years 10 months ago #53859 by sarav
Hallo, I wanted to ask if there are any news about this bug solving...
thanks a lot
11 years 10 months ago #54229 by colinstewart
Hi!

Is there any word on this being fixed?

My order is completely out and cannot get it to go back in order.

Any fields I have added to my Contact Info tab appear any the wrong order. I try putting the order number in the colum and clicking on re-order but that doesn't work. I can't use the up and down blue arrows, as only two fields show this, the rest of the fields on the Contact Tab don't.

I've tried moving the fields to a different tab, and putting them back to this tab in the order I want, but to no affect.

A quick response would be greatly appreciated as this is a big problem.

Thanks

Colin
11 years 9 months ago #55314 by beat
fixed in upcoming CB 1.2. :)

to fix in CB 1.1, search "usort" in administrator/com_comprofiler/library/cb/cb.database.php and change that line to this line:

[code:1] usort($orders, array( $this, "_cmp_obj" ));

[/code:1]

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info
11 years 9 months ago #55321 by sarav
Thanks a lot, beat, now it works! :) :)
11 years 6 months ago #62724 by lenamtl
Hi Beat,

what is the code for previous version CB 1.0.2?

Thanks

Post edited by: lenamtl, at: 2008/05/12 02:43

Lenamtl
11 years 5 months ago #63132 by ArtofLight
Thanks for this Beat. Just to let you know - the re-ordering now works but I am not getting arrows on all of them. Some are new - some old - so hasn't followed on from the previous problem of not getting arrows on new fields on the Contact tab! ;)
Moderators: beatnantkrileon
Time to create page: 0.446 seconds
Facebook Twitter Google LinkedIn