Radiant is Rails based here are a couple articles on SSL redirects and Rails...
http://www.busyashell.com/blog/articles/2006/10/20/how-to-force-https-without-a-host-in-rails
http://blog.innerewut.de/articles/2006/06/21/mongrel-and-rails-behind-apache-2-2-and-ssl
On 2/18/07, Jason Frankovitz <[EM
I'm using pound as a reverse proxy for radiant, and although I use https
to connect initially to radiant, after I log in to /admin, all URLs get
changed to regular 'http'. Is there some way to force radiant to keep
using https URLs?
Here's an example:
1. When I go to https://dev.mysite.com/cms, I
If installing your own local RubyGems on DreamHost, shouldn't you
install a local Ruby? or no?
I've personally struggled to get Radiant going on DH!!! Always a
BlueCloth dependency error. Says not installed. But it's there, PATHs
are set. Since then, deleted all. Maybe I'll try again.
Would be nice
It's always the simplest solution isn't it...
I needed to do:
def self.included(base)
Instead of
def included(base)
--
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post: Radiant@lists.radiantcms.org
Search: http://radian
Thanks for the suggestions Jacob.
The way I solved this was by editing my xxx_extension.rb file in the
routes section:
old: map.connect 'admin/tools/:action', :controller => 'admin/tools'
new: map.connect 'admin/tools/:action', :controller => 'tools'
Weird, works fine on my local box but in prod
Sean Cribbs wrote:
>
> class << Page
> has_many :widgets
> end
>
> -or- in the `included` method of your module do a class_eval,
>
> def included(base)
> base.class_eval do
> has_many :widgets
> end
> end
>
> You could also use `send` to invoke the has_many method. In other
The fi
David,
That was part of the impetus for the 'facets' branch. I haven't had
time to refine it or incorporate Jacob's modifications, but ideally,
instead of replacing the whole page, one would replace or modify only
the parts that need to change. The changes you make would be
incorporated with cha
I understand how to use an extension to modify an admin view, but I'm
confused as to what to do when I want to modify a view, but another
extension is already modifying that view. Can I have two different
parts of a view modified by two different extensions? or do I need
to make my view c
Kris Steigerwald wrote:
> --- Trying to run a rake db:migrate under my_app folder
> rake aborted!
> No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb,
> Rakefile.rb)
> /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1822:in
> `load_rakefile'
> (See full trace by running tas
Hey Sean,
Here you go... : )
http://pastie.caboo.se/41244
(also at: http://jotapajaro.com/dump/facets.diff)
I implemented the "for_all_editors" I was talking about aboce...
Here's the example of usage from page preview extension;
+Radiant::ExtensionLoader::do_after_activate_extensions do
Brian,
The tag accepts the 'order' and 'by' attributes.
'order' should be 'asc' or 'desc', and 'by' should be a valid column
name for the pages table (Page model).
Sean
On 2/18/07, Brian Capouch <[EMAIL PROTECTED]> wrote:
> I'm sorry to bother the list with this question.
>
> Once upon a time I
I'm sorry to bother the list with this question.
Once upon a time I solved this; now I can't remember how.
I want to specify the order in which the children of a particular page
show in its "listing of links"
I haven't quite figured out what the order is now--newest entry first,
it looks like.
--- Trying to run a rake db:migrate under my_app folder
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb,
Rakefile.rb)
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1822:in
`load_rakefile'
(See full trace by running task with --trace)
--- Trying to run a r
Kris,
Are you getting any error messages?
Are you 100% sure your database.yml file is correct?
More information would be helpful.
Good luck,
BJ Clark
On 2/18/07, Kris Steigerwald <[EMAIL PROTECTED]> wrote:
> I hosting my application on hostingrails.com. Being new to rails and
> radiant I began m
I hosting my application on hostingrails.com. Being new to rails and
radiant I began my application in production mode due to difficulties
trying to deploy from my development application. I have gained a better
understanding of how radiant uses instance mode yet I am unable to
perform a rake d
Hi All,
Posted this error earlier - have attached the error and the log below.
Please give me a shout if you have any ideas?
Thanks,
Keith
ActiveRecord::StatementInvalid in SiteController#show_page
Mysql::Error: Lost connection to MySQL server during query: SHOW FIELDS FROM
config
070218
Jamie,
In command prompt I ran 'ruby script/setup_database production. Am I setting
up the correct database? I have dev - test and live.
Keith
_
From: Jamie M. Wilkinson [mailto:[EMAIL PROTECTED]
Sent: 18 February 2007 04:05
To: [EMAIL PROTECTED]; radiant@lists.radiantcms.org
Subjec
17 matches
Mail list logo