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

Comments

seiken77’s picture

hmmm looks like nobody knows... :(

caprianurag’s picture

Hi

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

Thanks
-AJ