Whew. Things are moving fast today.

The attached patch adds drag-and-drop text to profile module, of a style similar to both forums and blocks help text.

Comments

gábor hojtsy’s picture

It would be good to mention here that categories can be set and added by editing a field. This is so awkward, but this is how it works for now :|

keith.smith’s picture

StatusFileSize
new1.59 KB

This adds:

      return '<p>'. t("This page displays a list of the existing custom fields to be displayed on a user's <em>My Account</em> page. To provide structure, similar or related fields may be placed inside a category (add or edit categories by editing the <em>Category</em> option while editing a field). To change the category or order of a field, grab a drag-and-drop handle under the Title column and drag the field to a new location in the list. (Grab a handle by clicking and holding the mouse while hovering over a handle icon.) Remember that your changes will not be saved until you click the <em>Save configuration</em> button at the bottom of the page.") .'</p>';

The category stuff is hard to add because you can't say "add or edit categories by editing the category field while editing a field".

keith.smith’s picture

Status: Needs review » Needs work

Bleh. That's still bad.

keith.smith’s picture

Status: Needs work » Needs review
StatusFileSize
new1.67 KB

OK. Perhaps the attached patch will work.

      return '<p>'. t("This page displays a list of the existing custom profile fields to be displayed on a user's <em>My Account</em> page. To provide structure, similar or related fields may be placed inside a category. To add a new category (or edit an existing one), edit a profile field and provide a new category name. To change the category of a field or the order of fields within a category, grab a drag-and-drop handle under the Title column and drag the field to a new location in the list. (Grab a handle by clicking and holding the mouse while hovering over a handle icon.) Remember that your changes will not be saved until you click the <em>Save configuration</em> button at the bottom of the page.") .'</p>';
gábor hojtsy’s picture

Status: Needs review » Fixed

This looks good to me, thanks. Committed.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.