Closed (won't fix)
Project:
Quick Tabs
Version:
5.x-1.4
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
30 Aug 2008 at 22:29 UTC
Updated:
5 Dec 2011 at 10:36 UTC
Hey,
First off - quicktabs is the coolest thing in the world. Many thanks for your hard work. But I was wondering if it is at all possible to put things other than blocks in the quicktabs. Views Panes is an extention of the panels module that allows you to put views into panels. This is especially useful in creating URL arguments. For example, I want to drop my user profile information into a quicktab, but since the user profile is set by user ID, the UID determines the content which shows up, and it can only be shown with a views pane because it reads arguments.
A views pane is just like a block, but I'm wondering what I could do to drop them in a quicktab?
Thanks again!
Comments
Comment #1
rc2020 commentedHey...is there any chance someone took a look at this? I've been hoping for a response but i haven't heard anything from anyone...
Thanks.
Comment #2
rc2020 commentedOkay, After reading some more support requests in this forum (namely http://drupal.org/node/248514) and after checking out some of the argument handling code documentation, rather than adding a views pane to the quicktab block, I set the view as a block view and put this:
if (!$args[0]) {
$args[0] = arg(1);
}
return $args;
in the argument handling code.
This solved my problem, and all future users who read this should try it, it works!
Thanks.
Comment #3
katbailey commentedHi Corona,
I am only now discovering the wonders of views panes myself - they are blowing my mind :-)
But yes, for quicktabs you do just need to do any dynamic arguments in the argument handling code itself
Katherine
Comment #4
kenorb commented+1
Comment #5
pasqualleDrupal 5 version of the Quick Tabs module is no longer supported. Closing.
If you have this same problem with later versions, feel free to reopen this issue.
see #236925: Panels 3 as tab content