[Radiant] Understanding snippets

2010-07-10 Thread Wes Gamble
All, In the Radiant ethic, it states: *Radiant is primarily designed for static Web sites* (that is, sites that are not dynamically generated). It is not, and should not become, portal software. I was under the assumption that snippets were roughly equivalent to Rails partials, and assumed

Re: [Radiant] actives_scaffold_includes with custom extension

2010-08-03 Thread Wes Gamble
I'm using AS inside of Radiant, and I simply added = active_scaffold_includes into the application.html.haml file (line 18) for Radiant admin. But I'm deploying on heroku so I have the radiant files expanded out into vendor/radiant in my project. If you have a standard Radiant project,

Re: [Radiant] actives_scaffold_includes with custom extension

2010-08-03 Thread Wes Gamble
Of course, the proper Radiant approach to this is probably to use a snippet to hold the content that is common to the two layouts, in the spirit of DRYness. W On 8/3/10 5:24 AM, swartz wrote: I'm attempting to extend Radiant's admin with my first attempt at an extension. I've added the

[Radiant] Correct way to eliminate page caching in Radiant?

2010-08-04 Thread Wes Gamble
(apologies if this is a duplicate - I used the Web forum to post this and it doesn't show up in the Google groups list). Currently developing content in a shared app. on Heroku using Radiant, so officially we are in production mode even though we're obviously developing. We'd like to be able

Re: [Radiant] Correct way to eliminate page caching in Radiant?

2010-08-04 Thread Wes Gamble
On 8/4/10 11:48 AM, Jim Gay wrote: On Aug 4, 2010, at 12:35 PM, Wes Gamble wrote: (apologies if this is a duplicate - I used the Web forum to post this and it doesn't show up in the Google groups list). Currently developing content in a shared app. on Heroku using Radiant, so officially we

Re: [Radiant] Correct way to eliminate page caching in Radiant?

2010-08-04 Thread Wes Gamble
On 8/4/10 4:05 PM, Jim Gay wrote: On Wed, Aug 4, 2010 at 5:03 PM, Wes Gamble we...@att.net mailto:we...@att.net wrote: On 8/4/10 11:48 AM, Jim Gay wrote: On Aug 4, 2010, at 12:35 PM, Wes Gamble wrote: (apologies if this is a duplicate - I used the Web forum

[Radiant] Generating thumbnails using paperclipped extension with S3 storage on Heroku

2010-08-05 Thread Wes Gamble
All, I am working on getting the paperclipped extension using S3 on my Heroku site. I am confident that connecting to S3 will work fine (though I haven't tried it yet). Don't I need ImageMagick or something similar for the thumbnail generation or other image manipulation? How does one

[Radiant] Drag order extension with Radiant 0.9.1

2010-08-08 Thread Wes Gamble
All, Radiant 0.9.1 Have tried both http://github.com/bright4/radiant-drag-order and http://github.com/banane/radiant-drag-order/commit/532a45149c3a1654f4d5508946630549587583e0 to get drag and drop content ordering working. Both installations show the 3-bar ordering icon but nothing

Re: [Radiant] Drag order extension with Radiant 0.9.1

2010-08-08 Thread Wes Gamble
I ended up publishing my own repo. with a version that works. See: http://github.com/weyus/radiant-drag-order What I learned is that the github graph can be dragged, and so I ended up at this most promising repo: http://github.com/gerrit/radiant-drag-order which is the one that I forked

Re: [Radiant] Drag order extension with Radiant 0.9.1

2010-08-09 Thread Wes Gamble
Marshal, I am seeing strange behavior in my installation of the drag extension as well. Wes On 8/8/10 1:43 PM, Marshal Linfoot wrote: Hi Wes. I have this one installed: http://github.com/squaretalent/radiant-drag-extension It works, but with some odd behaviour that I can work around. For

Re: [Radiant] Drag order extension with Radiant 0.9.1

2010-08-09 Thread Wes Gamble
FWIW, I've definitely verified that the position column on the Page model is being respected in the admin. page display. When a parent page's children are requested using Page#children, the position value is also respected (it appears that if two pages have the same position value, then

Re: [Radiant] Drag order extension with Radiant 0.9.1

2010-08-10 Thread Wes Gamble
Sweet! Will give it a whirl tomorrow. Wes On 8/9/10 11:27 PM, banane wrote: OK this seems to work for me. Master branch, http://github.com/banane/radiant-drag-order/ On Mon, Aug 9, 2010 at 7:49 PM, Wes Gamble we...@att.net mailto:we...@att.net wrote: FWIW, I've definitely

Re: [Radiant] Using Sass mixins with Radiant managed Sass-filtered CSS files

2010-08-11 Thread Wes Gamble
...@spanner.org wrote: On 10 Aug 2010, at 17:47, Wes Gamble wrote: All, I have a Sass file that I am managing in Radiant. I'd like to pull in a mixin to keep the Sass file clean. I placed my mixin Sass file in RADIANT_ROOT/public/stylesheets/sass/_mixins.sass I

Re: [Radiant] Using Sass mixins with Radiant managed Sass-filtered CSS files

2010-08-11 Thread Wes Gamble
On Wed, Aug 11, 2010 at 2:18 AM, William Ross w...@spanner.org mailto:w...@spanner.org wrote: On 10 Aug 2010, at 17:47, Wes Gamble wrote: All, I have a Sass file that I am managing in Radiant. I'd like to pull in a mixin to keep the Sass file clean. I placed my

[Radiant] Additional layers of tabs in admin interface

2010-08-12 Thread Wes Gamble
All, Can I generate another level of tabs in the admin interface, so that I have one tab at the top level and then when I click it, I see several sub-tabs, and under each of those I see various buttons? Thanks, Wes

[Radiant] Customizing the user admin UI at the column level

2010-08-12 Thread Wes Gamble
I have reviewed the contents of http://wiki.github.com/radiant/radiant/modifying-the-page-ui in depth. I have extension that modifies the user model to be attached to something called a program, and I've made the change in the DB, and modified the user model in my extension code like so:

Re: [Radiant] Customizing the user admin UI at the column level

2010-08-12 Thread Wes Gamble
On 8/12/10 6:47 PM, William Ross wrote: On 13 Aug 2010, at 00:35, Wes Gamble wrote: I have reviewed the contents of http://wiki.github.com/radiant/radiant/modifying-the-page-ui in depth. I have extension that modifies the user model to be attached to something called a program, and I've

Re: [Radiant] Customizing the user admin UI at the column level

2010-08-13 Thread Wes Gamble
On 8/13/10 3:05 AM, William Ross wrote: On 13 Aug 2010, at 05:01, Wes Gamble wrote: On 8/12/10 6:47 PM, William Ross wrote: On 13 Aug 2010, at 00:35, Wes Gamble wrote: After looking into it, though, I see the admin/users/edit and admin/users/index views under the Radiant core are more

[Radiant] Forms extension and RESTful ruoting mechanics

2010-08-16 Thread Wes Gamble
Is there anything about squaretalent's forms extension (http://github.com/squaretalent/radiant-forms-extension) that conflicts with standard RESTful routing semantics for form targets? Thanks, Wes

[Radiant] Taking advantage of Rails form helpers/partials within Radiant

2010-08-16 Thread Wes Gamble
All, I have come to a point where I would like to integrate some none-Radiant managed views with Radiant views, and I'm trying to determine the best overall approach. I have some custom models which need to be represented in Radiant views, and I would like to be able to take advantage of

Re: [Radiant] Taking advantage of Rails form helpers/partials within Radiant

2010-08-19 Thread Wes Gamble
On 8/16/10 10:36 PM, Wes Gamble wrote: All, I have some custom models which need to be represented in Radiant views, and I would like to be able to take advantage of standard Rails partials, Rails form helpers, (e.g. all the good things about ActionView). I have a custom extension which

Re: [Radiant] Taking advantage of Rails form helpers/partials within Radiant

2010-08-19 Thread Wes Gamble
On 8/19/10 11:05 PM, Wes Gamble wrote: On 8/16/10 10:36 PM, Wes Gamble wrote: All, I have some custom models which need to be represented in Radiant views, and I would like to be able to take advantage of standard Rails partials, Rails form helpers, (e.g. all the good things about

Re: [Radiant] Taking advantage of Rails form helpers/partials within Radiant

2010-08-20 Thread Wes Gamble
On 8/20/10 2:44 AM, Haselwanter Edmund wrote: Hi, On 20.08.2010, at 07:59, Wes Gamble wrote: On 8/19/10 11:05 PM, Wes Gamble wrote: On 8/16/10 10:36 PM, Wes Gamble wrote: All, I have some custom models which need to be represented in Radiant views, and I would like to be able to take

Re: [Radiant] Taking advantage of Rails form helpers/partials within Radiant

2010-08-20 Thread Wes Gamble
On 8/20/10 5:27 AM, Haselwanter Edmund wrote Edmund, I did see this, but I don't think it exactly addresses my issue. I want to render a page where half of my content is provided by a Radiant user, and the other half is provided by me (the developer). Then I don't understand your use case.

Re: [Radiant] Re: Taking advantage of Rails form helpers/partials within Radiant

2010-08-20 Thread Wes Gamble
On 8/20/10 6:54 AM, Mark Reginald James wrote: To render a partial in a tag I've been doing tag('show_user_status') do |tag| response.template.render :partial = 'users/status', :locals = {:user = User.find(params[:id])} end You can also add scripts and stylesheets to the page head, and

[Radiant] Getting the position of a child page within the list of children for its parent

2010-08-20 Thread Wes Gamble
All, I have a page X, which has several children pages underneath it (say, 10). Is there any relatively easy way to derive the index of a given child of X in the list of children of X? So, for example, for the 3rd child, I need to be able to get a 3 somehow in order to construct links.

Re: [Radiant] Getting the position of a child page within the list of children for its parent

2010-08-20 Thread Wes Gamble
On 8/20/10 3:04 PM, Wes Gamble wrote: All, I have a page X, which has several children pages underneath it (say, 10). Is there any relatively easy way to derive the index of a given child of X in the list of children of X? So, for example, for the 3rd child, I need to be able to get a 3

Re: [Radiant] Getting the position of a child page within the list of children for its parent

2010-08-21 Thread Wes Gamble
On 8/20/10 5:04 PM, Wes Gamble wrote: On 8/20/10 3:04 PM, Wes Gamble wrote: All, I have a page X, which has several children pages underneath it (say, 10). Is there any relatively easy way to derive the index of a given child of X in the list of children of X? So, for example

Re: [Radiant] Getting the position of a child page within the list of children for its parent

2010-08-22 Thread Wes Gamble
On 8/21/10 7:44 PM, Jim Gay wrote: On Sat, Aug 21, 2010 at 1:33 PM, Wes Gamblewe...@att.net wrote: On 8/20/10 5:04 PM, Wes Gamble wrote: On 8/20/10 3:04 PM, Wes Gamble wrote: All, I have a page X, which has several children pages underneath it (say, 10). Is there any relatively easy way

[Radiant] Vapor extension and query strings in source URL

2010-08-23 Thread Wes Gamble
Jim (or anyone conversant with the inner workings of the Vapor extension) Referencing the Vapor extension(http://github.com/saturnflyer/radiant-vapor-extension/), which allows the set up of redirects via Radiant: I would like to redirect from a page with a query string in it, such as

[Radiant] Rails 2.3.9 anecdote

2010-09-06 Thread Wes Gamble
Anecdotally... I'm running my Radiant app. under Rails 2.3.9 and it seems to be working fine - lots of deprecation warnings about ActiveSupport::Dependencies.load_once_paths is deprecated ActiveSupport::Dependencies.load_paths but nothing seems to have broken so far. What is the best

Re: [Radiant] Re: Rails 2.3.9 anecdote

2010-09-08 Thread Wes Gamble
Additional anecdotal stuff: I moved my Radiant app. to use bundler for gem management today. I run Radiant in a standard Rails app. out of vendor/radiant. I followed these instructions for running bundler with Rails 2.3.x: http://gembundler.com/rails23.html I was able to remove all of the

Re: [Radiant] How to use the toggle effect on pages?

2010-09-10 Thread Wes Gamble
You may want to check out jQuery, which allows you to do effects like this. See: http://api.jquery.com/category/effects/ for the jQuery API documentation on the show() and hide() methods. Download: http://docs.jquery.com/Downloading_jQuery Tutorials: http://docs.jquery.com/Tutorials Given:

[Radiant] Radiant appears unable to write session cookies

2010-09-28 Thread Wes Gamble
Rails 2.3.9 Radiant 0.9.1 I noticed recently that admin users in my Radiant app. can no longer logout successfully - upon logout, they are taken back to the /admin/pages (default admin) page. I've been debugging this locally and checking out what happens between the calls to

Re: [Radiant] Radiant appears unable to write session cookies

2010-09-29 Thread Wes Gamble
(for easily displaying some custom administrative data) is interfering with the logout process somehow. W On 9/28/10 6:05 PM, Wes Gamble wrote: Rails 2.3.9 Radiant 0.9.1 I noticed recently that admin users in my Radiant app. can no longer logout successfully - upon logout, they are taken back

Re: [Radiant] Radiant appears unable to write session cookies - RESOLUTION

2010-09-29 Thread Wes Gamble
the built-in Radiant authentication system in that it does not successfully log you out. Thanks, Wes On 9/29/10 3:08 PM, Wes Gamble wrote: Apologies for replying to my own post. I have verified a couple more things: 1) In general, I can write to the session from my Radiant app. without incident

Re: [Radiant] Radiant appears unable to write session cookies - RESOLUTION

2010-09-30 Thread Wes Gamble
would have changed. W Thanks, Wes On 9/29/10 3:08 PM, Wes Gamble wrote: Apologies for replying to my own post. I have verified a couple more things: 1) In general, I can write to the session from my Radiant app. without incident. Using these actions: def modify_session session[:number

Re: [Radiant] Using devise (or some other authentication/authorization framework) as a log in solution for Radiant end-users

2010-10-05 Thread Wes Gamble
Many thanks Jim. W On 10/5/10 1:04 PM, Jim Gay wrote: On Tue, Oct 5, 2010 at 1:28 PM, Wes Gamblewe...@att.net wrote: All, I am wanting to build a fairly full featured login/registration system for my Radiant end-users (content consumers, not authors or reviewers). Obviously, Radiant does

[Radiant] Minimal configuration for vhost_extension

2010-10-05 Thread Wes Gamble
I have installed the vhost extension (with an eye to future expansion, but really just to easily install the crm extension). Upon installation, of course, I have no sites configured. What is the absolute minimum that I need to do to basically default my existing, singular site into a

Re: [Radiant] Avoid using the same Radiant session with custom auth

2010-10-05 Thread Wes Gamble
So you need to maintain two distinct sessions from one browser? Is that right? W On 10/5/10 6:22 PM, swartz wrote: I have a 0.9.1-based radiant install that uses a custom end-user auth- system. It uses authlogic and based primarily on examples from reader and members extension. I've

Re: [Radiant] Re: Avoid using the same Radiant session with custom auth

2010-10-06 Thread Wes Gamble
Hmmm... Some thoughts: 1) You could maintain multiple independent sessions logically by simply establishing some naming convention of session key values in the one session. All admin session keys are session[:admin_xxx] and all regular session keys are session[:regular_xxx]. You could

Re: [Radiant] Re: Using devise (or some other authentication/authorization framework) as a log in solution for Radiant end-users

2010-10-07 Thread Wes Gamble
I have Devise working with Radiant with no problems (that I'm aware of) so far. More soon. Wes On 10/5/10 5:59 PM, swartz wrote: Hi Wes, I've ran into a similar issue/problem. Radiant is great and all, except for when it comes down to end-user auth stuff. I wish it was like Drupal's ACL in

[Radiant] Excluding certain pages from Radiant cache

2010-10-12 Thread Wes Gamble
All, Is there a way to keep a specific page from being cached by Radiant? Thanks, Wes

Re: [Radiant] Excluding certain pages from Radiant cache

2010-10-13 Thread Wes Gamble
On 10/12/10 9:45 PM, Jim Gay wrote: On Tue, Oct 12, 2010 at 10:16 PM, Wes Gamblewe...@att.net wrote: All, Is there a way to keep a specific page from being cached by Radiant? Thanks, Wes You could make a custom page class and turn it off. class NoCachePage Page def cache false

Re: [Radiant] Excluding certain pages from Radiant cache (correction)

2010-10-13 Thread Wes Gamble
On 10/12/10 9:45 PM, Jim Gay wrote: On Tue, Oct 12, 2010 at 10:16 PM, Wes Gamblewe...@att.net wrote: All, Is there a way to keep a specific page from being cached by Radiant? Thanks, Wes You could make a custom page class and turn it off. class NoCachePage Page def cache false

Re: [Radiant] Can not solve confict between both gallery and google map

2010-10-14 Thread Wes Gamble
There is almost certainly some method being pulled into the same class via an include in each extension that has the same name but different numbers of arguments (2 vs. 1). Wes On 10/14/10 1:30 AM, sawangpong wrote: gallery from http://github.com/hairballopolis/radiant-gallery google map

Re: [Radiant] Re: Problems with Radiant and vendor/gems load order

2010-10-14 Thread Wes Gamble
require 'whatever' at the top of the extension file. W On 10/14/10 4:07 PM, Stan Rawrysz wrote: I have a similar problem. Jim, how do you require the gem from within the extension? On Oct 13, 5:26 pm, Jim Gayj...@saturnflyer.com wrote: On Wed, Oct 13, 2010 at 6:39 PM, Wes

[Radiant] Using Devise as an authentication solution for end users with Radiant

2010-10-16 Thread Wes Gamble
All, I've spent some time getting Devise working as an authentication system for my end users, and thought I would share how I got it to work. 1) Because Radiant already has a User model, you have to set up Devise to use a different model for authentication. So, you should choose a model

Re: [Radiant] Making an Extension with Controllers/Views Publicly Accessible

2010-10-19 Thread Wes Gamble
Mimic the calls to skip_before_filter :verify_authenticity_token no_login_required from SiteController in your extension's controllers - that's how the regular Radiant pages do not require login. Alternatively, you could have your controllers descend from SiteController as well, although

[Radiant] SiteController sessions and flash access

2010-10-21 Thread Wes Gamble
All, 1) I read in this post from back in '08 (http://www.ruby-forum.com/topic/142224) that the SiteController had sessions disabled by default. Sessions are enabled in my SiteController (which is good, since I am doing lots of user-centric stuff). When did that change in the base Radiant

Re: [Radiant] SiteController sessions and flash access

2010-10-21 Thread Wes Gamble
= tag.locals.page.response.template.controller.session['flash'] flash ? (flash[key] || flash[key.to_sym] || '') : '' else raise TagError.new(`flash' tag must contain `key' attribute) end end On 10/21/10 4:21 PM, Wes Gamble wrote: All, 1) I read in this post from back in '08 (http

Re: [Radiant] Re: SiteController sessions and flash access

2010-10-21 Thread Wes Gamble
/10 4:21 PM, Wes Gamble wrote: All, 1) I read in this post from back in '08 (http://www.ruby-forum.com/topic/142224) that the SiteController had sessions disabled by default. Sessions are enabled in my SiteController (which is good, since I am doing lots of user-centric stuff). When did

Re: [Radiant] paperclipped DRY

2010-10-23 Thread Wes Gamble
From Basic Usage at http://github.com/radiant/radiant/wiki/Radius-Tags As the |r:parent| example above shows, it is possible to nest Radius tags *within* other Radius tags, so long as they are separate elements. However, *using a Radius tag as the the attribute of another Radius tag is /NOT

[Radiant] Need help with Compass configuration for Radiant

2010-10-25 Thread Wes Gamble
, Wes Gamble

Re: [Radiant] Forms extension

2010-11-12 Thread Wes Gamble
I used apotonick's cells so that I could embed a regular Rails form (rendered through Rails) in a Radiant page. I found the Radiant extension too limiting. This is rather involved though. What I like about it is I can embed arbitrarily complex forms without having to leave the Radiant

[Radiant] Kramdown vs. markdown filter

2010-12-16 Thread Wes Gamble
Radiant 0.9.1 I see that the kramdown_filter extension just got updated to the kramdown 0.12 gem. If I want to use the kramdown_filter, should I remove the existing markdown_filter extension? Thanks, Wes

Re: [Radiant] Kramdown vs. markdown filter

2010-12-16 Thread Wes Gamble
Thanks John, I installed the kramdown filter, took a page and switched it from markdown to kramdown and got this error: undefined method `parse_infos' for #Hash:0x109f0dea8 with the following stack trace:

[Radiant] Good example of an application endpoint (RailsPage)

2010-12-20 Thread Wes Gamble
I was reading through this post on Shared Layouts (http://www.ruby-forum.com/topic/158686), and came across the explanation of the Application page type. Does anyone have a straightforward example of using this that they can share? Thanks, Wes

[Radiant] Pre-loading cache

2010-12-20 Thread Wes Gamble
All, Is there any way to pre-load the Radiant cache so that initial page view times are improved? Wes

Re: [Radiant] Pre-loading cache

2010-12-21 Thread Wes Gamble
Are there any hooks to help me isolate time spent in Radius tags or other Radiant subsystems? W On 12/21/10 9:30 PM, Jim Gay wrote: On Mon, Dec 20, 2010 at 8:16 PM, john muhljohnm...@gmail.com wrote: On Mon, Dec 20, 2010 at 7:13 PM, Wes Gamblewe...@att.net wrote: All, Is there any way to

Re: [Radiant] Re: if_url in layouts?

2011-02-24 Thread Wes Gamble
I would try escaping the '/' character, like so: r:if_url matches=^\/contact Wes On 2/21/11 8:12 PM, craayzie wrote: Interesting .. will give this a shot but just FYI - I'm using if_url in the HEAD section of the layout. I'm still curious why it's not matching. I think that's the real

[Radiant] How to take advantage of server-side caching (Rack cache) without using browser caching

2011-03-08 Thread Wes Gamble
I need to gain a deeper understanding of how the Radiant (Rack) cache works in order to solve a performance problem. PROBLEM: I've created a sidebar in my app. which traverses the entire tree of pages using Radius tags in order to render - it basically generates a tree view of the published

Re: [Radiant] How to take advantage of server-side caching (Rack cache) without using browser caching

2011-03-08 Thread Wes Gamble
William, Thanks for your reply. On 3/8/11 9:37 AM, William Ross wrote: On 5 Mar 2011, at 23:38, Wes Gamble wrote: QUESTION: Is the current caching scheme in Radiant (Rack) completely dependent on client-side caching, implying that a given user _must_ do a full render before any caching

Re: [Radiant] Radiant 1.0 Release Candidate 1

2011-05-26 Thread Wes Gamble
Jim, Any pros/cons re: using Ruby 1.9.2 for this? Thanks, Wes On 5/24/11 12:35 PM, Jim Gay wrote: We've recently released the RC1 for Radiant 1.0 There are details about it here http://radiantcms.org/blog/archives/2011/05/24/radiant-1-0-0-release-candidate-1/ But if you want to jump in and

Re: [Radiant] Radiant 1.0 Release Candidate 1

2011-05-26 Thread Wes Gamble
I'm getting this - I can't even install Rails 2.3.11 because of: /Users/weyus/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/package/tar_input.rb:117:in `initialize': no metadata found in /Users/weyus/.rvm/gems/ruby-1.9.2-p180/cache/activesupport-2.3.11.gem

Re: [Radiant] Radiant 1.0 Release Candidate 1

2011-05-26 Thread Wes Gamble
Are we supposed to be able to install a Radiant app. with Radiant as a gem with 1.0.0.rc1? Here's what happens when I try: $ radiant -d sqlite3 konditioning NOTE: SourceIndex.new(hash) is deprecated; From

[Radiant] This may be a 1.9 Radiant issue

2011-05-27 Thread Wes Gamble
This is what happens when I do rake radiant:update --trace I'm guessing a change in FileUtils in 1.9? Thanks, Wes $ rake radiant:update --trace NOTE: SourceIndex.new(hash) is deprecated; From

[Radiant] rake development db:migrate output against 1.9.1

2011-05-27 Thread Wes Gamble
Not sure if this is environmental or not. I will likely downgrade to 1.8.7 :). W $ rake development db:migrate --trace NOTE: SourceIndex.new(hash) is deprecated; From

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 out

[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

Re: [Radiant] Announcing Radiant 1.0 Release Candidate 2

2011-06-01 Thread Wes Gamble
I'm seeing an undefined mixin error for box-shadow on line 6 of public/stylesheets/sass/admin/assets.sass Does @import base not pull in the box-shadow mixin from Compass? Wes On 6/1/11 10:27 AM, Jim Gay wrote: There's a new RC out for Radiant 1.0. To get it, run gem install radiant --pre

Re: [Radiant] Announcing Radiant 1.0 Release Candidate 2

2011-06-01 Thread Wes Gamble
False alarm. It fixed itself. Sorry for the noise. W On 6/1/11 12:46 PM, Wes Gamble wrote: I'm seeing an undefined mixin error for box-shadow on line 6 of public/stylesheets/sass/admin/assets.sass Does @import base not pull in the box-shadow mixin from Compass? Wes On 6/1/11 10:27 AM

Re: [Radiant] Lost some Radiant rake tasks in 1.0.0 RC2

2011-06-01 Thread Wes Gamble
On 6/1/11 9:18 PM, Jim Gay wrote: On Wed, Jun 1, 2011 at 9:50 PM, Paul Nodennod...@nodster.co.uk wrote: Wes, On 1 June 2011 23:58, Wes Gamblewe...@att.net wrote: My rake -T list now stops after radiant:import:prototype:stylesheets (no unfreeze and no update tasks) A fresh install of a

Re: [Radiant] Lost some Radiant rake tasks in 1.0.0 RC2

2011-06-01 Thread Wes Gamble
the reasoning behind this? Wes On 6/1/11 11:12 PM, Wes Gamble wrote: On 6/1/11 9:18 PM, Jim Gay wrote: On Wed, Jun 1, 2011 at 9:50 PM, Paul Nodennod...@nodster.co.uk wrote: Wes, On 1 June 2011 23:58, Wes Gamblewe...@att.net wrote: My rake -T list now stops after radiant:import:prototype:stylesheets

[Radiant] Need help understanding how to use the multi-site extension

2011-06-02 Thread Wes Gamble
All, I've installed the multi-site entension, but am not sure how to use it. Here are some questions: 1) Is the domain match field for a subdomain of the base domain. So I'm guessing for example, if base domain is company.com and domain match is sprockets, then sprockets.company.com defines

[Radiant] Understanding the configuration of the new clipped extension that manages assets

2011-06-02 Thread Wes Gamble
So do the settings under the 'assets' key in Radiant::Config do anything anymore, or is everything managed under 'clipped' now? Trying to set up for S3, and added all the 'assets.s3' settings and then realized these all have to be 'clipped' Is 'assets' just an alias for 'clipped' or is it an

[Radiant] Clipped extension questions

2011-06-02 Thread Wes Gamble
Is ghostscript only used to generate PDF thumbnails? Thanks, Wes

Re: [Radiant] Clipped extension questions

2011-06-02 Thread Wes Gamble
for months.) ffmpeg is definitely not there, and I'm guessing ghostscript isn't either. I'll dig into the Heroku side of things about any opportunities to customize those system level things, but in case it comes up... Wes On 6/2/11 2:20 PM, William Ross wrote: On 2 Jun 2011, at 20:19, Wes Gamble

Re: [Radiant] Clipped extension questions

2011-06-02 Thread Wes Gamble
FYI, Ghostscript is also included. W On 6/2/11 2:26 PM, Wes Gamble wrote: An interesting note: ImageMagick is included by default on the Heroku bamboo (Phusion REE 1.8.7) stack, since assets uploading just works on Heroku. (I'm embarrassed to say that I just realized this even though have

Re: [Radiant] Running Radiant without config.gem in the environment.rb file

2011-06-02 Thread Wes Gamble
deploying to Heroku. W On 6/2/11 5:04 PM, Wes Gamble wrote: All, This is really bundler stuff, but if you want to use bundler to manage gem dependencies (a la Rails 3) instead of using config.gem commands in environment.rb, here's how you do it: 1) Generate your Gemfile in Rails.root

[Radiant] Undefined mixin 'box-shadow' error editing pages in Radiant 1.0.0 RC2

2011-06-03 Thread Wes Gamble
I have the compass gem installed, and also in my Gemfile (just to make sure, I re-added the config.gem 'compass' line to my environment.rb and got the same results), and I've added this initializer to my config/initializers directory: require 'fileutils' FileUtils.mkdir_p(Rails.root.join(tmp,

[Radiant] Strange behavior of Sass styleshees in Radiant admin. interface.

2011-06-03 Thread Wes Gamble
Radiant 1.0.0 RC2 By default, Radiant ships with several Sass files in Rails.root/public/stylesheets/sass. In an attempt to debug why I am not seeing the Compass box-shadow mixin, I am fiddling with my Sass files. So I just tried to prove that Sass is working normally, and I did the

Re: [Radiant] Overriding the default admin layout

2011-06-03 Thread Wes Gamble
On 6/1/11 10:42 AM, Jim Gay wrote: You shouldn't need to turn off caching for this. Inside config/initializers/compass.rb place this code - require 'fileutils' FileUtils.mkdir_p(Rails.root.join(tmp, stylesheets)) Sass::Plugin.options[:template_location] = (Rails.root + 'public' +

[Radiant] Compass configuration

2011-06-03 Thread Wes Gamble
I can't figure out if these ever need to be called in a Radiant project. I've removed them and everything seems fine. Are they old (from a Compass point of view)? Wes On 6/3/11 5:42 PM, Wes Gamble wrote: require 'compass' require 'compass/app_integration/rails' Compass::AppIntegration

[Radiant] Need to prevent stylesheets from caching

2011-06-05 Thread Wes Gamble
I need to allow a Radiant user to edit stylesheets and immediately see the results in generated pages, which means I want to effectively turn off caching for stylesheets. I have set the cache timeout to 1 second in environment.rb (for some reason, setting it to 0 doesn't work in Chrome -

Re: [Radiant] Need to prevent stylesheets from caching

2011-06-05 Thread Wes Gamble
And I also see that the sheets extension doesn't consult the cache? method of the StylesheetPage (or JavascriptPage) so that's why going down that road that didn't work either. I'm going to submit a pull request for that. Wes On 6/5/11 8:57 PM, Wes Gamble wrote: OK, so I looked

[Radiant] Best-place to monkey patch Radiant extensions?

2011-06-06 Thread Wes Gamble
If I want to monkey patch a Radiant extension, where is the best place to do it, e.g. a place where I can be sure that all of the extension have been loaded. If anyone can point me to a reference on how load order works in Radiant, that would help a great deal. Thanks, Wes

[Radiant] Sheets extension: Can't override the SiteController.sheet_cache_timeout value

2011-06-06 Thread Wes Gamble
I can't change the value of the sheet_cache_timeout class attribute on SiteController. I don't understand why this doesn't work. Here is a script/console session: /Users/weyus/.rvm/rubies/ruby-1.8.7-p334/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)

Re: [Radiant] Overriding the default admin layout

2011-06-07 Thread Wes Gamble
Thanks, Jim. I still don't see how this would force Sass compilation into the /tmp/stylesheets directory. I see that the source is being set to Rails.root/public/stylesheets/sass but how does /tmp/stylesheets become the destination for Sass? Thanks, Wes On 6/7/11 9:33 AM, Jim Gay wrote:

[Radiant] How-To on disabling caching in Radiant

2011-06-14 Thread Wes Gamble
I wrote up a howto on how to disable the cache in Radiant. Obviously, if anyone wants to review (and correct) it, feel free. https://github.com/radiant/radiant/wiki/Disable-caching-in-a-radiant-system Thanks, Wes

Re: [Radiant] How-To on disabling caching in Radiant

2011-06-14 Thread Wes Gamble
You can do anything you want in your overridden cache? method, so I would say yes. W On 6/14/11 1:21 PM, Paul Noden wrote: Thanks Wes, Is there a way to configure this on a path basis rather than page class? Paul Noden

Re: [Radiant] How-To on disabling caching in Radiant

2011-06-14 Thread Wes Gamble
In fact, if anyone has a very interested overridden cache? method, it might be instructive to share it. W On 6/14/11 1:25 PM, Wes Gamble wrote: You can do anything you want in your overridden cache? method, so I would say yes. W On 6/14/11 1:21 PM, Paul Noden wrote: Thanks Wes

Re: [Radiant] How-To on disabling caching in Radiant

2011-06-20 Thread Wes Gamble
will get me up and running on heroku with 1.0rc and If anyone has suggestions for Heroku I would be glad to listen On Tue, Jun 14, 2011 at 2:18 PM, Wes Gamble we...@att.net mailto:we...@att.net wrote: I wrote up a howto on how to disable the cache in Radiant. Obviously, if anyone

Re: [Radiant] Page Reordering

2011-06-20 Thread Wes Gamble
On 6/20/11 10:55 AM, Jim Gay wrote: On Mon, Jun 20, 2011 at 10:57 AM, Paul Nodennod...@nodster.co.uk wrote: On 20 June 2011 15:40, Bob Sleysbsl...@gmail.com wrote: Does radiant-reorder-extension work with radiant 1.0.0.rc? Reordering the pages to make it easy to automatically create properly

Re: [Radiant] Upgrade Path

2011-06-21 Thread Wes Gamble
You use bundler with Rails 2.3.x (http://gembundler.com/rails23.html), if you're just worried about bundler stuff. In Rails 2.3.11, you don't need to modify boot.rb as per the instructions above, just add the config/preinitializer.rb file and you should be good to go. It'll be ok. Wes

[Radiant] Upgrade to 1.0.0RC2 from 0.9.1

2011-07-18 Thread Wes Gamble
Has anyone done an in-place upgrade from 0.9.1 to 1.0.0RC2 and have step-by-step instructions that they can share? Any gotchas? Thanks, Wes

[Radiant] Version of compass that's compatible with Radiant 0.9.1

2011-07-20 Thread Wes Gamble
Does anyone know if there is a version of Compass that's compatible with using Radiant 0.9.1 as a gem? Radiant 0.9.1 packages haml as a plugin (and hence Sass). Thanks, Wes

Re: [Radiant] Version of compass that's compatible with Radiant 0.9.1

2011-07-20 Thread Wes Gamble
On 7/20/11 4:32 PM, Wes Gamble wrote: Does anyone know if there is a version of Compass that's compatible with using Radiant 0.9.1 as a gem? Radiant 0.9.1 packages haml as a plugin (and hence Sass). Thanks, Wes FWIW, I vendor'ed radiant, removed the haml plugin and seem to be successfully

Re: [Radiant] Version of compass that's compatible with Radiant 0.9.1

2011-07-20 Thread Wes Gamble
On 7/20/11 4:58 PM, Wes Gamble wrote: On 7/20/11 4:32 PM, Wes Gamble wrote: Does anyone know if there is a version of Compass that's compatible with using Radiant 0.9.1 as a gem? Radiant 0.9.1 packages haml as a plugin (and hence Sass). Thanks, Wes FWIW, I vendor'ed radiant, removed the haml

Re: [Radiant] Radiant Edge on Heroku

2011-09-01 Thread Wes Gamble
Dave, I'm currently running Radiant 1.0.0 RC2 on Rails 2.3.11 on Heroku without incident, using Radiant as a gem and not installing it to vendor/radiant. I created the app. using the radiant app generator command, so, for example, I don't have an app directory. Here's my Gemfile: source

  1   2   >