I always found it odd that the token list was at the end of each settings section.
It's default placement also presented a problem on the site I'm working on. The "description" text has to appear between the label and the form control. This was easy enough to override with theme_form_element. But, this made the token list end up between the label and text box of the last control. Not ideal.
Anywho, the patch moves the token list to the fieldsets description.
I don't have time now, but it'd be neat if with some JQuery goodness, the token list became a floating element that stuck to a particular portion of the screen as you scrolled so that as you filled out a pattern you didn't have to keep scrolling up to reference the list.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | collapse_patterns_add_help_192298.patch | 1.41 KB | greggles |
| #2 | pathauto_settings_top.png | 46.09 KB | greggles |
| #1 | pathauto5.x-2.0 - token list moved - 1.patch | 986 bytes | jbjaaz |
| pathauto5.x-2.0 - token list moved - 0.patch | 1.14 KB | jbjaaz |
Comments
Comment #1
jbjaaz commentedSorry, my previous patch was created against the wrong revision. Please use this one.
Comment #2
gregglesThanks for your ideas and patches. The display of these certainly can be improved.
I'm not sure I like this exact approach, though. Rather than showing people what they have to do (settings) it shows a bunch of text that looks weird to them. Having the input boxes first with the default tokens in it is, I think, the best initial user experience. And as an advanced user, I already know all those patterns and just want to slightly tweak my textboxes - again I have to scroll down quite a ways to find
What about putting it at the top of the fieldset inside of its own collapsed fieldset. Do you think that would help?
Also, I attached a screenshot to make it easier for people to review the idea without downloading/installing the patch. It's of the forum settings area. People will have to imagine what it looks like in the node area (especially with lots of cck field tokens) when there are hundreds of items prior to getting to the text boxes.
Comment #3
jbjaaz commentedIndeed. Putting the settings in a fieldset (which is collapsed by default) would definitely simplify the UI.
Comment #4
gregglesHere's a patch that leaves them in the same space as currently (visually, in fact they are in a new part of the tree...) but it puts them inside a collapsed fieldset.
Feedback appreciated.
Comment #5
gregglesOk, fixed.
I think that by moving this into a different part of the tree (instead of on the last textbox) that should help the original problem you had as well, but if not I'd be interested in hearing any other solutions you have.
Comment #6
jbjaaz commentedSorry for not getting back to you sooner. Your solution works for me. Thanks!
Comment #7
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.