Closed (fixed)
Project:
Quick Tabs
Version:
6.x-2.0-rc5
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Apr 2009 at 22:22 UTC
Updated:
3 Aug 2017 at 10:36 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
pasqualleyou need to use ajax views, if you need pagination, sort, or filter view functionality inside quicktabs. Non-ajax view makes a full page reload.
edit view->Basic settings->Use AJAX
Comment #2
fumbling commentedThanks, you're right, that did it.
Comment #3
pasqualleComment #4
najibx commentedthanks, i was using an iframe earlier. I thought that "use Ajax" is only for pagination. now I know ...
Comment #6
alesuz commentedI don't have pager in my page but I have exposed filters. When I use the filter in the second tab it links back to the corresponding page of the first tab. And it happens even using Ajax. What should I do?
Comment #7
pasqualleIt should not happen when you are using ajax view.
edit view->Basic settings->Use AJAX
Comment #8
tauno commentedI'm seeing a similar issue. I have a programatically created quicktabs block that has an ajax enabled view (block display) as the first tab. The exposed filter form isn't using ajax like it should and is submitting to the site home page (with the filter arguments in the url). If I add a page display to the view it submits to that page. I'm using 6.x-2.x-dev.
Comment #9
pasquallecan you attach a screenshot of the view and quicktab settings?
Comment #10
tauno commentedHere's the code I'm using in my block to generate the quicktab block. This is used in a custom module, not php input to a user defined block. Attached is the screenshot of the view I'm trying to use. The exposed filters use ajax when I include the view as a normal block and in the views UI preview. Let me know if you have any ideas for tracking down the issue.
Comment #11
pasqualleok, this looks good, and I do not see why it does not work.
As I see you first tried to insert the view as block tabpage, that would be wrong, that does not work. Here is the explanation if you want to know why view must be inserted as view: #345175-1: what could be inside ajax quicktabs
the only issue here is the view argument. You have an argument in the view but you are not passing it to the view.
#332895: render quicktab programatically This is the example how to insert a view into quicktab:
So, you should try to delete the argument from the view or pass the argument to the view in your code. And there is no 'hide_title' property for view type tabpage.
Other thing you should try to change
That should always work without any problem, as it is almost same as the embed_view() function. Although the view is on the first tabpage so it has no effect on it (as the first tabpage is always loaded at page load normally without any ajax).
Comment #12
tauno commentedAh. I tried all your suggestions and then figured it out. Not QT related I don't think. I was using the same view display (block) in another place on the page while I was testing quicktabs, I guess views doesn't like that too much. Thanks for the suggestions though. I did remove the hide_title property and add an empty args property (my view uses a php generated arg though) for consistency. Since I hopped in on this issue I'll leave it as active for the previous poster.
Comment #13
pasqualle@alesuz: do you still have problems with the pager?
Comment #14
alesuz commentedYes I had. When I click the pager in the second tab, it returns to the first tab. I had to find another solution to solve this problem... http://www.neapa.org.br/estamosAqui
Comment #15
pasqualle@alesuz: please read the first comment. It is not an ajax view on your site..
Comment #16
pasqualleComment #17
garyg commentedI also have this problem and it is not solved by using ajax.
When I click the pager in the content within second tab, it returns to the first tab's pages.
I have enabled ajax as noted in views, but this problem persist.
I am using a panels but quick tabs is the only content as of now.
Appreciate any ideas.
Comment #18
garyg commentedComment #19
pasquallethat is the problem
Comment #20
giorgio79 commentedI am not using panels, and views is set to ajax. I am using views tabs, and having the same issue with paging. If I try to view a second page on a view, in one of hte tabs, it jumps to the 2nd page of the first tab.
Comment #21
delykj commentedSame bug here.
Using views as tabs inside a Panel page. Views's AJAX set to true.
I think we need to pass "pager_element" to the AJAX call in Drupal.quicktabs.tab.prototype.quicktabsAjaxView
Also we need to setup the view's pager in quicktabs_render_tabpage.
There is some helping code in http://drupal.org/node/1049366
Comment #22
wernerglinka commentedIs this issue being looked at by the maintainers or do we have to file a bug report? I have the same problem:
Using Views 2.12, QTabs 6.x-3.x-dev
I use a qtabs block within a qtab block. The second tab content is a view and has a pager. The view is set to use ajax. The qtab block is also set to use ajax. When I click the pager the tab closed and the first tab is shown again. When I open the second tab again, the second page is shown so the pager works...
Comment #23
a.siebel commentedsubscribe - have the same problem.
Comment #24
wernerglinka commentedJust to follow up on my comment #22. I resolved my issue. See http://drupal.org/node/388904
Comment #25
jmatuska commented#1 -I set my view to use AJAX and now the paging is working in my Quicktabs in Internet Explorer, but still doesn't work properly in Firefox. Any idea why works in IE but not FFox?
--- IGNORE ABOVE POST ----
I'm sorry. today it's working in FF and IE both. Apologies to the group...
I must have needed to clear cache or something.
Comment #26
netw3rker commentedComment #27
drupal4u.org commentedI had a similar issue with QuickTabs (Version: 7.x-3.6) and Views Load More (Version: 7.x-1.5). The Views Load More pager worked on any block and page outside QuickTabs, but there was a problem inside QuickTabs, where I used various blocks. Using the load more function would not load more content. I played around with a couple of options (ajax on both elements on/off, using view pages instead of blocks, etc.). What finally solved the problem was to create a page instead of a block within views AND to use the option "callback" within quicktabs. So if you create a page view and you assign it to a quicktab with the option callback, the problem is resolved.