Re: [Radiant] DB2 support in radiant. Patch proposal

2007-05-27 Thread Daniel Sheppard
> I am interested in using it in rails. > I propose the following patch to > radiant/app/models/archive_finder.rb in > order to support db2 specific syntax for date fields: > > def extract(part, field) Oh god... e. In the interests of sanity, lets pretend that radiant never had a

[Radiant] DB2 support in radiant. Patch proposal

2007-05-27 Thread Luca Erzegovesi
Hi. I am experimenting IBM DB2 Express as a back-end for Radiant. Results are encouraging so far. Some problems needed tweaks to the ibm_db adapter for rails or to environment settings (see tracker on http://rubyforge.org/projects/rubyibm/ for details). People at IBM have been very responsive. Thou

Re: [Radiant] extending admin_ui ?

2007-05-27 Thread Stephane B.
Sean Cribbs wrote: > It is a pretty standard Ruby practice to re-open the class, but > sometimes I find this doesn't work as expected. Instead, you can try > doing a class_eval or module_eval on the intended class, which will > make sure it's auto-loaded before you try to override or extend it. > E

[Radiant] SVN moved

2007-05-27 Thread Sean Cribbs
FYI -- I moved my personal blog last night to my SliceHost account, but I kept my SVN repository at the same place, just changing the subdomain name. If you are using page_attachments be aware that the new domain name is svn.seancribbs.com: page_attachments: http://svn.seancribbs.com/svn/rails/p

Re: [Radiant] extending admin_ui ?

2007-05-27 Thread Sean Cribbs
It is a pretty standard Ruby practice to re-open the class, but sometimes I find this doesn't work as expected. Instead, you can try doing a class_eval or module_eval on the intended class, which will make sure it's auto-loaded before you try to override or extend it. Example: Radiant::AdminUI::Ta

Re: [Radiant] extension question

2007-05-27 Thread Sean Cribbs
Looking forward to your extension, Loren. Sean On 5/26/07, Loren Johnson <[EMAIL PROTECTED]> wrote: > Bill, > > I've written a Event Calendar extension which pulls events from an > ical subscription and populates them into calendars which each have > an associated "category" and "slug". I then ac

Re: [Radiant] Idea: implementing a MacFuse filesystem for editing

2007-05-27 Thread Oliver Baltzer
Tobias Fors wrote: > I haven't really used WebDAV-tools, so can't say much about it myself, > but it sounds interesting, especially if support is wide. File system > based editing from both Windows/Mac/Linux would be sweet. > > Do you have any ideas on how best to handle things like the "slug", >

Re: [Radiant] extending admin_ui ?

2007-05-27 Thread Stephane B.
> I would like to create a second level of navigation when needed, then > create a 'sub tab' system by simply extending current Tab with a TabSet > accessor. > need to > - add an accessor > - a method > - modify initialize I did it already by patching the code but I would like to do it in an e

Re: [Radiant] extending admin_ui ?

2007-05-27 Thread Stephane B.
Adam Williams wrote: > On May 26, 2007, at 6:17 PM, Stephane B. wrote: > >> I would like to know if it's possile to extend the class AdminUI in >> module Radiant. I try to do it by creating a folder Radiant in the lib >> folder of my extension, and then create a module Radiant within a >> class