[Radiant] Gallery extension 0.6.0 example
Andrea Franz
franz.andrea at gmail.com
Mon Sep 3 10:44:58 CDT 2007
On 9/2/07, David Rozman <david.rozman at gmail.com> wrote:
> i would like to show the last six projects(=galleries)on the 'front
> page'
> and on the 'project page'(=the index page)the 9 last projects (in
> descending order) with pagination to older projects ...
Hi David, I added that feature...check the development archive here:
http://darcs.bigchieflabs.com/radiant/extensions/gallery/gallery.tar.gz
...or get it with darcs:
darcs get http://darcs.bigchieflabs.com/radiant/extensions/gallery
In your page you can write something like this:
<ul>
<r:galleries:each limit="20" by="created_at" order="DESC">
<li><r:gallery:name /></li>
</r:galleries:each>
<ul>
...let me know! :P
-andrea
More information about the Radiant
mailing list