Some themes I've downloaded looked broken in random regions. I couldn't figure out why. I guessed I must have some quirky setting or needed to add more to the default theme. Then I realized all of those themes used Template.php.

By going to the BLOCKS menu with, I should be able to spot those yellow tags denoting regions for Left Sidebar, Header, Content, Footer, and Right Sidebar. Sands_CSS Template only reveals the Left & Ride Sidebars and Content; no Header or Footer. Internet_Jobs doesn't have the Header and the Left & Ride Sidebards are both on the right side. Aquasoft doesn't have a Header either, which breaks one the main features about it.

I manually updated the PHPEngine from the latest 4.7.2 code. That didn't change anything though.

Is there some magic switch I'm overlooking to make all PHPTemplate Themes show up properly in their default form?

Comments

dman’s picture

Not all themes have all regions availalbe.
The new zones were not defined like that in earlier releases. Themes themselves may have to be upgraded to 4.7 if they are to be used with new 4.7 features.

Not every theme even has an area corresponding directly to, eg, 'footer'. Or at least it didn't at design time.

Check with the individual theme projects.
Upgrading each one will have to be done by hand, but it's probably pretty trivial.

.dan.
http://www.coders.co.nz/

lizabeth’s picture

The themes I'm using are for the correct version, so there must be some other thing happening. Is there some way to verify how the PHPEngine is working, or is it simply a ZEN thing. It's there, therefore it is?

dman’s picture

These themes CAN work in 4.7, but they don't all support all the new features of 4.7.
The 'header' block is a new addition to the API/Spec. If a theme author hasn't chosen a place for it to appear, it won't appear.

Just for example, I looked at Aquasoft.
It deliberately doesn't render the header block, whether from design choice or omission I dunno.

I inserted the desired
print $header

After the Primary Links (inside the [td class="toolbar" colspan="3"] of page.tpl) And it started behaving.

Each of your issues is relative to each actual theme, not the engine.

Rasie them as separate issues, or patch yourself (and send the patch back to the theme project). Want you want is simple to do.

.dan.
http://www.coders.co.nz/

lizabeth’s picture

Thanks Dan!

There's a patch for Aquasoft that adds the Header field. Now that I've seen the before and after it's easier for me to understand what to look for.

lizabeth’s picture

After re-examing the code for a couple days and getting nowhere, I tried a fresh barebones Drupal install. And everything works fantastic. So there must be something wrong with my current install.

dman’s picture

I just ran a diff and found
There was a patch put in this week!

- there! Finally a demonstration of why CVS is a good thing for everyone!
So, not your fault, just the continuing saga of ongoing, open-source development.

... thanks for following up, however.
.dan.
http://www.coders.co.nz/