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
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.
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
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
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
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
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