Re: [Radiant] More 'Rails app to Radiant extension' questions

2010-01-12 Thread Asfand Yar Qazi
2010/1/11 banane ban...@gmail.com: Put the routes.rb stuff in [yourapplication]_extension.rb You can extend ActiveRecord, just like in Rails. Rails is embedded in Radiant, so it works pretty much the same. Put the testing stuff in /rspec, test as usual. And what about selenium on rails tests?

Re: [Radiant] More 'Rails app to Radiant extension' questions

2010-01-12 Thread Asfand Yar Qazi
2010/1/12 john muhl johnm...@gmail.com: if your rails app has vendor/plugins/xyz then your extension would have vendor/plugins/xyz. for example: /rails_app/vendor/plugins/xyz /radiant_app/vendor/extensions/your_extension/vendor/plugins/xyz Oh, that's beautiful. Thanks. 2010/1/12 Sean

Re: [Radiant] Rails app to Radiant extension: problem - app already has User model

2010-01-11 Thread Asfand Yar Qazi
I will probably have to do something similar to that. On the other hand, I might just namespace all my classes that conflict. But looks like renaming is the way to go. Now just to break the news to the client... 2010/1/11 Arthur Gunn art...@gunn.co.nz: Project-wide find and replace?     User

[Radiant] More 'Rails app to Radiant extension' questions

2010-01-11 Thread Asfand Yar Qazi
Hi, More questions to converting a Rails app to a Radiant extension. Currently, in Rails 2.3.5, it is almost possible to mount a Rails app as a plugin and have all the routes, helpers, etc. just work. If I am going to convert my Rails app to a Radiant extension, I need to have the following

[Radiant] Rails app to Radiant extension: problem - app already has User model

2010-01-10 Thread Asfand Yar Qazi
Hi, I want to move my Rails app to a radiant extension, as it makes it so much simpler to share layouts and things with my existing controllers. However, there is a problem: the Rails app already has an Authlogic based User model. It would conflict with Radiant's one. Can anyone tell me a

Re: [Radiant] Rails app to Radiant extension: problem - app already has User model

2010-01-10 Thread Asfand Yar Qazi
2010/1/10 Arthur Gunn art...@gunn.co.nz: Renaming your app's user model would seem like a very clean and easy way of doing things. I don't see any way of doing things without renaming your app's user model. The only alternative would be to drop it and patch radiant's user model with your

Re: [Radiant] Sharing radiant layouts with another Rails _application_ (not controller)

2010-01-06 Thread Asfand Yar Qazi
On Tue, Jan 5, 2010 at 12:45 PM, Asfand Yar Qazi ayq...@gmail.com wrote: Hi, I know I can use a plugin to let a controller independant of Radiant to use Radiant's layout. But what if I have 2 applications - one with custom functionality, one as the Radiant CMS - serving the same 'site

[Radiant] Sharing radiant layouts with another Rails _application_ (not controller)

2010-01-05 Thread Asfand Yar Qazi
Hi, I know I can use a plugin to let a controller independant of Radiant to use Radiant's layout. But what if I have 2 applications - one with custom functionality, one as the Radiant CMS - serving the same 'site' on different paths, how I can I share as much of the layout as possible without

Re: [Radiant] Develop new project in Radiant 0.8.1, or 0.9?

2009-12-01 Thread Asfand Yar Qazi
2009/11/30 Mamed Mamedov mamed.mame...@gmail.com: snip It is only my opinion, thank you for reading it till the end ;) no problem - I'm already starting to develop in 0.8.1, it's just that the 0.9 UI is soo much prettier, and I'm a sucker for aesthetics ;)

[Radiant] WYSIWYG editors problem

2009-11-30 Thread Asfand Yar Qazi
window scrolls right to the top of the page. Has anyone experienced any issues with either of these? Thanks Asfand Yar Qazi ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http

Re: [Radiant] Radiant capabilities

2009-11-23 Thread Asfand Yar Qazi
2009/11/22 Anton Aylward anton.aylw...@rogers.com: Asfand Yar Qazi said the following on 11/22/2009 10:10 AM: 2009/11/21 Anton Aylward anton.aylw...@rogers.com: I'm a strong believer in simplification, and one of the axioms is Each Thing Does One Thing and Only One Thing.  Overloading

Re: [Radiant] Radiant capabilities

2009-11-23 Thread Asfand Yar Qazi
2009/11/23 Anton Aylward anton.aylw...@rogers.com: And I don't know where you get off slagging the excellent work by the various contributors to Radiant by implying its not as capable of being a forum engine as a blogging engine. And yes, there are plugins to handle video too. Sorry about

Re: [Radiant] Radiant capabilities

2009-11-23 Thread Asfand Yar Qazi
2009/11/23 Anton Aylward anton.aylw...@rogers.com: Its not about maturity.  Its about what people have chosen to develop. One reason for Radiant was that it simply headed in a different driection from Joomla ... or Silverlight. But RoR and Radius makes Radiant very easy to alter. I agree.

[Radiant] Develop new project in Radiant 0.8.1, or 0.9?

2009-11-23 Thread Asfand Yar Qazi
Hi, Should any new projects be developed in Radiant 0.8.1 , considering all extensions are written for it? Or can I assume they will be updated fairly quickly to 0.9, and start developing for the 0.9 release? If I were to develop any projects in 0.8, how difficult would it be to port them to

Re: [Radiant] Radiant capabilities

2009-11-22 Thread Asfand Yar Qazi
: For comments have you looked at disqus? You can eve use facebook signon. Thanks I will consider that. 2009/11/21 Anton Aylward anton.aylw...@rogers.com: Asfand Yar Qazi said the following on 11/21/2009 12:05 PM: I'd like to know if Radiant or one of its extensions offers some capabilities I'm looking

[Radiant] Radiant capabilities

2009-11-21 Thread Asfand Yar Qazi
support these features, or is some hard development work required? Thanks, regards, Asfand Yar Qazi ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman

Re: [Radiant] Disqus (was Re: Radiant capabilities)

2009-11-21 Thread Asfand Yar Qazi
2009/11/21 Sean Cribbs seancri...@gmail.com: One thing I've been meaning to mention, since it came up with my blog and with one of Marty Haught's sites with respect to Disqus: Make sure you manually set the page URL or other identifier, since their software seems to be sensitive to the