Closed (won't fix)
Project:
Views (for Drupal 7)
Version:
6.x-2.0-rc1
Component:
block displays
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Aug 2008 at 17:42 UTC
Updated:
27 Jul 2010 at 13:16 UTC
Jump to comment: Most recent file
Comments
Comment #1
merlinofchaos commentedIt might be possible in Views; it depends upon what data you're using to place the data into the profile page. If that data is available to Views as an argument, then you should be able to do it with an embedded view and a little custom code in the default argument.
I can't give anything more specific without knowing more about what you're doing, but if you've accomplished all that this might be enough for you to go on!
Comment #2
gausarts commentedActually I have a big problem with that little custom code in the default argument:)
Here's what I have done this far:
I create a board content type, and also a note type. Generating the content by devel. Displaying each node form inside user_profile.tpl using tabs and right under each form I place views block that pull some fields such as picture, date, username, title, node view link, comment count, and edit link. I also tried to manually create a node on another user page.
Now my problem is how to filter or argument so I can display the created nodes only for the user where the node form resides. That is when user A comes and creates a board on user B node form, the node must be displayed on user B profile and never on on user A, the author. I have tried several options from argument default value to no luck. What happened now is that the created node is just displayed on the author profile (user A) page.
Thanks for the reply.
Comment #3
gausarts commentedAny help with the little custom code in the default argument so I can display the created nodes only for the user where the node form resides? I would be very grateful to any help. Thanks as always.
Comment #4
sunSorry, this support request is way too specific. Please have a look at the issue queue - Views maintainers are buried already.
Also, this sounds more a like feature request for Guestbook module.
Comment #5
greg.harveyGlad I found this. I've been giving it some thought and it feels like a module that extends the node object with a
$node->recipient(which is just the$user->uidof the user the content is aimed at - the "wall" owner, if you like) and supplies a Views argument to allow the Views module to only show nodes for a specific$node->recipient.I don't think it would take much. Obviously there'd need to be a little form-based magic to auto-populate the recipient field (probably just data and use an argument on the node/add page, e.g. node/add/wall-post/%uid and the value of %uid goes in to
$node->recipient).I might take a shot at this next week. If I do, I'll post back. Unless someone knows of something elsewhere already achieving this?
Comment #6
gausarts commentedMe glad too, that finally somebody else interested with this. I am even more encouraged seeing that flag now is getting matured along with rules. All thing's fine so far with me. I just need a little more elaboration to allow commenting right on the wall:)
Comment #7
rajarju commentedHi guys..
to heat up the discussion..
One of the things that i was wondering about was expanding the wall. Like instead of adding pagination add a More link at the bottom of the page that will show previous entries on the wall
i think views can again be used here. Only that we should write the view manually
Any idea about if the current facebook-style status module can be used.. ?
Comment #8
rajarju commentedOr for a simple fb wall .. can this be done ?
While using content profile
enable comments on content profile
Alter the comment form if it is for content profile and make it look like a wall post form
Add Ajax module and make the comments get posted quickly
this should atlest look like an fb wall.
But this will not allow to comment on Wall posts.
I think for that each of the wall posts should be stored as a node.
+ like module + Comments
Would require a lil bit of custom coding and theming though
wat say ?