I got it working, but I only have a couple minutes so I'll do a quick explain and more detail tomorrow if you need it.
Make sure the tracker view is enabled. Create a file node-usernode.tpl.php and copy the normal node.tpl.php into it. Then add this bit:
<?php $usernodeuser = usernode_get_user($node); $view = views_get_view('tracker'); print views_build_view('embed', $view, array($usernodeuser->uid), false, false); ?>
If that doesn't make sense, I'll write up more specifically tomorrow. Gotta take care of my son now.
Michelle
On 4/7/2007 4:32:03 PM, Neil: esl-lounge.com (neil@esl-lounge.com) wrote:
I am using CCK and UserNode and would like to insert a View showing all blog posts and forum posts by that user.
I got Insert View module which allows me to insert views inside CCK fields but it's just passing the default values and I don't know how to show "current user's content"
On some Drupal 4.7 sites, I have a user role called "site admin." This user role has several privileges, including "administer users" and "administer nodes."
A test user with the "site admin" role can edit some pages created by user 1, but not others. I am going to stop creating pages when logged in as user 1, but I am trying to understand how privileges are assigned, and can't figure out why some pages are editable and others are not.
Andrew
Does that role have permission to use all input filters? If you have access to edit a given node type but not to use the input filter type that node uses, you can't edit the page.
On Sunday 08 April 2007 7:14 pm, Andrew Cohill wrote:
On some Drupal 4.7 sites, I have a user role called "site admin." This user role has several privileges, including "administer users" and "administer nodes."
A test user with the "site admin" role can edit some pages created by user 1, but not others. I am going to stop creating pages when logged in as user 1, but I am trying to understand how privileges are assigned, and can't figure out why some pages are editable and others are not.
Andrew
On Apr 8, 2007, at 8:44 PM, Larry Garfield wrote:
Does that role have permission to use all input filters? If you have access to edit a given node type but not to use the input filter type that node uses, you can't edit the page.
That was it. Thank you very much; I could not figure out what was going on.
Andrew
On Sunday 08 April 2007 7:14 pm, Andrew Cohill wrote:
On some Drupal 4.7 sites, I have a user role called "site admin." This user role has several privileges, including "administer users" and "administer nodes."
A test user with the "site admin" role can edit some pages created by user 1, but not others. I am going to stop creating pages when logged in as user 1, but I am trying to understand how privileges are assigned, and can't figure out why some pages are editable and others are not.
Andrew
------------------------------------------------- Andrew Michael Cohill, Ph.D. President Design Nine, Inc.
Design Nine provides visionary broadband architecture and engineering services, telecommunications and broadband master planning, and broadband project management.
Visit the Technology Futures blog for frequently updated news and commentary on technology issues. http://www.designnine.com/news/
http://www.designnine.com/ Blacksburg, Virginia Voice: 540.951.4400