Hi,
I am trying to display a user's bookmarks on their profile page (visible to all, not just to the user). It's almost exactly this:
http://drupal.org/node/282024
But instead of displaying the view as a page, I want to display it as a block, in a panel. I am totally lost. Views defeats me every time.
I get that I can make user/$arg/favorites my URL (and it works!), but can I do something similar with block so I can display in a panel? (Do I need to make use of the UserID context in some way?)
(Also, please let me know if this is totally the wrong place to ask this.)
Thanks for any insight you may be able to offer --
Eileen
Comments
Comment #1
mooffie commentedThat's good, so you're half there.
You don't need to mess up with blocks. Just enable the "Views panes" module and you'll be able to define a new pane that shows that view.
The only "challenge" left is how to pass the UID argument to the view. I explained this to a user here:
http://drupal.org/node/290808
It's ok to ask it here. But you should know that the question actually has nothing to do with the Flag module. The question at hand is "How do I show a view in a pane, and how do I pass it some argument?" --it's worth to know this so that one doesn't chase a red herring.
Comment #2
mooffie commentedI'm closing this. Please re-open if you have questions/problems.
Comment #3
chadchandler commentedAdding to anyone interested. All you need to do if you want this in panels is to add the required context (user) as a view pane, and then insert it with a mini-panel.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #5
Anonymous (not verified) commentedThis might be a bit late but will help someone for sure.
This is how to create a bookmark link in a block using views (Drupal 7 and 8):
Have fun