[Radiant] Questions about using multi_site extension

2011-05-31 Thread Wes Gamble
How does the multi-site extension scope pages to individual virtual sites? Is the HomepageID of the site just supposed to be the slug name of an existing page? There doesn't appear to be any indication on the pages screen of which pages belong to a particular site. Any multi-site extension e

Re: [Radiant] Using a Gem

2011-05-31 Thread Wes Gamble
You will need to make an extension and put "heb_date" in application.rb (or a library file in your extension) and application.html.haml in app/views/layouts in your extension. Read about extensions here: https://github.com/radiant/radiant/wiki/Extensions Wes On 5/31/11 4:32 PM, a...@akhlah.

[Radiant] Using a Gem

2011-05-31 Thread alan
I have another Rails project that I am using a Gem called HebRuby - It calculates Hebrew dates and displays them. In Application Controller: def heb_date today = Date.today hebdate = Hebruby::HebrewDate.new today day = hebdate.hd month = Hebruby::HebrewDate::MONTH_NAMES[he

Re: [Radiant] Overriding the default admin layout

2011-05-31 Thread Wes Gamble
Thanks William. Also, you need to turn off Sass compilation for Heroku, so production.rb looks like this for those two options: # Caching is off for Heroku config.action_controller.perform_caching = false # Turn off Sass compilation in production Sass::Plugin.options[:never_update

Re: [Radiant] Overriding the default admin layout

2011-05-31 Thread William Ross
On 31 May 2011, at 20:15, Wes Gamble wrote: > How do I override the default admin. layout for Radiant? > > I'm playing with the Radiant 1.0.0 prerelease and it's caching the Javascript > into an "all" file and I want to take that behavior out, since I'm deploying > on Heroku and can't write to

Re: [Radiant] Overriding the default admin layout

2011-05-31 Thread Wes Gamble
I should add that I'm running Radiant as a gem, not in "vendor". W On 5/31/11 2:15 PM, Wes Gamble wrote: How do I override the default admin. layout for Radiant? I'm playing with the Radiant 1.0.0 prerelease and it's caching the Javascript into an "all" file and I want to take that behavior o

[Radiant] Overriding the default admin layout

2011-05-31 Thread Wes Gamble
How do I override the default admin. layout for Radiant? I'm playing with the Radiant 1.0.0 prerelease and it's caching the Javascript into an "all" file and I want to take that behavior out, since I'm deploying on Heroku and can't write to the filesystem. I added an application.html.haml fil