Does the my files menu item have to be a MENU_DYNAMIC_ITEM? I want to be able to remove it in admin/menu but because it's a dynamic item I can't.

I'll post a simple patch if it's not needed.

Comments

sime’s picture

I'd accept a patch.

designerbrent’s picture

Version: 4.7.x-1.x-dev » 5.x-3.0
Status: Active » Needs review
StatusFileSize
new405 bytes

Attached is a patch for this for version 3.

designerbrent’s picture

Version: 5.x-3.0 » 5.x-3.3
StatusFileSize
new389 bytes

I'm attaching a second patch for the file menu to do the same thing as the previous patch, but for 5.x-3.3.

Is there a reason that this is not in the release?

Thanks... Brent

gordon’s picture

Status: Needs review » Reviewed & tested by the community

No reason it was just missed. I will commit this later.

Please note, that we use soft tabs (2 spaces) for indentation.

gordon’s picture

Status: Reviewed & tested by the community » Fixed

Commited to all current versions

Anonymous’s picture

Status: Fixed » Closed (fixed)
mybinaryromance’s picture

Assigned: Unassigned » mybinaryromance
Status: Closed (fixed) » Active

in 5.x-3.5 the patch from #3 (designerbrent) is applied - still it doesn't work. the error is that you cant't move the menu item 'my Files' e.g. to another menu than the main navigation. if you do so (via ?q=admin/build/menu/item/edit) it is changed for the acting user (this case admin, uid1), but not for any other user. same for deactivation.

anyway, it might be useful if this link only appeared if files were available for download.

please fix this or post a hint - this bug is VERY disturbing...

thanks in advance,
bonzo

mybinaryromance’s picture

Assigned: mybinaryromance » Unassigned