By jasonwhat on
Does anyone know of a code that will create a dynamic link. I want to have a link that is http://mysite.com/product/userid(with this id changing depending on what the current users id is). Is this possible, is there a code-html or php, for this?
Comments
I'm presently looking for a solution on this...
related to babelfish translations, so that in a menu I can write a contextual link to pass to babelfish.
I'd rather not have to hack the php to do this; I'd like to be able to do it all in HTML...
as I know, you have to use
as I know, you have to use php for this :-/
here is an example for a user profile link, usable in a node or a block :
not really hard isn't it ?
Thanks Teto -- Working Code Example:
For an Example of more working code, based on the above example, go to:
http://drupal.org/node/331883