Hi!
Thanks (again) for a great mod. I was wondering if it is
possible to extend the sort function to also include other
fileds besides first- and last name, i.e. a drop down list
where you choose any of the existing fields to use as a
sort perameter?
I am trying to use it for a website of an associations that also
need to add extra fields or sort associated for city, region,
state etc...
Is it possible to modify module or can you add this function?
thanx and compliments for very nice work!
tchitchi
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm thinking this will use a mod_phpwscontacts_sortorder
table. Each time the sort order is changed, all of the rows
in _sortorder are dropped and the new order is set. Fields
will basically be order and colname.
Is 5 fields a large enough cap for you? Mainly for
presenting this on the settings screen. I could kick off
another screen but there are still far too many fields to
present drop-downs for them all. However I could always
start with 5 or so and have an "Add Another Field" that
would submit the fields stored so far into the session and
present another drop down.
For now I could just do 5 fields.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
5 fields will be perfectly enough. I haven't had time to test it
out yet, but I am sure it will be perfect. It is mainly
in "browsemode" where that it is interesting to be able to use
different sort functions when you have a lot of users.
Happy New Year!
Anders
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=339770
I am trying to use it for a website of an associations that also
need to add extra fields or sort associated for city, region,
state etc...
Is it possible to modify module or can you add this function?
thanx and compliments for very nice work!
tchitchi
Logged In: YES
user_id=61900
Scheduling for 0.7.0. ETA will probably be a while off so I
can concentrate on a couple of other modules. Thanks for
you patience.
Logged In: YES
user_id=61900
I'm thinking this will use a mod_phpwscontacts_sortorder
table. Each time the sort order is changed, all of the rows
in _sortorder are dropped and the new order is set. Fields
will basically be order and colname.
Is 5 fields a large enough cap for you? Mainly for
presenting this on the settings screen. I could kick off
another screen but there are still far too many fields to
present drop-downs for them all. However I could always
start with 5 or so and have an "Add Another Field" that
would submit the fields stored so far into the session and
present another drop down.
For now I could just do 5 fields.
Logged In: YES
user_id=847912
Hi Rizzo!
5 fields will be perfectly enough. I haven't had time to test it
out yet, but I am sure it will be perfect. It is mainly
in "browsemode" where that it is interesting to be able to use
different sort functions when you have a lot of users.
Happy New Year!
Anders