I've installed Quicktabs 7.x-2.0-beta1, and it works just fine, but with Panels 3. I've added a panel with 2 column layout. The HTML is get just fine with AJAX, but not the necessary panels CSS file for it. (2 columns are not rendered at all cause of missing CSS)
I saw that Panels code calls drupal_add_css() for adding the necessary CSS file, but (i'm not a QT code expert at all) it seems that Quicktabs ajax calls in JS are not getting those possibly new rendered CSS back to the page.

If i can help in some way to get this working...?

Comments

katbailey’s picture

Please try the 7.x-3.x-dev release as it uses the core ajax framework which includes lazy-loading of js and css for ajax-loaded content.

Anonymous’s picture

Just tried. It seems it works fine with renderers accordion and ui_tabs, but renderer quicktabs has the mentioned problem

katbailey’s picture

Version: 7.x-2.0-beta1 » 7.x-3.x-dev

Well the UI Tabs and Accordion renderers don't even have an ajax option, everything's being loaded on page load.

Please provide the full steps to reproduce this problem. It's a while since I've tried to use panels with Quicktabs so I don't fully understand what it is you're trying to do.

Anonymous’s picture

Full steps are:

1) Install Panels 3, Views, and Quicktabs
2) Create a View which displays a Panel style
3) On the panel layout, choose for example, 2 column layout.
4) Send a pair of fields to each column on the previous layout.
5) Create a quicktab, put 2 tabs minimum, enable AJAX, put on the second tab the previous View

Result: Layout inside the second tab is not in 2 columns, cause of CSS not being included on the page (through AJAX?)

Hope somebody can work around this!

Anonymous’s picture

@kat: Maybe i'm impatient, could you confirm the bug?

Anonymous’s picture

Anonymous’s picture

Any news??? Please!!

katbailey’s picture

Status: Active » Postponed (maintainer needs more info)

It is still not clear to me whether this is a Quicktabs bug. Your instructions for reproducing the problem were very vague. By "Create a View which displays a Panel style" did you mean a view with a content pane display? I have done this and all I can say is that when displayed in the Quicktab it looks the same as it does when previewed in the Views UI.
The onus is on you to show me that this is a Quicktabs bug, i.e. show me where I can see the content as displayed outside of a Quicktabs context compared to its behaviour inside a Quicktabs block, so that I can see what exactly is amiss. Extra question marks and exclamation points will not make me more inclined to spend time on this.

resveld’s picture

I am seeing this problem when using the context module with a normal node and then using quicktabs with it.

Steps to reproduce:

Install views 7.x-3.0-rc1
Install views slideshow 7.x-3.x-dev
Install quicktabs 7.x-3.0-alpha2

Create 3 different views with 1 node-type, but different taxonomy terms
Create a quicktab block with the block of the 3 different views
Put it on a page you want
1st tab is fine, but the others are messed up.

You can take a look at it at: http://website.vankints.nl/referenties

-Ronald

Anonymous’s picture

@katbailey: you can see the problem here. Go to http://www.nexion.com.ar:88/blogsparaportada : You will see the 2 column layout (head on the right side). then go to http://www.nexion.com.ar:88/ and below on the QuickTabs, click on "Blogs" tab. You will see the heads below, cause QT didn't loaded the necessary CSS for it.
Please confirm me if u can see it ?

Anonymous’s picture

Status: Postponed (maintainer needs more info) » Active

Sorry. There was a problem with port redirections. Now it is fixed and u can test it at given URLs

pasqualle’s picture

re #9

Create a quicktab block with the block of the 3 different views

if you need a view inside ajax QT, select "view" for tab type (not "block")

pasqualle’s picture

re #10
try:
goto: /admin/structure/views/view/blogs_para_portada/edit
set : Advanced>Other>Use AJAX: Yes

if it still does not work, then
(1) you need to disable ajax mode for quicktab.
(2) you can load the css manually (at page load), if you know what is missing.

Anonymous’s picture

@Pasqualle: I tried that. But it still doesnt work.

For (1), right. I think that will work... but then i suggest putting somethere on QT Features ("missing") "QT will not work with AJAX enabled and Views inside a tab not being the first one"
For (2): i already know that solution, but i thought QT should work out of the box AJAX with Views just fine.

I'have little experience with AJAX and with QT code. So sadly i can't make a patch to make that work as i expected.

May be there is another QT developer overthere with skills to get this working (i hope so)

resveld’s picture

re #12

I am using view and not block and it fails to load correctly

katbailey’s picture

@resveld this is a different issue - in your case it cannot be that there is css missing, seeing as it's being loaded for the first tab anyway. Yours sounds more like #1189122: Using Quick Tabs, only Views slideshow on the first tab works correctly

katbailey’s picture

Category: bug » support

I have tested the loading of additional css and js for ajax-loaded content and it works fine. There is something else happening here that must be specific to your set-up. Changing to a support request.

smustgrave’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

With D7 EOL approaching in a month I'm starting to triage the D7 side of quicktabs queue. This doesn't appear to have any code so believe this may not make it, sorry! Thanks though!