I need all content for a specific UID supplied by the argument (the /user/$arg(1). I am using advanced profile and panels, and I cant seem to get results I want from this argument. Basically I created a "Bookmarks" flag and I want to display all there bookmarks on their profile page! Except that the argument doesn't work in panels:(
So here is my view
Block and Page view = table
path: bookmark_uid
Fields:
Node: Title
Node: Type (with Markups)
No filters
Is Published
Arguements
Flags 'Favorite' for UID: Use Empty String;
Sort
Comment Last Changed: Descending
-------------------------------
Testing URL with a UID as ARG(1) works as planned.
Iinserted in a Panel causes the Empty String to show up!
Comments
Comment #1
mooffie commentedYou want to embed a view in a panel, and to pass this view some argument.
You happen to use the Flag module, but your question isn't really relevant to this module.
Panels allows you to pass arguments to views. When you enable the "Views panes" module you're able to create a new pane that shows a view and you can configure how this view gets its arguments. For example, you can configure the "Argument source" to be "From context" and the "Required context" to be "User". Why didn't you mention this step in your question?
Comment #2
MGParisi commentedWow, This went in the wrong area... anyways, I got it to work! I am so sorry, I got too many things on my mind, I am using your module, and a brain fart probably got me to put it in this project... Ahh well Closed...
Comment #3
MGParisi commentedwait... I am trying to use your argument to pass the user id through panels into a view using your user ID of flags.... but I think I learned something about views today, and what you said just cleared some thoughts... let me get back to you!
Comment #4
MGParisi commentedYep, had to use panels views to change the view... that was the solution! Thanks! Thought it was a bug, but I learned something today about panels, before you wrote me!
Good Luck and great module!
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.