Drupal using views with CCK custom fields

Posted by jackbot on Stack Overflow See other posts from Stack Overflow or by jackbot
Published on 2010-03-29T15:20:43Z Indexed on 2010/03/29 15:23 UTC
Read the original article Hit count: 388

Filed under:
|
|

I've got a Drupal site which uses a custom field for a certain type of node (person_id) which corresponds to a particular user. I want to create a view so that when logged in, a user can see a list of nodes 'tagged' with their person_id. I've got the view working fine, with a url of my-library/username but replacing username with a different username shows a list of all nodes tagged with that user. What I want to do is stop users changing the URL and seeing other users' tagged nodes. How can I do this? Is there somewhere where I can dictate that the only valid argument for this page is the one that corresponds with the current logged in user's username?

© Stack Overflow or respective owner

Related posts about drupal

Related posts about cck