Want a quick redirect, without manhandling system files? Just use the core Path module: on the "URL aliases" form (/admin/build/path), complete 'Path alias' with the path you expect visitors to use, and complete 'Existing system path' with the path you'd like to send them. 'Path alias' can be an existing system path; Drupal will still treat it as an alias and send visitors to your specified path.
Drupal Wish #3: Easier Menu Item Weights
Aargh, am I missing something entirely?
When I create a new menu item, I typically know where I want it to nestle among the existing items. Such as before "links" but after "about us", etc.
But naturally, I don't remember what weights I gave those menu items earlier. So how do I know what weight to give the new menu item? I don't! It's "guess and see what happens". Or, the usual process, "edit" the bracketing menu items, note their weights, and set my new item's weight in the middle.
The same holds true for another type of "menu", the list of terms in a vocabulary. If I want to add a new term in a specific spot on the list, I need to first "edit" the bracketing terms to check their weights. Yet I don't actually want to edit these things; I just want to know the weights!
I hate this little weight dance. Look at well-behaved Blocks: they display their weights right up front on their list, and even let us reorder the weights en masse, in one fell operation before clicking "Save blocks".
Menu items and lists of terms, it'd be great if you did the same! Show us your weights right their on your lists, so we know exactly where to place new items. Better yet, show your weights in drop-down menus, like weights in Blocks, so we can reorder with ease. That's a huge time-saver when we have to shift a whole bunch of tightly-clustered items to open up the right spot for a new one.
Any Drupies agree with me on this one?
Relevant Content
The Drupal Ace logo has dealt these content suggestions from the deck.
Learn Drupal, hands-on
Get the beginner-friendly ebook that teaches community site building via a live case study.







Re: Drupal Wish #3: Easier Menu Item Weights
Spoke too soon... just read that drag'n'drop reordering is one of the things that will hopefully get into Drupal 6. I'll just wait then :)
Re: Drupal Wish #3: Easier Menu Item Weights
I haven't read whatever source you read about drag'n'drop weight reordering in Drupal 6, but I hope it's indeed true. I'm sure D6 will address many of our collective wishes.
I'm moving up "check out and report on Drupal 6" on my to-do list. Should be a hoot!
Re: Drupal Wish #3: Easier Menu Item Weights
Yes! It ought to be so much easier. It can't be that hard to write a module that gives an admin screen and lets you drag and drop all the menu items, and can then work out for itself what each item's weight should be without you needing to worry about it. I think the whole concept of the user having to pick a weight is silly when Drupal would be perfectly capable of maintaining a list order itself. I have no experience in making modules but if I can't find one already made I may have to give it a go :)
Post new comment