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
Try this: code for: <?php "user/".$user->uid ?>
On 10/14/07, Xavier Bestel xavier.bestel@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
-- [ Drupal support list | http://lists.drupal.org/ ]
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@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