Download & Extend

I am Unable to Get Quick Tabs for Authenticated User??

Project:Quick Tabs
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

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

#1

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?

#2

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

AttachmentSize
quicktabs_hack_cache_problem.patch 1003 bytes

#3

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

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

AttachmentSize
FinQTabs.jpg 29.67 KB

#4

Subscribing

#5

Subscribing

#6

@dereine does patch work vs latest dev?

#7

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

#8

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

#9

Hmm, I thought that Quicktabs loaded on page load?

#10

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"

#11

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!

#12

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!

#13

Hi z allen

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

#14

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 :)

#15

Status:active» needs review

so this bug should be solved?

#16

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

#17

nobody click here