Just tried installing Me. Right off the bat, it broke DHTML Menu. I'm running Drupal 6.10 and DHTML Menu 3.4.

CommentFileSizeAuthor
#2 me-419082.patch2.85 KBcdale
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

cdale’s picture

Yup, it will do that. HAHA. Damn :(

The problem appears to be that both modules attempt to override theme_menu_item_link. I'll need to ponder on this one.

cdale’s picture

Status: Active » Needs review
FileSize
2.85 KB

I've just put together a patch that I hope will fix this. Can you apply the patch and let me know if it is still broken? I'll try and install DHTML Menu in the mean time. Be sure to clear all your caches before passing final verdict. :)

fred0’s picture

Wow! Speedy response!
Yeah... that seems to fix it. Also seems to fix another issue I was seeing that broke the display of tabs in my custom genesis based theme.

However, now that it works, it looks like the use I had intended isn't supported... I had hoped to make custom menu items but trying to add a menu item with the path /user/me or /user/me/whatever fails. Is this not a valid use of this module?

cdale’s picture

hmmm... you should be able to add a custom menu item with path user/me... I just did a test myself with both "user/me" and "user/me/edit".

I'm assuming that user/[uid]/whatever are valid paths that drupal knows about? If not, then no, the me module just allows the 'insertion' of 'me' in a place where a uid would normally be required, and dynamically swaps it out with the current users uid when the path is hit.

Did you try creating the paths without the leading slash? I don't think the leading slash is supported there. Drupal takes care of making sure the slash is put in when needed.

fred0’s picture

Duh. The leading slash was the problem. Thanks!

cdale’s picture

Status: Needs review » Fixed

Commited

Status: Fixed » Closed (fixed)

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

donquixote’s picture

This patch is causing little problems:
#820654-2: hook_registry_alter breaks themes