Closed (fixed)
Project:
Quick Tabs
Version:
6.x-2.0-rc3
Component:
Miscellaneous
Priority:
Critical
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Jul 2009 at 12:20 UTC
Updated:
28 Jan 2012 at 20:11 UTC
Jump to comment: Most recent file
Comments
Comment #1
pasqualleyou just use the %0, %1,... to grab the argument from the url. If you are on the node page then use %1 to get the node id, and use the node id as the view argument. Then in the view the User:Uid will be the author of the node..
For filtering a view by current user, you do not need an argument..
Comment #2
DickSwart commentedThanks for your reply Pasqualle,
I have a view that displayes all a users uploaded photos that has an argument of "User: Uid", now on his profile (panels not drupal default profile) I want to display his photo's. If I add the view (No Quick tab) the the panel it works 100%, bat as soon as I add the view to Quicktabs with argument "%1" and then add the quicktab to my panel it don't work.
Please help.
Comment #3
pasquallePanels also gets the user id from the url, it automatically reads the user id from the node id, and pass it to the view. QT can not use argument from panels, so you have to read it manually.
So I am guessing you are using the content profile module (if your user pages are not the default user pages). Here #421768-4: quicktab on Content Profile page is an example how you can add quicktabs to content profile pages.
If you are adding the quicktab to simple user pages like user/2, then %1 should be the user: id..
Comment #4
DickSwart commentedI am using the content profile module, I had a look at the link you posted, but it still don't work.
Please have a look at my setup attached, please tell me what I'm doing wrong.(See attached files)
Comment #5
pasqualleforget the panels settings, that has no effect on the quicktab.
what is the url you are testing?
Comment #6
DickSwart commentedSite is not live yet, working offline.
Comment #7
pasqualleI just would like to know if your url is a node or user page?
if you try preview on the view editing page, does it work?
Comment #8
DickSwart commentedYes The View work!
Comment #9
DickSwart commentedNo It didn't work, But I were stupid. I Never selected the relationship from the dropdown for the argument. Now it works, Thank tou for your help.
Comment #10
calefilm commentedThank you for posting the pics and the issue. I had the same issue, simply not selecting the relationship in my views argument.