Le jeudi 22 juillet 2010 à 15:36 +0200, Michel Morelli a écrit :
Hi all, I have a view that return all user content and I want to link this page, in a menu entry, with the url user/UID/mycontent. My view works, I need to specify a parameter in the menu entry.
How can I do this ?
Thanks,
M.
If you are using views, you can specify a path for you view (display page). In this path, specify % in place of the uid, you will get this path:
user/%/mycontent
Then, add an argument to your view, which is the node create uid, specify in the argument configuration the user must exists, and that the view require this relationship. Specify it waits for a numeric uid.
Then, finish by configuring, in the path settings, that the % correspond to your argument (I can't remember if views does it by itself or not).
Pierre.