Re: [Radiant] How to add css styles to a website?

2006-09-25 Thread Mislav Marohnić
On 9/25/06, Giovanni Intini <[EMAIL PROTECTED]> wrote: I know that something like that would save a hack, but I'm starting to think that page parts should be naturally used to describe attributes of the page.Funny. I always thought that page parts should be naturally used to hold parts of the page

Re: [Radiant] How to add css styles to a website?

2006-09-25 Thread Giovanni Intini
I know that something like that would save a hack, but I'm starting to think that page parts should be naturally used to describe attributes of the page.2006/9/25, Mislav Marohnić < [EMAIL PROTECTED]>:On 9/25/06, Steven Noels <[EMAIL PROTECTED]> wrote: ... we should have some sort of fifth status

Re: [Radiant] How to add css styles to a website?

2006-09-25 Thread Mislav Marohnić
On 9/25/06, Steven Noels <[EMAIL PROTECTED]> wrote: ... we should have some sort of fifth statusoption: draft/review/published/hidden/hiddenfromnav. What's themeaning of the current 'hidden', BTW?I agree we should have a status of "special" or something like that for stylesheets and content that wo

Re: [Radiant] How to add css styles to a website?

2006-09-25 Thread Giovanni Intini
To avoid having stylesheets in my sitemaps, I create a page part named "no-map". Then I do 2006/9/25, Steven Noels <[EMAIL PROTECTED]>: On 20 Sep 2006, at 23:54, John W. Long wrote:>  On the Ruby site we put the stylesheets in public/stylesheets.Given the difficulty of keeping the stylesheet out o

Re: [Radiant] How to add css styles to a website?

2006-09-25 Thread Steven Noels
On 20 Sep 2006, at 23:54, John W. Long wrote: > On the Ruby site we put the stylesheets in public/stylesheets. Given the difficulty of keeping the stylesheet out of the navigation (when working with r:children:each) if you put your CSS in the database, moving the stylesheet out of Radiant se

Re: [Radiant] How to add css styles to a website?

2006-09-25 Thread Tino Breddin
> Create a temporary Radiant instance and when you run script/setup_db > select option 3 (styled blog). This seems to do what you are asking > for. Ah, now i have understood the flow. Thanks. Tino ___ Radiant mailing list Post: Radiant@lists.radiantc

Re: [Radiant] How to add css styles to a website?

2006-09-24 Thread Tom von Schwerdtner
On 9/24/06, Tino Breddin <[EMAIL PROTECTED]> wrote: > 2006/9/20, John W. Long <[EMAIL PROTECTED]>: > > It's probably better to create a layout with a content type of > > "text/css" and put just the tag in the layout. Then create > > a page, assign the layout, and paste your css in the body part. >

Re: [Radiant] How to add css styles to a website?

2006-09-24 Thread Tino Breddin
2006/9/20, John W. Long <[EMAIL PROTECTED]>: > It's probably better to create a layout with a content type of > "text/css" and put just the tag in the layout. Then create > a page, assign the layout, and paste your css in the body part. Well, i figured out how to apply css to one page, but the ch

Re: [Radiant] How to add css styles to a website?

2006-09-22 Thread Mislav Marohnić
On 9/22/06, John W. Long <[EMAIL PROTECTED]> wrote: I'd appreciate a patch that addressed these issues.Deal! I kinda fell in love with Radiant in the past few days (evaluating it) so it will be a pleasure.Be patient, because I'm still studying hard for college. A week from now and I'll get to it.

Re: [Radiant] How to add css styles to a website?

2006-09-22 Thread John W. Long
Mislav Marohnić wrote: > This is true, when the file is served by the server. It sets the > appropriate > headers. Has anyone even inspected HTTP headers sent by a Radiant response? > There is no Cache-Control header, no Expires, Last-modified or Etag, too. > Yes, the browser will cache such kind

Re: [Radiant] How to add css styles to a website?

2006-09-22 Thread Mislav Marohnić
On 9/21/06, Jim Gay <[EMAIL PROTECTED]> wrote: One of the main benefits of using CSS in general is that its cached locally in the user's browser. On the first visit there is some overhead, but subsequently (if its is acting properly) the browser shouldn't request a new stylesheet if it has one of t

Re: [Radiant] How to add css styles to a website?

2006-09-21 Thread John W. Long
John Tsombakos wrote: > Except this is a problem if you want to have your site in a subdirectory > (which is biting me). This will try to serve up " > mysite.com/stylesheets/styles.css" and not " > mysite.com/radiant/stylesheets/styles.css". (unless someone knows the > Apache magic to make it work

Re: [Radiant] How to add css styles to a website?

2006-09-21 Thread John Tsombakos
On 9/21/06, John W. Long <[EMAIL PROTECTED]> wrote: Bryan wrote:> What would the appropriate link tag be for including an file in the> public/stylesheets directory?You don't need any special tags, just use the HTML link tag in the headportion of the HTML layout: Except this is a problem if you want

Re: [Radiant] How to add css styles to a website?

2006-09-21 Thread Bryan
John W. Long wrote: > Bryan wrote: >> What would the appropriate link tag be for including an file in the >> public/stylesheets directory? > > You don't need any special tags, just use the HTML link tag in the head > portion of the HTML layout: > > > > -- > John Long > http://wiseheartdesign.c

Re: [Radiant] How to add css styles to a website?

2006-09-21 Thread John W. Long
Bryan wrote: > What would the appropriate link tag be for including an file in the > public/stylesheets directory? You don't need any special tags, just use the HTML link tag in the head portion of the HTML layout: -- John Long http://wiseheartdesign.com _

Re: [Radiant] How to add css styles to a website?

2006-09-21 Thread Bryan
> It really depends on the way you prefer to edit your css. If you > don't mind editing it in a textarea (I personally cant stand it :) ) > then John and Giovanni's solutions work well. But if you prefer to > edit them in a text editor, then just put them in public/stylesheets, > like John said,

Re: [Radiant] How to add css styles to a website?

2006-09-21 Thread Dave Crossland
On 20/09/06, John W. Long <[EMAIL PROTECTED]> wrote: > Giovanni Intini wrote: > > Create a layout with content type text/css and paste your css code there. > > It's probably better to create a layout with a content type of > "text/css" and put just the tag in the layout. Then create > a page, assi

Re: [Radiant] How to add css styles to a website?

2006-09-21 Thread Jim Gay
I haven't been active, but I wanted to jump in here.One of the main benefits of using CSS in general is that its cached locally in the user's browser. On the first visit there is some overhead, but subsequently (if its is acting properly) the browser shouldn't request a new stylesheet if it has one

Re: [Radiant] How to add css styles to a website?

2006-09-21 Thread Sean Cribbs
You make a good point about the caching.  It just might be a vulnerability to allow Radiant to edit files in the filesystem, that's all. (Remembering nightmares of PHP script-kiddies)Sean On 9/21/06, Tom von Schwerdtner <[EMAIL PROTECTED]> wrote: On 9/21/06, Sean Cribbs <[EMAIL PROTECTED]> wrote:>

Re: [Radiant] How to add css styles to a website?

2006-09-21 Thread Tom von Schwerdtner
On 9/21/06, Sean Cribbs <[EMAIL PROTECTED]> wrote: > What would that accomplish? Part of the point of having it in Radiant is > that it can be edited at a moment's notice, without worrying about file > permissions yada yada yada. Personally, I think it would be a slippery > slope to allow Radiant

Re: [Radiant] How to add css styles to a website?

2006-09-21 Thread Sean Cribbs
What would that accomplish?  Part of the point of having it in Radiant is that it can be edited at a moment's notice, without worrying about file permissions yada yada yada.  Personally, I think it would be a slippery slope to allow Radiant users to edit files in the filesystem. Sean Cribbsseancrib

Re: [Radiant] How to add css styles to a website?

2006-09-21 Thread Mislav Marohnić
On 9/20/06, John W. Long <[EMAIL PROTECTED]> wrote: Giovanni Intini wrote:> Create a layout with content type text/css and paste your css code there.It's probably better to create a layout with a content type of"text/css" and put just the tag in the layout. Then create a page, assign the layout, a

Re: [Radiant] How to add css styles to a website?

2006-09-21 Thread Giovanni Intini
2006/9/20, John W. Long <[EMAIL PROTECTED]>: Giovanni Intini wrote:> Create a layout with content type text/css and paste your css code there.It's probably better to create a layout with a content type of"text/css" and put just the tag in the layout. Then create a page, assign the layout, and past

Re: [Radiant] How to add css styles to a website?

2006-09-21 Thread Tino Breddin
Hi,thank for your help. I will test which method fits to me, probably editing the css file with my editor.Bye,Tino ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radian

Re: [Radiant] How to add css styles to a website?

2006-09-20 Thread Bodhi
On Sep 21, 2006, at 6:42 AM, Tino Breddin wrote: > Hi, > > i began to have a look into radiant and wonder in which way i should > include my css styles to my website? Obviously i could simply link the > css file in the layout, but then i could not edit it in the web > interface. Should i save my c

Re: [Radiant] How to add css styles to a website?

2006-09-20 Thread John W. Long
Giovanni Intini wrote: > Create a layout with content type text/css and paste your css code there. It's probably better to create a layout with a content type of "text/css" and put just the tag in the layout. Then create a page, assign the layout, and paste your css in the body part. On the Ru

Re: [Radiant] How to add css styles to a website?

2006-09-20 Thread Giovanni Intini
Create a layout with content type text/css and paste your css code there. Then create a blank page with your css-layout as page layout and use a slug like /style/main.css, that way you'll be able to access the css linking to /style/main.css 2006/9/20, Tino Breddin <[EMAIL PROTECTED]>: Hi,i began to

[Radiant] How to add css styles to a website?

2006-09-20 Thread Tino Breddin
Hi, i began to have a look into radiant and wonder in which way i should include my css styles to my website? Obviously i could simply link the css file in the layout, but then i could not edit it in the web interface. Should i save my css files as snippets and include them wherever i need to? Or