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

2010-08-11 Thread William Ross
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 refer to it from my stylesheet with the

[Radiant] Howto create custom helpers

2010-08-11 Thread Martin Stabenfeldt
Hi, I´m planning on creating a helper that can base64 encode images. i.e. %= base64_encode(path_to_image) % I started by running script/generate extension base64_encoder Then I created app/vendor/extension/base64_encoder/app/helpersbase64_encoder_helper.rb: module Base64EncoderHelper def

[Radiant] Re: Howto create custom helpers

2010-08-11 Thread Christian Aust
Doesn't work like that. First: While it might be possible to add that helper to the relevant controllers, there's no need to do so: Radiant tags are used in layouts and snippets instead of ERB syntax. In fact, helper methods aren't even accessible directly from radius tags, because a context in

[Radiant] Upgrading from 0.6.9

2010-08-11 Thread Robert Wenc
I'm trying to upgrade a old site form Radiant 0.6.9 to 0.9.1. I've installed the new gem, and run the rake update task in the project. I had some errors with extensions, but managed to get by that by disabling them. Everything looked good until I run the db:migrate task. It runs to completion,

[Radiant] Re: Paperclipped (assets) and s3 path problem

2010-08-11 Thread kbingman
You need to set the path in you Radiant::Config. I use the Settings extension to make it easier. Here is mine: :class/:id/:basename:no_original_style.:extension Hope that helps keith On Aug 9, 7:18 pm, cmyk philipp.rin...@gmail.com wrote: I've got an issue with the paperclipped extension and

[Radiant] Search on http://ext.radiantcms.org/

2010-08-11 Thread Christian Aust
Hi all, is there a way to serach for all extensions marked as 0.9-compatible on http://ext.radiantcms.org/? Regards, Christian

Re: [Radiant] Upgrading from 0.6.9

2010-08-11 Thread Jim Gay
On Wed, Aug 11, 2010 at 7:07 AM, Robert Wenc robertw...@gmail.com wrote: I'm trying to upgrade a old site form Radiant 0.6.9 to 0.9.1. I've installed the new gem, and run the rake update task in the project. I had some errors with extensions, but managed to get by that by disabling them.

Re: [Radiant] Search on http://ext.radiantcms.org/

2010-08-11 Thread john muhl
http://www.google.com/search?q=0.9+site:ext.radiantcms.org On Wed, Aug 11, 2010 at 7:44 AM, Christian Aust christian.a...@software-consultant.net wrote: Hi all, is there a way to serach for all extensions marked as 0.9-compatible on http://ext.radiantcms.org/? Regards, Christian

Re: [Radiant] Search on http://ext.radiantcms.org/

2010-08-11 Thread Christian Aust
Works, but feels somewhat clumsy. What about using thinking_sphinx for searching the extensions? I'd volunteer to create a patch. Am Mittwoch, den 11.08.2010 um 15:42 schrieb john muhl: http://www.google.com/search?q=0.9+site:ext.radiantcms.org On Wed, Aug 11, 2010 at 7:44 AM, Christian Aust

Re: [Radiant] New feature: manage CSS and Javascripts from the Admin UI

2010-08-11 Thread Marshal Linfoot
Great news Jim. Gonna try it out as soon as I get home. Thanks! On 8/11/10, Jim Gay j...@saturnflyer.com wrote: I've made some updates and I'm not able to recreate this problem. I've created a new instance from edge Used the #4 template (Styled Blog) Copied the Styles.css page content into

Re: [Radiant] forms extensions installed, but no Forms tab appears

2010-08-11 Thread Lindsay Morris
I used hostgator's cpanel web interface to install it. There is no vendor/extensions/forms directory. So I ran gem install radiant-forms-extension; it seemed to work: [lind...@gator634 ~/rails_apps/radiant]$ gem install radiant-forms-extension Successfully installed radiant-forms-extension-2.0.1

Re: [Radiant] forms extensions installed, but no Forms tab appears

2010-08-11 Thread Jim Gay
Please reread my previous reply. You've installed the gem and that's it. There is nothing telling your application to use it. On Wed, Aug 11, 2010 at 12:11 PM, Lindsay Morris lmorris...@gmail.comwrote: I used hostgator's cpanel web interface to install it. There is no vendor/extensions/forms

Re: [Radiant] forms extensions installed, but no Forms tab appears

2010-08-11 Thread banane
Does hostgator give you command-line, or shell, access to the server? For extensions to work (last time I looked) you need to run a command-line series of commands. One simple one is, in the rails-root directory, type script/extension install forms That will create the forms directory in the

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

2010-08-11 Thread Wes Gamble
No, it's not a general question. I'm using the SNS Sass filter extension, and I couldn't get my Sass file to see the mixin file. The change at http://github.com/spanner/radiant-sns-sass-filter-extension looks like it will help. I just haven't tested it yet. Wes On 8/11/10 12:25 PM, Jim

Re: [Radiant] Re: [Radiant-Dev] Assets SnS / TinyMCE error

2010-08-11 Thread Steven Southard
Is this caused by migrating paperclipped before settings? I read something about that but why does that cause a problem? Is there a good way to fix the issue if it really is an issue? Cheers, Steven On Aug 10, 2010, at 11:51 AM, Steven Southard wrote: I have the same thing now.

Re: [Radiant] Re: [Radiant-Dev] Assets SnS / TinyMCE error

2010-08-11 Thread Jim Gay
On Wed, Aug 11, 2010 at 2:43 PM, Steven Southard ste...@stevensouthard.comwrote: Is this caused by migrating paperclipped before settings? I read something about that but why does that cause a problem? Is there a good way to fix the issue if it really is an issue? Cheers, Steven On Aug

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

2010-08-11 Thread Wes Gamble
The spanner fork of radiant-sns-sass-filter-extension was helpful so that I could tell Radiant where to look for my _mixins.sass file. Also, I learned that you can't mix and match the SCSS/Sass syntax in one file of a certain type (SCSS or Sass). I was trying to use @mixin/@include in a

Re: [Radiant] forms extensions installed, but no Forms tab appears

2010-08-11 Thread Lindsay Morris
Jim, when I added config.gem .., the app wouldn't start; complained gem not installed. Which makes sense since there's no vendor/extensions/forms directory. Trying Anna's advice: script/extension install forms fails: git was compiled without libcurl support. I can't be root on this box. So I

Re: [Radiant] forms extensions installed, but no Forms tab appears

2010-08-11 Thread john muhl
On Wed, Aug 11, 2010 at 4:09 PM, Lindsay Morris lmorris...@gmail.com wrote: So I tried another installer:   git clone git://github.com/squaretalent/radiant-forms-extension vendor/extensions/forms That seemed happy, and I now have a vendor/extensions/forms directory.  Yay! Then: rake

Re: [Radiant] forms extensions installed, but no Forms tab appears

2010-08-11 Thread Jim Gay
On Wed, Aug 11, 2010 at 5:09 PM, Lindsay Morris lmorris...@gmail.comwrote: Jim, when I added config.gem .., the app wouldn't start; complained gem not installed. Which makes sense since there's no vendor/extensions/forms directory. You misunderstand. It would say gem not installed if the

Re: [Radiant] forms extensions installed, but no Forms tab appears

2010-08-11 Thread banane
Which version of radiant do you have installed? gem list (and you'll see radiant's version next to its name in parens). I'm suspecting it's 8, as that seems to be a 9 version diff. On Wed, Aug 11, 2010 at 2:52 PM, Lindsay Morris lmorris...@gmail.comwrote: Very helpful. Two different install

Re: [Radiant] Search on http://ext.radiantcms.org/

2010-08-11 Thread John W. Long
Is sphinx easy to install? We would probably need to get Andrew vonderLuft our sys admin to set it up. But yes, I'm potentially interested in a patch. http://github.com/radiant/radiant-extension-registry --John On Wed, Aug 11, 2010 at 10:17 AM, Christian Aust

Re: [Radiant] Re: Hot to resolve rack version conflict?

2010-08-11 Thread Jeff Casimir
I actually had to do a different step which makes more sense. I edited: /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/radiant-0.8.2/vendor/rails/actionpack/lib/action_controller.rb And changed the gem rack line to 1.1.0. Now I'm flying. Changing the gemspec should just change the