[Radiant] Problem. MailerBehaviour in eApps

2007-01-28 Thread Brian Sam-Bodden
After hours of playing with the Mailer behaviour on my eApps virtual server I'm about to give up and find other way to do a contact form. The email does not get delivered. So in case anybody can see any flaws in my setup here it is... environment.rb == # Configure ActionMailer ActionMa

Re: [Radiant] 0.5.2 -- Setup and design

2007-01-28 Thread Andrew Klein
Hey all! Just wondering if anyone has a solution for me. Your help would be GREATLY appreciated! Andrew Andrew Klein wrote: > Hello all! > > Still getting a hang of this all and just looking for some > input;insight. I've been running a fairly simple design of Radiant > (Read: almost source)

[Radiant] Reusable Page Parts - With A Twist

2007-01-28 Thread Chris Parrish
Before I ask my question, I'd like to make it clear that I am new to Radiant -- perhaps I am asking this the wrong way or maybe there's already a posted solution that I missed. If so, I apologize in advance. I also realize that what I'm trying to do isn't typical and that Radiant is not intended

Re: [Radiant] Where to put helper methods for tags?

2007-01-28 Thread Kaleb Walton
Thanks for that explanation! I ended up creating a MyTags module that included tag definitions as well as helper methods. For those who may have the same question I did something like this: In extensions/my_tags/lib/my_tags.rb: module MyTags include Radiant::Taggable def helper_hello "h

Re: [Radiant] Include a CSS style sheet in an extension?

2007-01-28 Thread Kaleb Walton
I can definitely appreciate the impracticality of checking file timestamps each time, however, would you agree that under development mode it may be a good option to have available? On 1/28/07, Sean Cribbs <[EMAIL PROTECTED]> wrote: > > Well, maybe not inflexible, but impractical. The problem i

Re: [Radiant] Include a CSS style sheet in an extension?

2007-01-28 Thread Sean Cribbs
Well, maybe not inflexible, but impractical. The problem is that you'd have to have some process/controller checking the file's timestamp on every access. This means preventing Apache/lighttpd/Litespeed/whatever from sending the file directly, which is proven to be much faster anyway. I'm no

Re: [Radiant] Where to put helper methods for tags?

2007-01-28 Thread Daniel Sheppard
Tags are instance_eval'd on the page, so depending on how your page hierachy either put them as a method on a superclass or put them in a module which is included in each of the pages. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Kaleb Walton

[Radiant] Where to put helper methods for tags?

2007-01-28 Thread Kaleb Walton
Where is an appropriate place to put helper methods for tags to support the DRY principle? ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinf

Re: [Radiant] Redirect?

2007-01-28 Thread Anton J Aylward
Farrel Lifson said the following on 01/28/2007 03:13 PM: > On 28/01/07, Anton J Aylward <[EMAIL PROTECTED]> wrote: >> Is there a way to set up a page so that it silently redirects to another one >> > > I set up a layout called 'Redirect' that has the following template: > >CONTENT="0;URL=" /

Re: [Radiant] Extended content in distributed example

2007-01-28 Thread Anton Aylward
Sean Cribbs said the following on 01/28/2007 02:14 PM: > > In the layout of your child page (which might be the same as the parent) > you need to render the "extended" part. So somewhere in the layout, you > should find something like this: > > > > > > > > > The first line rende

Re: [Radiant] Redirect?

2007-01-28 Thread Farrel Lifson
On 28/01/07, Anton J Aylward <[EMAIL PROTECTED]> wrote: > Is there a way to set up a page so that it silently redirects to another one > > Something that results in what one might conceive of as > > with appropriate 404 handling? > > -- > An NSA-employed acquaintance, when asked whether the govern

Re: [Radiant] Redirect?

2007-01-28 Thread Anton Aylward
Sean Cribbs said the following on 01/28/2007 01:50 PM: > Anton J Aylward wrote: >> Is there a way to set up a page so that it silently redirects to another one >> >> Something that results in what one might conceive of as >> >> with appropriate 404 handling? >> >> > Anton, > > I started to do

Re: [Radiant] Include a CSS style sheet in an extension?

2007-01-28 Thread Kaleb Walton
Copying upon activation seems like a sensible solution but I'm not sure I follow how it is inflexible to copy the file as soon as it changes. Then it is always up to date regardless of deactivating/activating the extension. I didn't express it but I would have assumed that there would be an initial

Re: [Radiant] Include a CSS style sheet in an extension?

2007-01-28 Thread Sean Cribbs
You've revealed why that option could be somewhat inflexible. Once it has been copied, it will be served as a static file by the webserver. I would prefer for it to be copied on activation of the extension, then it is up-to-date on startup. Sean On 1/28/07, Kaleb Walton <[EMAIL PROTECTED]> wro

Re: [Radiant] Include a CSS style sheet in an extension?

2007-01-28 Thread Kaleb Walton
My opinion is that the first option would be the least intrusive as long as it takes note of the last modified timestamps to recopy them when they change. Regards, Kaleb On 1/28/07, Sean Cribbs <[EMAIL PROTECTED]> wrote: > > Loren, > > I've had some discussions with John in the past about how t

Re: [Radiant] Extended content in distributed example

2007-01-28 Thread Sean Cribbs
Anton J Aylward wrote: > In the distribution example, the Home Page has a line of code > > > > > Continue Reading… > > > > (Its one one line in the example) > Since its in the context of the 'child' I presume it refers to the child. > > When viewed as the web site I'm prototyp

[Radiant] Extended content in distributed example

2007-01-28 Thread Anton J Aylward
In the distribution example, the Home Page has a line of code Continue Reading… (Its one one line in the example) Since its in the context of the 'child' I presume it refers to the child. When viewed as the web site I'm prototyping this has a link to http://server:3000/pr

Re: [Radiant] Redirect?

2007-01-28 Thread Sean Cribbs
Anton J Aylward wrote: > Is there a way to set up a page so that it silently redirects to another one > > Something that results in what one might conceive of as > > with appropriate 404 handling? > > Anton, I started to do that for some pages on kckcc.edu, but found it was much easier to jus

[Radiant] Redirect?

2007-01-28 Thread Anton J Aylward
Is there a way to set up a page so that it silently redirects to another one Something that results in what one might conceive of as with appropriate 404 handling? -- An NSA-employed acquaintance, when asked whether the government can crack DES traffic, quipped that real systems are so insecure

[Radiant] 0.5.2 -- Setup and design

2007-01-28 Thread Andrew Klein
Hello all! Still getting a hang of this all and just looking for some input;insight. I've been running a fairly simple design of Radiant (Read: almost source) and want to expand the design a little. Here is kind of what I want to do: - Home (Shows either just News or all of the heading, chro

Re: [Radiant] When Do We All Go Mental?

2007-01-28 Thread Sean Cribbs
> Mental is running on 1.2.1, not edge. > FYI This change happened just in the past week. Previously, we were running on 1.2 prerelease (essentially Edge). Sean ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcm

Re: [Radiant] Include a CSS style sheet in an extension?

2007-01-28 Thread Sean Cribbs
Loren, I've had some discussions with John in the past about how this should work. There are two possibilities that I remember: 1) SiteController copies "assets" from your extension's "public" directory to the application's public directory on demand. 2) Provide a rake task to copy them or d

Re: [Radiant] Combined rss feed and more?

2007-01-28 Thread Martin Olsson
Yeah, I've been looking at Mephisto as well, but I like the "philosophy" behind Radiant more. I couldn't really get my head around how Mephisto worked. Radiant seems cleaner, at the expense of less functions like comments and stuff. If you really want to convince me I'll be standing by for