zerosum dirt(nap)

evolution through a series of accidents

zerosum dirt(nap)

Radiant Super Multi Go!

April 03, 2008 @ 03:22 PM by nap · 3 comments

Here at Ubikorp we've used Radiant as the basis for a number of client projects who needed core CMS-like functionality. As anyone who's played with it knows, Radiant is very barebones; this is intentional and a welcome change from most packages, which attempt to throw the kitchen sink of clutter at each and every problem. Fortunately, it's easy to build on top of the basics by using a well thought-out extensions system -- there are a large number of stock extensions available (and it's also really easy to roll your own for custom app logic).

One of the more interesting extensions is the multi-site extension. To be honest, multi-site capability is something I really feel should be a core feature, but since it's not, this approach works surprisingly well (at least until you start adding other extensions that would ideally be multi-site-aware). Radiant school headmaster Sean Cribbs wrote an initial version of the extension back in November, but it didn't quite work for us on a particular project -- we needed to be able to scope individual user-level access to particular sites. So we extended it, and thus the scoped multi-site extension was born.

Well, actually, it's just a fork of the multi-site plugin. For now.

Features:

  • scopes user level access to individual sites (admins and developers still have access to all sites)
  • regular users can't see, edit, or access other user sites that they don't own
  • optionally scopes layouts to sites
  • snippets usable everywhere, but display and editing of snippets limited to admins/developers

Anyway, if you're interested in seeing our changes you can check it out on github in my fork of Sean's Radiant repo. Is this a candidate for integration into the existing extension, or should we spin it out as a separate extension? Let me know what you think.

UPDATED 6/24: The URL is out of date. See this blog post for more details and updates (the latest version requires Radiant 0.6.7 or later).

3 comments so far ↓

  • Pacifists // May 09, 2008 @ 11:42 AM

    Your change for multi_site is really handy not to mention that it's exactly what I was looking for.

    Github indeed spurs innovation and experimentation.

  • nap // May 10, 2008 @ 06:13 PM

    @pacifists thanks, glad that you're finding it useful! Hoping to make more updates soon (sorta kinda waiting for shards to move to core before forking a proper release).

  • nap // June 06, 2008 @ 12:14 AM

    Please note that this is currently not compatible with Radiant 0.6.7, which was just released. 0.6.7 has some changes to Admin::PageController that are incompatible with the extensions supplied here. I'm going to try to find some time early next week to update the fork. Stay tuned.

Leave a Comment