hi there,
quick tabs is great indeed as many already pointed out... i installed it and it worked fine. the only problem i seem to have is this:

- I created two views 1.most recommended 2.most discussed (provide blocks)
i have several pages like : www.example.com/politics
www.example.com/business

these are also categories (taxonomy) for my site. so i added the argument "taxonomy term name"--display all values--option=0, because this way the views take the argument from the url-i put those views as blocks into my site and they work ( e.g. showing only most discussed or most recommended articles for the category in url).

The problem is that this somehow doesnt work with quick tabs. it works but it displays ALL "most recommended" and "most discussed" articles even if the url says www.example.com/business.....

any idea why?? if i want to put in as view what does the argument line do?? Provide a comma separated list of arguments to pass to the view.????

anyways i really enjoy this module!
thanks for any help in advance

Comments

katbailey’s picture

You need to do this with argument handling code in the view. Something like the following:

if(!$args[0]) {
  $args[0] = arg(0); // this will pull 'politics' or 'business' from the path, as per your example above
}
return $args;

The arguments in Quick Tabs itself are for passing non-dynamic arguments, where you actually specify the argument, e.g. you would pass in 'business' or 'politics', but that would mean it wasn't getting it from the url.

avw’s picture

aha ok..
well thanks for that i just used minipanels and put send arguments from views...and that worked quite well! thanks again for this and for quicktabs :)!

najibx’s picture

Version: 5.x-1.4 » 6.x-1.x-dev

hi ... if selected view mode, you can enter arguments: xx,xx
Provide a comma separated list of arguments to pass to the view.

i created my views with a page view and try to pass multiple arguments argument, the views page filter accordingly. But not the block when inside the QT? isn't the argument send via URL at views page equivalent functionality as those enter in the QT argument box?

I have read, http://drupal.org/node/312762. But with Views mode, you can create a views block, insert in QT, and it will do similar job like views_tab?

great UI module for creating tabs

najibx’s picture

tried Validator: PHP code and enter the argument :

if(!$args[0]) {
$args[0] = arg(0); // this will pull 'politics' or 'business' from the path, as per your example above
}
return $args;

Seems no different?

najibx’s picture

ok, I think I got a clearer picture now, and sorry didn't read your comment #1 properly.
So, in my case, I want to pass non-dynamic arguments, where I actually specify the argument in QT argument.

I am only success with one argument. When enter two argument seperated by comma. somehow I didn't get it to work.
On views, I did check on box Allow multiple terms per argument, and get the preview to work.

pasqualle’s picture

Version: 6.x-1.x-dev » 6.x-2.x-dev

Re #3 views block in QT will be fixed with #339481: various improvements and fixes
there you can find and test a patched release

pasqualle’s picture

Status: Active » Postponed (maintainer needs more info)

As I see there are no more problems in this issue. Please test the latest release and reply if there is still something to be fixed..

pasqualle’s picture

The issue is without response and this should not be a problem in the latest release. Closing..

Feel free to reopen the issue if the problem still exists.

pasqualle’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)
diond’s picture

Issue tags: +arguments, +quick tabs

I've had success with seperating all the arguments I need with slashes. For example, with 3 args it would look like %1/%1/%1 and, in your case, replace %1 with your arguments). Let me know if this works for you.