paul bennett

Archive for the ‘frameworks’ Category

Drupal: Creating custom node templates

Posted by: Paul on: May 28, 2009

It has somewhat of a steep learning curve, but Drupal is amazing for allowing you to build flexible, complex websites with lots of functionality in very little time.
For a site I’m working on, we had several custom content types coming through the default node template (node.tpl.php) in our customised theme.
This was fine and dandy for [...]

As a follow up to the previous release, I’ve put together another plugin for the Expression Engine content management system.
This one adds the full YUI rich text editor to the ‘body’ area of the Expression Engine publish / edit interface.
The YUI simpleEditor is nice and everything, but sometimes it’s a bit too … simple.
Get the [...]

CSS2 and CSS3 selectors in jQuery

Posted by: Paul on: April 29, 2008

Along with dom traversal (ala CSS2), you can also use CSS2 and CSS3 selectors in jQuery. For example:
lb = $(‘a[rel="lightbox"]‘);
will get you all the anchor elements in the dom which have the rel=”lightbox” attribute. This, however:
lb = $(‘a[rel*="light"]‘);
will get you all the anchor elements in the dom which have the substring “light” in their rel [...]

Tags: ,

wordpress as simple cms

Posted by: Paul on: March 12, 2008

I’ve worked on a project where I used WordPress as a CMS for a (non-blog) content-driven site and was impressed by how flexible it was. I did cheat however and skirted around having to create an entire theme by creating simple PHP pages and pulling the data out using the post ID, as I thought [...]

jQuery convert

Posted by: Paul on: March 7, 2008

I’ve been using components of the YUI framework for a while now and have been really impressed with the depth and breadth of what it enables you to do. I was pretty convinced I’d stick with YUI for a good while….until today.
Now, I’d heard about jQuery a lot but had never taklen a decent look [...]