Re: [Radiant] paperclipped & DRY

2010-10-25 Thread Jim Gay
This goes against the design of Radius. You might be able to write a new assets tag and parse the contents of the attributes first before rendering the tag. Or write an assets tag that checks to see if a local variable exists and use that if there is no id given. On Mon, Oct 25, 2010 at 4:04 PM

Re: [Radiant] Need help with Compass configuration for Radiant

2010-10-25 Thread Wes Gamble
Changed my RADIANT_ROOT/config/compass.rb file to compass_config.rb and got the same behavior. No compass mixins loaded. You did mean the config. file and not the initializer file, right? Wes On 10/25/10 2:59 PM, Jim Gay wrote: Wes is using SNS, not Sheets (which is better and in Radiant ed

Re: [Radiant] Need help with Compass configuration for Radiant

2010-10-25 Thread Jim Gay
Wes is using SNS, not Sheets (which is better and in Radiant edge) Wes, change the name of your config file. I believe it will create problems with compass. It doesn't really matter what you name the file, except 'compass.rb' apparently. On Mon, Oct 25, 2010 at 3:00 PM, William Ross wrote: > You

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

2010-10-25 Thread Wes Gamble
(This is an updated version of a previous post. Update to point #3. Point #8 has been removed. I'll be adding a Wiki article on this as well.) 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

Re: [Radiant] Need help with Compass configuration for Radiant

2010-10-25 Thread Wes Gamble
I'm not on edge. Still doesn't work for me. I was already putting @import compass/css3/border-radius at the top of my sheet. Taking away the "border-radius" doesn't change the outcome, as you would expect. I am still not successfully pulling in the compass mixins at all. Does anyone know

Re: [Radiant] paperclipped & DRY

2010-10-25 Thread Horst Rischbode
Hi, Backdoor doesn't seem to be the solution :-( I want the id of the following statement to be variable: So I have to use something like that: It seems, that first the radius tags are evaluated. Than, I have the same problem like before: nested tags, which are not allowed (and possible).

Re: [Radiant] Need help with Compass configuration for Radiant

2010-10-25 Thread William Ross
You shouldn't need any special measures. Have you tried just putting @import compass/css3 At the top of one of your sheets? On edge that should just work. Best, Will Please excuse speling. Fat thumbs. On 25 Oct 2010, at 18:51, Wes Gamble wrote: > Radiant 0.9.1 (vendor'ed) > SNS extensi

[Radiant] Need help with Compass configuration for Radiant

2010-10-25 Thread Wes Gamble
Radiant 0.9.1 (vendor'ed) SNS extension I'd like to take advantage of various Compass Sass features within my Radiant layouts (e.g. border-radius, etc.). Compass initialization file: I pulled down the radiant/config/initializers/compass.rb file from Github and placed it into vendor/radiant/

Re: [Radiant] Make extension objects reload between requests

2010-10-25 Thread Jeff Casimir
I'm a novice at extension authoring, but in my experience the code gets reloaded every second refresh. No explanation why that'd be (Chrome + 0.9.1 + Mongrel), but it works for me. - Jeff On Mon, Oct 25, 2010 at 10:03 AM, Josh French wrote: > On Oct 24, 2010, at 5:24 PM, Wes Gamble wrote: > >

Re: [Radiant] Make extension objects reload between requests

2010-10-25 Thread Josh French
On Oct 24, 2010, at 5:24 PM, Wes Gamble wrote: > Are Radiant custom extension controllers, models, etc. supposed to reload > between each request like regular Rails objects in development mode or not? Rails sees Radiant extensions as plugins, not engines or native application entities. They won

[Radiant] Backdoor and a problem in

2010-10-25 Thread amr
I'm trying to get a a Link of some pages by url Well, I'm using BackDoor Ext. to get the slug from other page i save in. @slug = "/shows/" + ""; "" it returns the the link of the same page. while if I put @slug to check @slug value at each loop it different from each other, lik