All other users see the QT only on the visited first page.

Anonymous user: Frontpage only
Registered user: "My account" page only (after login)

The problem is the activated block cache. With deactivated block cache there are no problems with the visibility of the QT.

Installed: Drupal 6.2

Comments

quiptime’s picture

Title: Only user #1 can always see the QT. » Activated Block Cache break the Quick Tabs function!!!

Bump

Activated Block Cache break the Quick Tabs function !

Only user #1 can always see the QT.

What is? You can't understand my post?

dawehner’s picture

StatusFileSize
new1003 bytes

the problem:

if the blocks are cached the dynamic js and css additions are not included
-> we should add them in hook_init, but for each load (puh)

So here is a very tiny patch which solves this problem

RamMohanSakhamuri’s picture

Title: Activated Block Cache break the Quick Tabs function!!! » I am Unable to Get Quick Tabs for Authenticated User??
StatusFileSize
new29.67 KB

Hi All,

I am Unable to get Quick tabs for Normal Authunticated User. I am able to get QTabs for Admin(User1). But I am getting content with out QTabs. Can any body help me to find out solution??

Please find out the attachment for Sample disp between Admin and Normal user

Thanks,
RamMoahan S

Artem’s picture

Subscribing

Renee S’s picture

Subscribing

Flying Drupalist’s picture

@dereine does patch work vs latest dev?

Renee S’s picture

The patch doesn't work for me, unfortunately - I'm using latest dev of everything.

dawehner’s picture

yes definitve the patch doesn't work

The problem is related with block cache, the problem is that hook_block $op = 'list' is cached, but quicktabs is dynamic

Renee S’s picture

Hmm, I thought that Quicktabs loaded on page load?

Renee S’s picture

In the meantime, if you have db access, the simplest fix for this problem is to simply set the cache value in the quicktabs block column to "-1"

iKillBill2’s picture

HI z allen
could you please clarify more on how to set it to -1
from table of MYSQL ? or from which file? and what does -1 mean here?

thanks!

Renee S’s picture

Hey iKillBill2,

The value -1 is defined in the blocks module as BLOCK_NO_CACHE. You can find it in the database in the blocks table in the cache column.

The blocks are listed per enabled theme, so you have to find the module (quicktabs), then change the value in the cache table to -1 for instance of each theme that you have enabled.

Hope this helps!

iKillBill2’s picture

Hi z allen

thanks for this, but if it is set to "NO cache", why would we need to enable block cache for quicktab?

Renee S’s picture

Erm, you're setting it not to cache. If cached, it mucks up the display. If it's already set not to cache, then you should be fine and not encounter the bug described above. If you are still encountering it, well, then I can't help :)

dawehner’s picture

Status: Active » Needs review

so this bug should be solved?

katbailey’s picture

dereine: where's the patch? you mean the one in #2? I thought you said that didn't work. Confused...

pasqualle’s picture