By dafa on
Hi.
I'd like to have a link on my frontpage pointing the user into his/hers notification settings:
http://domain.com/user/2/notify
How can I get a hold on the user-id (2) to create this 'dynamic' url?
Hi.
I'd like to have a link on my frontpage pointing the user into his/hers notification settings:
http://domain.com/user/2/notify
How can I get a hold on the user-id (2) to create this 'dynamic' url?
Comments
I think the only ways are
I think the only ways are with code or you might like to look at the Me module which allows you to alias links like these
Success
'Me module' is exactly what I want.
Thanks alot.
--
dafa
grab the user variable
This is fairly easy to do. Do something like....
This should only display the link when logged in and put the uid in the url when it's displayed. Just throw this in your tpl.php file.
--
Matt
http://www.mattfarina.com