Re: [Radiant] Backing Up a Radiant Site

2006-08-22 Thread John W. Long
Dave Crossland wrote: > I now want to back up the site. Although I'm hosted with TextDrive and > have faith in their stability, ideally I'd like to have a tarball I > can drop into a fresh install and have a site back up and running > again. Is this possible? :-) Easy import and export aren't poss

Re: [Radiant] Backing Up a Radiant Site

2006-08-22 Thread Bodhi
On Aug 23, 2006, at 12:48 PM, Dave Crossland wrote: > Hi, > > I've just completed a site with Radiant, and although my little site > is quite primitive, I got an amazing amount done in a very short time! > So thanks to John and all the other contributers for their hard work > on this excellent sys

[Radiant] Backing Up a Radiant Site

2006-08-22 Thread Dave Crossland
Hi, I've just completed a site with Radiant, and although my little site is quite primitive, I got an amazing amount done in a very short time! So thanks to John and all the other contributers for their hard work on this excellent system! I now want to back up the site. Although I'm hosted with T

Re: [Radiant] Problems with tags

2006-08-22 Thread Dave Crossland
On 23/08/06, John W. Long <[EMAIL PROTECTED]> wrote: > Dave Crossland wrote: > > Ok, the extra new lines are the problem. Radiant tags observe whitespace > (that is, they won't trim extra newlines off for you). Instead of the > what you had, try this: > > See the difference? Yes - excellent - man

Re: [Radiant] Problems with tags

2006-08-22 Thread John W. Long
Dave Crossland wrote: > Here is the snippet: > > > src="/images/banners/ > > banner1 > banner2 > > .jpg" /> > > > The output is: > > > > > > And yes I have cleared the page cache. Ok, the extra new lines are the problem. Radiant tags observe whitespace (that is, they won't trim extra n

Re: [Radiant] Problems with tags

2006-08-22 Thread Dave Crossland
Hi John! On 23/08/06, John W. Long <[EMAIL PROTECTED]> wrote: > Dave Crossland wrote: > > Here is the snippet: > > > > > > > src="/images/banners/ > > > > banner1 > > banner2 > > > > .jpg" /> > > > > What output do you get from the above? Keep in mind that if the page is > being cached you wo

Re: [Radiant] Problems with tags

2006-08-22 Thread John W. Long
Dave Crossland wrote: > Here is the snippet: > > > src="/images/banners/ > > banner1 > banner2 > > .jpg" /> > What output do you get from the above? Keep in mind that if the page is being cached you won't see a difference for at least 5 minutes. -- John Long http://wiseheartdesign.com

[Radiant] Problems with tags

2006-08-22 Thread Dave Crossland
Hi, I'm now having a problem with the tag for inserting a random image into a snippet. I've looked at http://dev.radiantcms.org/radiant/browser/trunk/radiant/app/models/page_context.rb where I see: # # ... # ... # ... # # # Randomly renders one of the options specified by the 'option' t

Re: [Radiant] Effect of → in

2006-08-22 Thread Dave Crossland
On 22/08/06, Bob Showalter <[EMAIL PROTECTED]> wrote: > On 8/22/06, Dave Crossland <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I'm trying to use the following in a footer snippet: > > > > ← You are here > > Looks like it should be "separator" instead of "between" Ah yes, I see that looking at htt

Re: [Radiant] Dev and Prod URL

2006-08-22 Thread John W. Long
Bryan wrote: > Does Radiant still access the prod database when using the dev url in > production mode. I am trying to determine if I could get by using only > one DB because my host limits DBs. I probably won't be developing or > testing code. Yes. Radiant still uses the production database.

Re: [Radiant] Dev and Prod URL

2006-08-22 Thread Bryan
John W. Long wrote: > Bryan wrote: >> Could you explain the difference between dev and prod modes as >> implemented in Radiant? Does the URL change force Radiant code to run >> in dev/prod or does it simply access different Databases using the prod >> code. >> >> I am trying to figure the bes

Re: [Radiant] Next and Previous Articles

2006-08-22 Thread Keith Bingman
Thanks John, I will give that a try. Keith On Aug 22, 2006, at 10:46 PM, John W. Long wrote: > John W. Long wrote: >> Something like this might work for you: >> >>Behavior::Base.define_tags do >> tag "next" do |tag| >>current = tag.locals.page >>siblings = current.siblin

Re: [Radiant] Dynamic pages strategies?

2006-08-22 Thread John W. Long
lucio wrote: > my problem is not insert the search's field > but, if possible, select the values in my tags > > value to select by search So you want to be able to define custom strings inside of page parts that will be indexed by the search engine? That would be quite complicated, I'm not sure

Re: [Radiant] Dev and Prod URL

2006-08-22 Thread John W. Long
Bryan wrote: > Could you explain the difference between dev and prod modes as > implemented in Radiant? Does the URL change force Radiant code to run > in dev/prod or does it simply access different Databases using the prod > code. > > I am trying to figure the best workflow for handling chan

Re: [Radiant] Dynamic pages strategies?

2006-08-22 Thread lucio
John W. Long wrote: > Lucio wrote: >> With this behavior maybe can be a paradise's app >> Any comment? > > Lucio, I'm having trouble understanding your question. Are you wondering > if it is possible to add fields to the Page class? If so the answer is > yes, you can do it with the Rails plugin sy

Re: [Radiant] Dev and Prod URL

2006-08-22 Thread Bryan
Hello, Could you explain the difference between dev and prod modes as implemented in Radiant? Does the URL change force Radiant code to run in dev/prod or does it simply access different Databases using the prod code. I am trying to figure the best workflow for handling changes to design an

Re: [Radiant] Dynamic pages strategies?

2006-08-22 Thread John W. Long
Lucio wrote: > So, out of my problem, an idea can be build a Behaviour for add CRUD > page > (new table in the db) and admin's page for the public face of radiant. > So we can have: > a Public section > an Admin (developer) section > a admin (site) section > > > I think radiant is already fantast

Re: [Radiant] Next and Previous Articles

2006-08-22 Thread John W. Long
John W. Long wrote: > Something like this might work for you: > >Behavior::Base.define_tags do > tag "next" do |tag| >current = tag.locals.page >siblings = current.siblings.sort_by { |page| page.title } >index = siblings.index(current) >next = siblings[inde

Re: [Radiant] Next and Previous Articles

2006-08-22 Thread John W. Long
Keith Bingman wrote: > Am I overlooking something, or as it currently stands is it > impossible to create links the next article (next Child, in this > case)? I need to create something like this for a small part of a > site, which is basically done. This is the last thing holding me up... S

Re: [Radiant] Effect of → in

2006-08-22 Thread Bob Showalter
On 8/22/06, Dave Crossland <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to use the following in a footer snippet: > > ← You are here Looks like it should be "separator" instead of "between" ___ Radiant mailing list Radiant@lists.radiantcms.org http:/

[Radiant] Next and Previous Articles

2006-08-22 Thread Keith Bingman
Am I overlooking something, or as it currently stands is it impossible to create links the next article (next Child, in this case)? I need to create something like this for a small part of a site, which is basically done. This is the last thing holding me up... Keith Bingman

[Radiant] Effect of → in

2006-08-22 Thread Dave Crossland
Hi, I'm trying to use the following in a footer snippet: ← You are here Problem is, the → is converted into a > for some reason. How can I fix this? I'm very new to Rails and Radiant. -- Regards, Dave ___ Radiant mailing list Radiant@lists.radiantcm

Re: [Radiant] Redcloth

2006-08-22 Thread Drew Raines
Paul Stadig wrote: > I for one would rather not insert tags all over my mark > up. If I was gonna do that I'd just do everything in > straight HTML. I like the simplicity of Textile. I like to have wrapped text (which contains inherent newlines) in page textareas so that it is more readable wh

Re: [Radiant] Redcloth

2006-08-22 Thread Drew Raines
John W. Long wrote: > Keith Bingman wrote: >> I meant to include this, but forgot: >> >> http://redhanded.hobix.com/inspect/usingRedcloth3.html >> >> He states that you can switch hard breaks on, but when I try >> this, it disables paragraphs. Oh well... > > I think I'm going to side with _why f

Re: [Radiant] 3rd party host, need to update?

2006-08-22 Thread Erik Mallinson
Cool! Thanks! John W. Long wrote: > Erik Mallinson wrote: > >> Thanks Tom and John for your help. >> >> I just installed things according to the README and the development >> page, would that imply that I'm using the Rails included with Radiant? >> > > If you installed via Subversion, yes

Re: [Radiant] 3rd party host, need to update?

2006-08-22 Thread John W. Long
Erik Mallinson wrote: > Thanks Tom and John for your help. > > I just installed things according to the README and the development > page, would that imply that I'm using the Rails included with Radiant? If you installed via Subversion, yes. -- John Long http://wiseheartdesign.com

Re: [Radiant] Dev and Prod URL

2006-08-22 Thread John W. Long
Erik Mallinson wrote: > As far as documentation goes, it isn't readily apparent how to set up > the development sub-domain when going through the README file. I know > it's not Radiant specific, but it might help to explain it a little more. > > A symlink seemed to be the way to point the dev.do

Re: [Radiant] 3rd party host, need to update?

2006-08-22 Thread Erik Mallinson
Thanks Tom and John for your help. I just installed things according to the README and the development page, would that imply that I'm using the Rails included with Radiant? Thanks John for the link to the SVN handbook! Tom Wilcoxen wrote: > Erik, > > You shouldn't be dependent on Dreamhost (or

Re: [Radiant] Dev and Prod URL

2006-08-22 Thread Erik Mallinson
As far as documentation goes, it isn't readily apparent how to set up the development sub-domain when going through the README file. I know it's not Radiant specific, but it might help to explain it a little more. A symlink seemed to be the way to point the dev.domain.com to domain.com. That's

Re: [Radiant] Dynamic pages strategies?

2006-08-22 Thread Lucio
Hi all, I want a page where the content can be find from a search page. root -> agenda -> contact1 -> contact2 In agenda a want find the contact by city, name, etc. I think tha cantac page like this: name 1 name 1 For create tag I think to use: http://radiantcms.org/blog/2006/05/03/gener

Re: [Radiant] Caching of CSS files

2006-08-22 Thread Jay Levitt
Nathan Donaldson wrote: > Hi all, > > I have been looking at my logs as I am testing radiant and have noticed > that the CSS files seem to take longer to generate than the HTML files. > Am I doing something wrong? Do you have a filter defined on the CSS page? Maybe Textile is spending lots of