Re: [Radiant] radiant extension and rails method

2007-11-16 Thread Marc des Garets
Thank you for your answer. Here is what I've done. I installed the plugin radiant-rails-support that you can find here: http://code.google.com/p/radiant-rails-support/ Now I've access to rails method doing this in my app/models/solr_tags.rb (class SolrClass SiteController): module SolrTags

Re: [Radiant] radiant extension and rails method

2007-11-16 Thread Aitor Garay-Romero
When you do s = SolrClass.new you are creating a new controller instance that has nothing to do with the current request. So seems that the session in session[:flare_context] is nil. This is totally normal. The class SolrClass SiteController doesn't do what you expect. Search this list

[Radiant] Big problem to install Radiant on Site 5

2007-11-16 Thread Rails Italia
Hi, I tried to install Radiant 0.6.4 on Site 5 Hosting. The procedure has gone well and all the installation has completed. When I try to run the site (www.subdomain.mydomain.com) it shows the follow message: Application error Rails application failed to start properly I didn't meet any

Re: [Radiant] Page admin interface bug

2007-11-16 Thread David Piehler
Sean Cribbs wrote: I'm actually debating releasing the reorder extension I developed for my current client. It doesn't have the sexy drag-and-drop, but it works well. Would there be interest in it? That would be great. To clarify, the 0.6.4 Admin bug related the Reorder extension does not

Re: [Radiant] Big problem to install Radiant on Site 5

2007-11-16 Thread Giovanni Intini
I wrote a series of tutorials for capistrano on site5, and I wrote some recipes for radiant too. You can find the tutorials here: http://tempe.st/2007/09/a-couple-of-capistrano-2-recipes-libraries/ http://tempe.st/2007/10/more-capistrano-2-goodies-a-radiant-recipe-library/ 2007/11/16, Rails

Re: [Radiant] radiant extension and rails method

2007-11-16 Thread Aitor Garay-Romero
I had to do this i would find a way to refer to the active controller, in this case SiteController, and execute my rails methods on that object. Or even do some ugly meta-programming stuff so in your tags self refers to that controller object. There must be an instance or class variable

[Radiant] [ANN] Validation Extension

2007-11-16 Thread Chris Parrish
Just got my Validator Extension polished enough to release: http://swankinnovations.svnrepository.com/svn/open/radiant/extensions/validator/tags/v0.1.0/ What It Does: It adds a button to your edit-page pages to allow the user to validate their markup via the W3C's (X)HTML Validator. A report

Re: [Radiant] shards and admin_tree_structure

2007-11-16 Thread Mathieu Arnold
+-Le 15/11/07 16:47 +0100, Hans-Christian Fjeldberg a dit : | Sorry... | | Even onMouseClickRow is called two times when pushing the plus (+) sign. Looks like shards:r604 fixed all the rendering problem I had. -- Mathieu Arnold ___ Radiant mailing

Re: [Radiant] Rail Support Extension Problem

2007-11-16 Thread Maged Makled
Maged Makled wrote: Sean Cribbs wrote: There is no radiant_render in the Radiant core. What are you trying to accomplish? Sean Sean, I'm using the Rails_Radiant_Support Extension at http://code.google.com/p/radiant-rails-support/ which allows you to create a normal rails

[Radiant] Sessions in Radiant Help

2007-11-16 Thread Maged Makled
Hey all, I know this discussion has taken place before but I still can't get my hands around it. I'm using radiant with the Rails_support extension which works great with radiant for the content. The problem is when I try to use the session inside that app in the extensions, The session

Re: [Radiant] Integrating radiant in existing rails application

2007-11-16 Thread Maged Makled
arpit jain wrote: I need to integrate radiant in our existing rails application. We have our own authentication system for our site. I have searched and found some solutions but not upto the mark. I have followed the link http://wiki.radiantcms.org/Installation but it only tells to

Re: [Radiant] Sessions in Radiant Help

2007-11-16 Thread Jeff Dean
I believe that this is because of a bug in rails, and not radiant. The SiteController has session :off, and adding session :on in your controllers doesn't seem to do anything. The only way I know to change this is to actually go into SiteController and comment out that line. I've seen

Re: [Radiant] Integrating radiant in existing rails application

2007-11-16 Thread Jeff Dean
Never tried it - but you could also have a look at http://wiki.pluginaweek.org/Mini_radiant On Nov 16, 2007, at 9:57 PM, Maged Makled wrote: arpit jain wrote: I need to integrate radiant in our existing rails application. We have our own authentication system for our site. I have searched

Re: [Radiant] Sessions in Radiant Help

2007-11-16 Thread Maged Makled
Jeff Dean wrote: I believe that this is because of a bug in rails, and not radiant. The SiteController has session :off, and adding session :on in your controllers doesn't seem to do anything. The only way I know to change this is to actually go into SiteController and comment out that

Re: [Radiant] Sessions in Radiant Help

2007-11-16 Thread Jeff Dean
Here's what I did: gem install --include-dependencies radiant radiant myapp cd myapp [change database.yml] rake db:bootstrap rake radiant:freeze:edge rake radiant:update rake db:migrate [create extension...] Now you'll have a full copy of radiant's source code in your vendor/ radiant directory.

Re: [Radiant] Sessions in Radiant Help

2007-11-16 Thread Maged Makled
Jeff Dean wrote: Here's what I did: gem install --include-dependencies radiant radiant myapp cd myapp [change database.yml] rake db:bootstrap rake radiant:freeze:edge rake radiant:update rake db:migrate [create extension...] Now you'll have a full copy of radiant's source code in

Re: [Radiant] Sessions in Radiant Help

2007-11-16 Thread Jeff Dean
I haven't dealt with that before, but if I were to do it, I would: Determine what I meant by expired (let's say 3 days for example) Write a rake task that deletes the session Write a cron script to run it nightly after the database backup My rake task would probably look like: namespace :db