Posted by TheFazz on September 18, 2009 at 7:17am
| Project: | Nitobe |
| Version: | 6.x-4.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
i am using nitobe with my site (drupal 6.13). I am using collapsiblock and activemenu modules with the site. these js modules work with garland but not with nitobe. i tested in firefox and opera. both does not work. i have not changed anything in the template files... only changed the font families.
check out the behaviour of the js modules on my site(s) ~ http://www.thefazz.com/me/tracker
http://innovatemalaysia.groups.my/ (no font change)
*ps thanks, i like the theme very much.
Comments
#1
any updates on this?
#2
School just started, so I can't look into this right now.
#3
shannon - ok. no worries. thanks for the response. the theme is still usable anyways. ;)
#4
Garland doesn't use any JavaScript which is why you don't see the problem in Garland. Nitobe uses JavaScript to swap the header image so that cached pages still have a rotating header image. There may be some interference with the theme's JavaScript and the modules' JavaScript.
#5
shannon - thanks. i guessed as much. but is there any way to fix this? i'd be most grateful. :)
#6
Hi I don't have either of those js mods installed (or any additional js mods, in fact) but I'm seeing the same issue with the active tab. Love the theme though! Any ideas on what to look for? I'm happy to help troubleshoot, but am a noobie to drupal. Some experience with css/js otherwise tho
#7
nevermind. operator error!
#8
Same issue.
I think it happens because collapsiblock expects there to be a div.content (div with class="content") to collapse, but in this theme there is no such div. In my case I worked around the problem by replacing the "div.content" in collapsiblock.js (where it finds the "target" to set) to just "div". This worked for me because in my case there was a div afterwards to collapse.
By the way, I am also getting the following error in collapsiblock:
TypeError: Result of expression '$.cookie' [undefined] is not a function.
This is on line 62 of collapsiblock.
This seems to be the same error I got with collapsiblock when upgrading to drupal 6.15 from 6.14, but on line 72.
A workaround is to comment line 62 of collapsiblock.js (where it tries to set the cookie).
#9
Neither of the sites the original poster provided run Drupal.
If a similar problem appears, please open a new support request.
#10
@Shannon Lucas
actually both sites run Drupal. Just that i had already changed the themes to Prosepoint The Morning After.
this site still uses nitobe: http://klangvalley.groups.my/
both activemenu and collapsiblock does not work.
would appreciate the help.
#11
Is there any update here?
I am using nitobe on another site: http://bukitjelutong.net
Collapsiblock does not work.
Activemenu only works if i set the parent item in the menu tree as "expanded" in the admin-site building-menu configuration.
Hope somebody can assist as i really like nitobe and would like to use it with collapsiblock and activemenu.