I am using the profile module to allow users to add personal information (such as first name, last name, etc). I am then displaying this info on a custom profile template using print($profile['Personal Information']). For some reason though the field order that I set on the Admin>users>profile page is not used when displaying on the profile page. It is instead printing in alphabetical order by the field names. Is there a way that I can display the profile fields on the user profile page and have them show in the order that I set on the admin page?

Comments

scholzr’s picture

Nevermind... I found the problem. I had added all of the fields in the order that I wanted them to appear, but had neglected to set their weight. Because of this, on the profile admin page, they were displaying in the order that I had created them (the order I wanted them in), but on the actual user profile pages, they were displaying in alphabetical order. I set the weights, and they now display correctly.