my wishlist menu link

seiken77 - January 11, 2009 - 21:30

Hi all
I have a very annoing problem and I couldn't find any answer. I'm new to drupal so to et you know;)
I wan't to add a menu link that will display current users wishlist - I use wishlist module.
I can do it (create a working link) in user profile when I add this code to user-profile.tpl.php

<div class="profile">
<dt>Wishlist</dt>
<?php print l('SOME TEXT '. $account->name. '!', 'wishlist/'. $account->uid); ?>
</div>

but as I cannot enter a phrase like that into a field when creating menu link I can't do it.

I've tried "me" module... but I get this: "Invalid argument to wishlist_page [me]"

so the question is how can I do what I want to do??
is it possible to somehow redirect this link so it will get the argument into the path?

thanks for any help

hmmm looks like nobody

seiken77 - January 13, 2009 - 21:31

hmmm looks like nobody knows... :(

Hi Did you figure this out?

caprianurag - February 13, 2009 - 03:52

Hi

Did you figure this out? I want something similar..

Thanks
-AJ

 
 

Drupal is a registered trademark of Dries Buytaert.