Life, Code & Idiocy

Bloggage of a web coding nutcase

18 Nov 2006

Enano’s sidebar gets an upgrade

If you’ve ever used Drupal, you probably liked the way it allows you to re-arrange the sidebar and stuff. Well now Enano will have something similar.

But that doesn’t mean that the “cool factor” will be turned down. I’ve got plans.

The idea is to have a very customizable sidebar that allows almost any type of code to be included. Using the sidebar editor, you will be able to use drag and drop to re-order the blocks. The editor will also include options for deleting and editing blocks in-line using Javascript and AJAX.

Right now I’ve finished the parser, and the new database-driven sidebar can be seen on the testbay site. The hard part is going to be porting the drag-n-drop code (Brothercake’s DBX, the same one used in WordPress) to work with AJAX. I’m also having trouble with some of the Javascript-based plugins (like Surveryor and AjIM) in the editor because it essentially creates a second set of sidebars inside of the main page area, thus causing the node IDs to be used more than once and making Javascript applets go haywire. I figured the solution here was to nuke both of the sidebars, but the template class refuses to hear it. Once I can get that working I’ll start on the drag-n-drop code, then I’ll finish it off with edit/delete buttons. Hopefully I can have it all finished in a week.

Anyone else want to challenge the world’s coolest Web 2.0 CMS?

No Responses to “Enano’s sidebar gets an upgrade” (post new)

 

Leave a Reply