Curved Slate Beta 2.0 + A Gizmo Theme Framework Prototype

Okay, time to come clean. The truth is that I'm developing this theme to solve a bunch theming issues on 6 seperate projects I'm working on (which are late, thanks to 4.7's beta (echm) comprehensive and constant updates to the core. So, I need to start applying a bunch of these solutions to my real work now.

However, here's the latest snapshot of curved slate, along with a gizmo prototype. This is the same snapshot which is running at  this blog. (which is now on drupal 4.7beta5).

This is a major update from the last beta. A multitude of bugs (not all of them) have been solved, the code is complety reorganized, and semi-documented, and actually makes sense.

Gizmo Prototype 

The "browse" menu on the left was created using a really simple function that dynamically generates the correct CSS rules so that its easy to have very different menus for different blocks.

The function is that is generating that menu goes like this in gizmo.php:

 block_menu_style("1267", "iconmenu", "tango/folder.png", "tango/folder-open.png", "tango/text-x-generic.png");

1267 signifies that I want to apply that style to "#block-menu-id="1267", "iconmenu" is the name I've given to the set of styles that are applyed, and the list of images that follows represent the path of the images I want to apply to collapsed, expanded, and leaf items in the menu.

Take a look at the stylesheet that is outputted as a result of that simple hastily constructed function. 

As always, let me know if you run into problems.  I didn't get a chance to test everything, but I figured an update was in order.

Oh -- this version is basically an entirely new theme. Its organized, documented, and almost cleanly coded. "Enjoy".  

AttachmentSize
File curved_slate-beta2.tar0 bytes