I am having a small problem with Auth Cache. Whenever a page is cached by AuthCache, I am getting the horizontal line under the tabs on pages with no tabs. For example, on the home page, which for a logged out user has no tabs, I am getting the horizontal line under the tabs and the ul class tabs-primary. I am also getting a span class called authcache-tabs.
I believe this authcache-tabs is causing the horizontal line to appear, even on pages that are not supposed to have tabs. Really, this is just a visual problem, but I am wondering why this is so. There shouldnt be any tabs on this page, but it is calling the ul and the span mentioned above. This happens on every single page cached by AuthCache, and goes away when Autcache is disabled. I am using CacheRouter with AuthCache.
Anybody can check it out by looking at www.whatlauderdale.com. It's the blue line under the scrolling ticker near the top of the page.
Comment | File | Size | Author |
---|---|---|---|
#6 | authcache.patch | 427 bytes | bgilhome |
Comments
Comment #1
portulacaI have the same problem that happens for anonymous users, authcache inserts an empty span into tabs causing the stripe to appear.
<div class="tabs"><span id="authcache-tabs"></span></div>
Possibly related to Edit Tab on Nodes Disappearing after completed page load http://drupal.org/node/694438
Comment #2
sittard CreditAttribution: sittard commentedI get the same output.
Line 430 on 'authcache module'
Perhaps this code should include a check for anonymous users.
Comment #3
Marko B CreditAttribution: Marko B commentedHaving the same problem.
Comment #4
davesommerhalder CreditAttribution: davesommerhalder commentedme to. does anyone have a solution?
Comment #5
bgilhome CreditAttribution: bgilhome commentedOn line 430, try:
if ($is_page_authcache && $variables['logged_in']) {
Comment #6
bgilhome CreditAttribution: bgilhome commented(Very minor) patch attached.
Comment #7
simg CreditAttribution: simg commentedpatch applied to dev version. thanks!