I appreciate this module and it works well but the categories (fieldsets) are sorted in a weird order. Any idea how to fix that? Can they be given a weight?
I appreciate this module and it works well but the categories (fieldsets) are sorted in a weird order. Any idea how to fix that? Can they be given a weight?
Comments
Comment #1
MBroberg commentedThere is a Profile Category Weight module that assigns a weight to each category. Is there any way to get this module to recognize those weights?
Comment #2
aidanlis commentedHi,
Yes, that can probably be integrated ... I'll put it on my list of todos.
Comment #3
aidanlis commentedAll done, released in next version!
Comment #4
MBroberg commentedThank you, that was super fast!
It works well now as long as I set the category weights to -10, -9, -8, etc.
When I had them set to 1, 2, 3... they started intermixing with the theme and block configurations.
Not sure what to do about that since I don't have control over their weights.
Comment #5
MBroberg commentedYes! I just found the Form Defaults module.
That allows me to set weights or turn off features in forms.
So in summary,
I used:
Profile (core) to create categories
One Page Profile to pull all of the categories into one page and get rid of the tabs
Profile Category Weight to order the categories created with Profile
Form Defaults module to order the categories and move or get rid of the fieldsets created by other modules
My Account Alter to change the way the results look in "My Account"
This explains why I end up with 50 modules for a "simple" site. ;)
Thanks for your hard work, I really appreciate it!
In hindsight I might not have needed Profile Category Weight after all since Form Defaults seems to do the same thing.
Comment #6
aidanlis commentedBit of a bummer that it has to be that way, I wish I could say it would be easier in D7.
Because having to install 5 modules to do this is a bit ridiculous, I've spent most of the night adding a sort order to the fieldsets. I've released it as a new version, check it out.
Comment #7
roball commentedHi Aidan,
Thanks for your module! The One-page-profile behaviour should be default in Drupal core, IMO. Splitting the user profile into several tabs is a bad idea. On all Drupal sites I am developing and maintaining, most users even do not recognize there are other places than the user profile landing page where they could (or even must) fill in their data.
Adding support for category sorting order directly into your module is a great enhancement. However, v1.7 gives the error
when trying to open admin/settings/onepageprofile
Comment #8
roball commentedI am sorry - my last comment was a duplicate of #675970: Missing function _onepageprofile_get_categories().
Comment #10
bryancasler commentedSorry, I have to re-open this issue. I am using the "Profile Category Weight" v1.1 and "One Page Profile" v1.9 and yet the order of output still appears to be random.
Comment #11
aidanlis commentedGet rid of profile category weight, and go to the settings page for onepageprofile to change the category order.
Comment #12
bryancasler commentedaidanlis I completely missed that settings page. I set my preferences there and everything worked out great. So far I don't see a conflict with the "Profile Category Weight" module. Thanks a million.