So... long story short, some time in the last day my collapsible fields stopped expanding, but only in the Beach theme. I have heavily modified the css for my theme, with only a minor php change (the top wrapper contents were replaced with my own customized header.

My question is, what could break the expansion for just this theme? A module? One of my edits?

Comments

Sungsit’s picture

I suspected that this is the same issue like what you already knew.

In Beach Beta1, css_rearrange() function in template.php will (intentionally) strip off any CSS files from Drupal core module directory The reason is to reduce page load time and remove unnecessary duplicated style. (See WARNING at its project page).

For Drupal best practice/convention, any contrib modules should be placed into sites/*/modules directory (See Drupal file and directory management). Anyway, this issue had been fixed and committed to CVS by Kong, please check the code into template.php 1.13.

Webbstre’s picture

Not sure that really helped. After my former issue I reinstalled drupal and made sure all my modules and themes were in the appropriate sites/all/ directories, and that fixed my weird css issues with the views thing before. It was about 2 days after that when the expanding fields stopped expanding (in other words, it was working both before and after that little newbie mistake of mine).

The expanding fields I am talking about are the ones used in menus and when posting content. For example, on this page there are expanding "File attachments" and "Tags" at the bottom of the page. Normally you mouse over them or click on them and they expand to reveal the menu options inside, using what I assume is javascript. What could cause that to suddenly stop working in Beach?

Sungsit’s picture

Collapsible fieldset? I think 99% It's about javascript thing. Do you have demo site's URL? Maybe I could check your page source.

Webbstre’s picture

I'll send you the address and login information via your contact form: http://webzer.net/contact . The test subdomain is password protected, so that no one can wander in and find my vulnerabilities when my site's pants are down.

Sungsit’s picture

I think you've got Javascript library conflict - jQuery (Drupal main lib) VS mootools (you customized imagemenu). I can reach your subdomain but I can't login to your Drupal site to see what's wrong with it but that's enough. From your page source, I'm so much sure it's not Beach theme issue (nor module conflict).

See this doc for more info jQuery.noConflict, or try some jQuery plugins/customizations which similar to your phatfusion image menu such as jQuery kwicks or read Image Menu with Jquery to create your own.

Hope this help ;)

Webbstre’s picture

Status: Active » Closed (fixed)

Thanks! I'll check those out! I'll just turn the status to closed for now :)