[support] How to link to "my account" in the main menu ?

Xavier Bestel xavier.bestel at free.fr
Tue Oct 16 14:52:49 UTC 2007


On Tue, 2007-10-16 at 18:49 +0530, Kalyani Waychal wrote:

> Try this:
> code for:
>  <?php "user/".$user->uid ?> 
> 
> 
> On 10/14/07, Xavier Bestel <xavier.bestel at free.fr> wrote:
> 
>         Hi (newbie question ahead),
>         
>         I'm using Drupal 5. I tried to add an element to the main menu
>         to link 
>         to "my account", so I made it link to "user". But when I do
>         that, the
>         element doesn't appear in the menu (whereas it works for all
>         other
>         pages). I have to put the full URL and then the element
>         appears. 
>         I looks like the menu system filters some elements based on
>         some
>         mysterious criteria - for example the "admin" element is
>         showed only for
>         administrators (that's handy). But why isn't "user" showing
>         properly ? 
>         
>         Thanks,
>                 Xav
>         


Thanks, but that doesn't work: what I write in the menu editor "path"
entry is copied verbatim (i.e. escaped) in the HTM, it's not
interpreted.

Does anyone knows why "user" isn't allowed ?
The exact same thing from the stock "my account" entry in the navigation
menu is working, but not the one I created.
I'm helpless.

    Xav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20071016/503d0a54/attachment.htm 


More information about the support mailing list