Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
By kmt333 on
Hi,
I basically want the My Account link generated in the user menu to point to user/%/edit instead of user. I've tried using hook_menu_alter(), but I'm clearly doing something wrong. It seems as though this should be a pretty straightforward function to place in the template file of my custom theme, but I'm struggling.
Thanks in advance for any assistance.
KMT
Comments
=-=
not possible to deal with by disabling the default menu item and creating a new?
It is not possible to create
It is not possible to create a menu item with argument (%) in Drupal menu management interface. I think module 'me' may help you to do this.
---
Drupalika | دروپال فارسی
Rules can do this for you.
Here's an exported rule I just whipped up to get you started.
Good luck, have fun...
thanks bitradiator! :)
thanks bitradiator! :)