Archive for November, 2007

fx

Lately I’ve been playing a lot with Adobe Flex so I thought it would be a good idea to show you how to setup the Flex SDK on your Linux box and get you going with this cool technology. In case you haven’t heard, Flex is a framework to write Rich Internet Applications (RIAs). Using XML and Actionscript 3.0, you can write rich internet applications which use webservices to communicate with a backend. The programs are compiled using the Flex compiler into an SWF file. Read on to setup Flex under linux…

(more…)

While working on the administration section of a medium to large site, you may need to allow different roles to create and edit different content. Typically you want Role X to be able to create and view some content types only. The creation part is easy: go to the Access control section and give Role X the Create and Edit permission for the content types you want this role to be able to create and edit. The next thing you’ll want to do is give the role a way to list all nodes for the content type it is allowed to view/edit and be able to administer these nodes. The logical thing would be to give the role access to the admin/content/node by giving this role the administer nodes permission. The problem is that the filter for this screen will show you nodes of all types regardless of what the role should be able to edit! This hack will guide you to another trick: creating a views page for Role X to be able to administer the nodes he should have access to. Read on for the rest of this hack.

A page to edit and create content types

 

(more…)