I've taken the stock Smartqueue_users_user view and tried to make it work. I'm just wanting a block / page that shows the items in a users subqueue.
What I'm using it for is where a user can click a link that says Add to my Favorites and Remove from my Favorites that will add and delete the items from the subqueue.
Then the view will generate a block that will just show a user his favorite stories with a link to more of his favorite stories.
It seems that this is the home stretch and I'm sure I missing something in views on filter or arguments.
Comments
Comment #1
ezra-g commentedTo make the page work, you can simply visit smartqueue-user/[uid] -- The block was designed with programmatic use in mind, that is, you must use views API functions views_get_view, views_build_view to generate the block.
It sounds like users who are not developers might like to have a block that detects when it's on user/[uid] (usually the user profile page) and displays that user's queue in a block. We'd need to make sure that this kind of solution plays well with node profiles.
Comment #2
satcom74 commentedIs there a way for instance if I had a menu item that went to the view page where the current logged in user id would be added. For instance let's just say smartqueue-user/[user-id-here] Then when the logs in and clicks the menu item it would take them to their node queue. Basically, just making a way to create a custom view for the end user to see. Also, it looks like I can key in any user's id and see their queue. For applications where you wouldn't want a different user able to see every else's queue, that could pose a problem.
Comment #3
ezra-g commentedWould you want the user to see the output of their nodequeue (ie node teasers) or the page where they manipulate their queue? Sounds like you're asking for the former. A per-user menu item could be added as a configurable option. Please submit a separate feature request for it.
The permission your're asking for is a popular request! Future discussion of that feature should go in #289814: "View User Node Queues on Profile Pages" permission.
Comment #4
satcom74 commentedComment #5
ezra-g commentedActually, I think this request should stay open.
Comment #6
satcom74 commentedI was able to get what I wanted by installing the me module. Basically feeds the uid to your view. www.yourwebsite/view/me. Works good so far. I'm not using this on any live sites yet, but plan to add an itinerary to one of our customer sites with this.
Comment #7
satcom74 commentedI'm going to call this fixed. I've been using the Flags module to serve this purpose. It has worked fine for what I needed which was an add to favorites type thing per user.