Using Gallery Extension to list mp3 files
May 14th, 2007
In the latest release (0.4.1) of the Radiant Gallery extension I added the ‘link’ tag for each gallery item. With this new tag you can use Gallery extension to display a set of file that aren’t images..and link directly to each item instead of display a thumbnail. I use this feature to display my band album. I created a new hidden gallery uploading all the mp3’s, and then I created a new page with this code:
<r:gallery id="3">
<h4><r:gallery:name /></h4>
<ol>
<r:gallery:items:each>
<li><r:gallery:item:link /></li>
</r:gallery:items:each>
</ol>
</r:gallery>
..and this is the result:

Radiant Duplicate extension 1.6
May 5th, 2007
Radiant Duplicate extension 1.6 is just released…you can now duplicate or move a page and all its children.
Radiant Duplicate extension
May 2nd, 2007
Sometimes, using radiant to build a site, I need to generate many pages with the same page parts and the same contents, aside a few things..instead of copy all the page parts and all the contents I created the Radiant Duplicate extension. It adds a new action (duplicate) near the ‘Add child’ button:

Using Radiant Gallery extensions as link manager
April 26th, 2007
I’m working on a new website, and I’m obviously using Radiant as CMS. My client need to manage some links…some of this are displayed in the sidebar, others in an other page; each link has an image. I simply created two differents galleries using my Gallery extension; the first one called ‘Links’ and the second one called ‘Sidebar Links’..then i added this code in the layout inside the sidebar:
<r:gallery id="1">
<r:gallery:items:each>
<li><a href="<r:gallery:item:description />"><img src="<r:gallery:item:thumb width="200" />" /></a></li>
</r:gallery:items:each>
</r:gallery>
…and similar in the links page. Now i can simply add a link uploading an image in one of the two galleries, and setting the link url as image description.
Radiant Gallery extension 0.3.0
April 23rd, 2007
There are two main changes on Radiant Gallery Extension…the first one is visible in the admin page…do you want to use an image from the web instead of upload it? Switch to “set file url” mode and specify its url!

The second change is visibile using the lightbox tag:
<r:gallery:lightbox />
…this is the new visualization:

Radiant Gallery extension 0.2.0
April 17th, 2007
Gallery 0.2.0 just released! Check it out with darcs:
darcs get http://darcs.bigchieflabs.com/radiant/extensions/gallery/
..or download the archive here.
I’ve got some problem with my repository..if you already use Gallery extension, delete it and download it again, instead of update (pull) with darcs. Also delete galleries and gallery_items tables and reinstall extension..read here for more docs.
Radiant Gallery Extension - image description
April 4th, 2007
I’ve added a new field to gallery items: description! After upload click on the filename under image to edit!
Try gallery extension now!

Rake and darcs in Radiant extensions
April 1st, 2007
I usually use darcs as code management system..it’s cool and easy to use…but i’ve got a problem using rake in my Radiant app..in fact when I type:
rake radiant:extensions:my_extension:task
..my task is executed twice because files in _darcs folder are loaded too..my friend Giovanni helps me saying that the code that runs extensions rakefiles is the following:
[RAILS_ROOT, RADIANT_ROOT].uniq.each do |root|
Dir[root + '/vendor/extensions/**/tasks/**/*.rake'].sort.each { |ext|
load ext
}
end
…thus I changed extensions rakefile with theese lines:
[RAILS_ROOT, RADIANT_ROOT].uniq.each do |root|
files = Dir[root + '/vendor/extensions/**/tasks/**/*.rake']
files.delete_if do |file|
file.include? '_darcs'
end
files.sort.each { |ext| load ext }
end
…and now it excludes all files in _darcs folder!
Lightbox tags on Radiant Gallery Extension
March 29th, 2007
I’ve added two new tags in Gallery extension:
- gallery:lightbox
- gallery:lightbox_list
With theese new tags you can easily use Lightbox JS v2.0 in your Gallery page!!

Radiant Gallery Extension - Preview with Lightbox
March 25th, 2007
I added Lightbox JS v2.0 in my Radiant Gallery extension..now you can can view all the thumbnails of the gallery and enlarge each one with this cool javascript library:
