[Radiant] Installing 0.6.0rc1

2007-03-08 Thread Sharon Clift
I have tried using Gem install radiant-0.6.0rc1 and Gem install radiant-0.6.0rc1.gem, but get the same error with both. I have had a look at the weblog, which is where I downloaded the gem from, but just can't persuade it to install, I just get the (Gem::GemNotFoundException) I have also tried t

Re: [Radiant] Simple blog too complex: what does this code do?

2007-03-08 Thread Mislav Marohnić
On 3/8/07, Martin Olsson <[EMAIL PROTECTED]> wrote: There is one piece of code in the "Normal" layout that I don't quite understand: Posted by on It's simple really - you read it out like English :) If the current URL starts with "/articles//MM/DD" (generic blog format), print out "Po

[Radiant] new user questions

2007-03-08 Thread Raphael Bauduin
Hi, I'm planning to use radiant to power a website, but before taking the plunge I have some questions. I installed the 0.6 release candidate. Here are questions I couldn't answer by looking at the docs or the mailing list archive: - an applicaiton created with the radiant command doesn't apparen

Re: [Radiant] new user questions

2007-03-08 Thread Mislav Marohnić
On 3/8/07, Raphael Bauduin <[EMAIL PROTECTED]> wrote: - an applicaiton created with the radiant command doesn't apparently contain the radiant code. Is there a way to freeze it to the gems used like for rails applications? I'm using the SVN checkout. It is self-contained. - a related questi

Re: [Radiant] Simple blog too complex: what does this code do?

2007-03-08 Thread Martin Olsson
So what do I do to make it work with a "multi-blog" site? I need something that matches /blog//MM/DD, /blog//MM/DD, /car// MM/DD, and I don't really want to have to change it or add to it every time I add a new "project blog". Regards, Martin Olsson http://smpl.se On 8 mar 200

Re: [Radiant] Simple blog too complex: what does this code do?

2007-03-08 Thread Sean Cribbs
Change the first part of the if_url to look like so: Posted by on You can keep chaining on other "categories" with the | character. Sean Martin Olsson wrote: So what do I do to make it work with a "multi-blog" site? I need something that matches /blog//MM/DD, /blog//MM/DD, /car/YYY

Re: [Radiant] Simple blog too complex: what does this code do?

2007-03-08 Thread Martin Olsson
Thanks! I know how to write regular expressions. I was wondering if there was a way to make this more automatic. The DRY-principles should apply to layouts as well, no? Can anyone think of a way to reduce the number of places I need to change when I add a new project blog. Right now I do th

Re: [Radiant] Simple blog too complex: what does this code do?

2007-03-08 Thread Sean Cribbs
You could replace anything inside those parens with an appropriate character class... probably [\w-]+ would work. Sean Thanks! I know how to write regular expressions. I was wondering if there was a way to make this more automatic. The DRY-principles should apply to layouts as well, no? Can

Re: [Radiant] new user questions

2007-03-08 Thread John W. Long
Raphael Bauduin wrote: > - an applicaiton created with the radiant command doesn't apparently > contain the radiant code. Is there a way to freeze it to the gems used > like for rails applications? (I saw in environment.rb that the gem > used is referenced) I didn't see it in the rake tasks availa

Re: [Radiant] Simple blog too complex: what does this code do?

2007-03-08 Thread Mislav Marohnić
... or you could just use the regexp without the first part: "/\d{4}/\d{2}/\d{2}/" On 3/8/07, Sean Cribbs <[EMAIL PROTECTED]> wrote: > You could replace anything inside those parens with an appropriate > character class... probably [\w-]+ would work. > > Sean > > Thanks! I know how to write regula

[Radiant] Radiant 0.6 RC2

2007-03-08 Thread John W. Long
Read all about it: http://radiantcms.org/blog/2007/03/08/radiant-0-6-release-candidate-2/ -- John Long http://wisheartdesign.com ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: htt

[Radiant] Help on Extension: EmbedPage

2007-03-08 Thread Colin Nederkoorn
Im building an extension to embed another RoR app in Radiant. I followed the instructions at - http://dev.radiantcms.org/radiant/wiki/HowToWriteAnExtension to generate the skeleton called M7Embed The main file is: embed_extension.rb -- class M7embedExtension < Radiant::Extension version "1.0" d

Re: [Radiant] Help on Extension: EmbedPage

2007-03-08 Thread Sean Cribbs
Colin, You might be better off with an IFRAME or something similar, otherwise you will have to create a bunch of workarounds in your Rails application to deal with a different HTTP_REFERER. The other option, of course, is to fuse Radiant with your application, i.e. making your application in

Re: [Radiant] Radiant 0.6 RC2

2007-03-08 Thread Erik van Oosten
Great! How you upgrade from RC1? Regards, Erik. John W. Long wrote: > Read all about it: > > http://radiantcms.org/blog/2007/03/08/radiant-0-6-release-candidate-2/ > > -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ ___ Radiant mail

Re: [Radiant] Radiant 0.6 RC2

2007-03-08 Thread John W. Long
Erik van Oosten wrote: > How do you upgrade from RC1? Uninstall the old gem and install the new one. Then run: rake radiant:update -- John Long http://wiseheartdesign.com ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radi

Re: [Radiant] Radiant 0.6 RC2

2007-03-08 Thread John W. Long
John W. Long wrote: > Read all about it: > > http://radiantcms.org/blog/2007/03/08/radiant-0-6-release-candidate-2/ I should also add that RC2 includes recent changes in Mental that allow you to run script/generate in instance mode: script/generate extension AssetManager -- John Long http:/

[Radiant] Radiant 0.6 RC2 and extensions (Was: Radiant 0.6 RC2)

2007-03-08 Thread Erik van Oosten
Instance mode is the mode where the whole Radiant code is copied into your project? If I understand correctly, instance mode is required to develop extensions (which I intend to to). Or are there other means? I am sorry, its all a bit vague to me. Perhaps I have not yet seen the right documenta

Re: [Radiant] Radiant 0.6 RC2 and extensions (Was: Radiant 0.6 RC2)

2007-03-08 Thread John W. Long
Erik van Oosten wrote: > Instance mode is the mode where the whole Radiant code is copied into > your project? No. Application mode is where you are running straight off the source. > If I understand correctly, instance mode is required to develop > extensions (which I intend to to). Or are the

Re: [Radiant] new user questions

2007-03-08 Thread David Minor
On Mar 8, 2007, at 9:37 AM, John W. Long wrote: > I'd suggest the "Edit in Textmate" > command (if you are a Textmate user or something similar if you use > another editor). sorry john, I'm not following you. what? ___ Radiant mailing list Post: R

Re: [Radiant] new user questions

2007-03-08 Thread John W. Long
David Minor wrote: > On Mar 8, 2007, at 9:37 AM, John W. Long wrote: > >> I'd suggest the "Edit in Textmate" >> command (if you are a Textmate user or something similar if you use >> another editor). > > sorry john, I'm not following you. what? TextMate has a feature which allows you to press