Wow. I've developed a very serious and very weird problem with a Zen subtheme that I'm working on in Drupal 6. I thought that everything was going well, but it seems that, depending on the brower/computer that you're using, you get a different front page for the site. I at first thought this was a caching problem in my copy of Safari and spent a lot of time trying to get it to clear, but yesterday I tried a public computer running Windows and got the old, incorrect page. To me, it looks like what's happening is that some browsers retrieve page.tpl.php and Firefox is correctly retrieving page-front.tpl.php.
Here's the page as it should currently be appearing, and how it's showing up in Firefox.
and here's the old page which is appearing in Opera, IE, and Safari. (Although not all copies of Safari. My partner's old desktop shows the new page, but for some reason the tabs get shoved to the bottom.)
Any ideas? This one is throwing me for a loop.
Comments
I have a dumb question. Why
I have a dumb question. Why do the paths to your CSS files look like this?
/sites/all/themes/zen/zen/block-editing.css?j
JS files too...
Also I seem to get the correct new theme on pages that are not the front page... The front page is missing the content-header div and in its place is a set of HTML comment open/close tags.
Also, I see the red tabs and 'Recent Comment' blocks at the bottom of the page in Safari...
E
__________
Eric Aitala - f1m@f1m.com
The Formula 1 Modeling Website
www.f1m.com
__________
Eric Aitala - ema13@psu.edu
Penn State
224b8605113373e086cb27708ff301ba18ce394db1996e7e22928e4555e0d20b1b6cecc7f67c9bd9e536cb915779c485
...
/sites/all/themes/zen/zen/ this is the correct directory structure for Zen in D6
Pimp your Drupal 8 Toolbar - make it badass.
Adaptivetheme - theming system for people who don't code.
I meant the funny ?j at the
I meant the funny ?j at the end...
E
__________
Eric Aitala - f1m@f1m.com
The Formula 1 Modeling Website
www.f1m.com
__________
Eric Aitala - ema13@psu.edu
Penn State
224b8605113373e086cb27708ff301ba18ce394db1996e7e22928e4555e0d20b1b6cecc7f67c9bd9e536cb915779c485
The ?j
I'm not sure about the ?j. I've wondered about that myself.
its to prevent caching of
its to prevent caching of old stylesheets, it changes when you update your css files.
Pimp your Drupal 8 Toolbar - make it badass.
Adaptivetheme - theming system for people who don't code.
From what I can see this is
From what I can see this is just a mistake with your commenting out of the content variable.
To comment out a variable in PHP don't wrap it in html comments
<!-- -->, that wont work most of the time, instead do this:// $contentPimp your Drupal 8 Toolbar - make it badass.
Adaptivetheme - theming system for people who don't code.
A TextWrangler Glitch
Interesting. I do know the different styles of commenting, but that must have come about from having TextWrangler in HTML mode and letting it do the commenting markup for me. It seems to be functioning now. Thanks a lot.