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
Comment #1
katbailey commentedYou need to do this with argument handling code in the view. Something like the following:
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.
Comment #2
avw commentedaha 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 :)!
Comment #3
najibx commentedhi ... 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
Comment #4
najibx commentedtried 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?
Comment #5
najibx commentedok, 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.
Comment #6
pasqualleRe #3 views block in QT will be fixed with #339481: various improvements and fixes
there you can find and test a patched release
Comment #7
pasqualleAs 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..
Comment #8
pasqualleThe 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.
Comment #9
pasqualleComment #10
diond commentedI'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.