Hi @admin,
Been following up and testing ordering wizard
relating to @mfr75 's post and discovered that part of his problem with the wizard is that he was using COOK 1.5 and not 2.0. However, during testing, I did come across an issue with editing a record's ordering field.
Setup
- FF Version: 15.0.1 (Although it has just found an update of some sort)
- OS: MacOSX 10.6.8 (Snow Leopard)
- Joomla Version: 2.5
- Environment: Sandbox
- Cook Version: 2.0
- JS: JQuery
- Form Style: Condensed
- Features: Maximum
- ToDo: No
- DB Automation: Model
- Timeout: 20 secs
Symptoms
When I edit an item, the ordering field value is always pre-populated with the option Order First and is therefore always set to 0 upon save unless changed. It does not keep the value of the ordering field from the grid view.
- Options: Here are the options I'm seeing in the ordering combo;
- Order First
- --1 ()
- --2 ()
- --3 ()
- Order Last
Shouldn't the options (--1 (), --2() & --3 ()) utilise the row's title or another field inside of the brackets like --1 (Item 1's Title)? Could a parameter be added to choose this in the field, view and/or layout?[/color]
- Should ordering fields allow you to enter any integer value? Currently, they only allow values between 1 and the number of items which is what I personally prefer however, in most Joomla uses of ordering I can think of, plugins for instance, one can set 10000 even if there are only 100 records???
Like I said, I prefer the way it works now but I guess some developers might want to allow their users the ability to set a much higher value to ensure it always comes last.
Contrary to the behaviour of positive integers, negative integers seem to work out of the range (count of values) in that, in a table with 3 items, I can set one of them to -100 in the grid view however values 2 and 3 keep their ordering values as 1 and 2.
Many thanks,
Gez