Hello,
Is anyone else experiencing this:
the tabs for the Accessible Content page - In draft/Pending publication, Published, Unpublished, All - are displaying twice at the top.
One set appears directly below the I created, I last modified, I can edit, I can view tabs and the other set appears after two hard return 'lines'.
Initially, the duplication doesn't display when you go to the Accessible Content page for the first time after logging in - but after you click on one of the tabs, it appears after the page refreshes.
It doesn't seem to be related to users with multiple roles (i.e. will show up for users who only have one role that is granted permission to view the Accessible content page).
I'm using the Garland theme. Corresponding version of Revisioning as well.
Thanks in advance for any help,
dleong
| Comment | File | Size | Author |
|---|---|---|---|
| #19 | Screen Shot 2011-11-08 at 12.15.12 AM.png | 47.46 KB | aidanlis |
| Picture 3.png | 21.22 KB | dleong |
Comments
Comment #1
rdeboerHow on earth ????
Comment #2
dleong commentedUh-oh...that doesn't sound good.
Comment #3
dleong commentedHere's the source code for that particular section, if it helps. Although I know some html, I'm not a programmer:
Comment #4
rdeboerYep... that proves that what you see on your system is not a figment of your imagination... the HTML to duplicate the second row is actually there!
The only difference I can see at a glance is the upper occurrence of the second row of tabs is generated with
ulstyle class oftabs secondary clear-blockwhereas the the bottom occurrence is using a style class oftabs secondary, i.e. without the clear-block.If you flick to another theme, does that make a difference?
If you go to Site configuration >> Smart tabs and blank out the "Pages to include" text box, does that change anything?
Comment #5
dleong commentedHi Rik,
removing the asterisk from the 'pages to include' box had no effect; however, changing themes from Garland to Blue Marine did remove the issue.
Replacing the asterisk into the text box and unchecking the checkbox for 'Allow Smart tabs to control tab behaviour' resolved the issue but then the functionality of the smart tab module is lost - esp. with the Accessible Contents page (i.e. secondary tabs selections are not remembered when switching primary tab selections).
Any further suggestions, please?
Thanks.
Comment #6
rdeboerThanks for your analysis work dleong!
The Garland theme does do some funky stuff that other core themes don't do. I am aware of this and thought I had covered it when developing Smart tabs. I did test with Garland, but maybe I've made a mistake.
I'll have to see if I can reproduce your findings. Will get back to you.
In the mean-time, will switching to another theme or when using Garland adding accessible-content* to the Pages to exclude list do it for you?
Regards,
Rik
Comment #7
dleong commentedHi Rik,
Adding the accessible-content* to the Pages to exclude sections makes no difference. The only action which seems to suppress the duplication is unchecking the 'Allow Smart tabs to control tab behaviour' box. Hope this info is useful.
I'm hesitant to change themes at this point (when I'm so close to launching my organization's updated website) since I'm not sure what other consequences that might have on the other modules I use. For now, I'll exclude the accessible content feature from my production site.
Thanks for your assistance,
Dennis
Comment #8
rdeboerHi Dennis,
Your info is useful -- but so far not enough for me to reproduce the error. I just took a clean Drupal 6.15 core install, set the Garland theme, enabled Module Grants, Module Grants Monitor and Revisioning, set user permissions, created some content and pending content and ... everything is fine: no repeated row of tabs....
Can you think of anything on your install that's different from core and may have something to do with this?
Rik
Comment #9
dleong commentedRik,
Thanks for trying. There's a few things that are different from the core installation - I'll have to go back to my installation notes to see if anything may be associated with this. Trouble is, I may not realize it even if I come across something, due to my limited programming skills.
I'll get back to you.
Thanks again,
Dennis
Comment #10
rdeboerHey Dennis,
Anymore info on this?
Comment #11
dleong commentedHi Rik,
Sorry for not replying earlier...I been too busy with my other 'hats' to look into it further. Guess that's the problem with trying to maintain a website on the corner of the desk....(sigh)
The problem still exists on my sandbox site - I just haven't used the Module Grants monitor on my production site to avoid the problem. I've kept all the modules up to date as well (Module Grants, Revisioning, Smart tabs) and still using Garland theme.
Will try to find some spare time and do some digging - will let you know.
Thanks for reminding me ;-)
Happy Easter....
Comment #12
rdeboerComment #13
mrfelton commentedSame problem for me, only this is with a custom theme that does exactly the same as what garland does regarding the tabs. Looking at the code in smart_tabs_fixes.inc, those fixes seem to be tied specifically to the garland theme, rather than to any theme that attempts to do what garland does. Can this be made more generic somehow?
Comment #14
rdeboerHi MrFelton,
As mentioned in #8 (regarding Garland) I have trouble reproducing the symptoms.
I may have more luck with your theme. Could you please send it to me (via my contact form if you like)? Or is it confidential?
Rik
Comment #15
ShutterFreak commentedSame here on a custom theme derived from Zen.
Here's the HTML code that is erroneously being generated and rendered a second time below the main
<div id='tabs-wrapper'>:Comment #16
rdeboerStill a mystery to me how this can happen. Sorry.
Comment #17
rdeboerComment #18
aidanlis commentedThis is happening for me too with the Cube theme, enabling smart_tabs I see two rows of tabs, disabling smart_tabs I don't.
Comment #19
aidanlis commentedComment #20
rdeboer@aidanlis, #19:
Thanks for the screenshot....
In your case it is not even the "Accessible content" menu..... strange...
Comment #21
aidanlis commentedYeah, it's all secondary tabs on the site, pretty strange.
Comment #22
rdeboerWithout any further clues I'm going to have to close this.
If necessary, please re-open with clear steps on how to reproduce.