Re: [Radiant] Rails Conf

2007-05-18 Thread Michael Jones
Doh! i just realized I missed you all, i even suggested the doug fir in the first place. Any other Radiant meetups planned this weekend? Did you guys have a good time? Cheers- Michael On 5/16/07, Ryan Heneise <[EMAIL PROTECTED]> wrote: > I'd love to come if I can make it. My flight gets in a

[Radiant] MVC/Rails Presentation

2007-05-04 Thread Michael Jones
Sorry for the shameless self promotion but I think this may help some folks on the list... I've noticed alot of people on the list prefix their posts with "I'm very new at Rails", I just put together a presentation on MVC and Rails for a conference. Several folks came up afterwards and said that t

Re: [Radiant] .htaccess for pages?

2007-04-19 Thread Michael Jones
dispatch.fcgi [QSA,L] > > As soon as Apache has called dispatch.fcgi, it's Rails handling > everything, and nobody is checking your htaccess > > > > > On 4/11/07, Michael Jones <[EMAIL PROTECTED]> wrote: >> Hello- >> >> I'm having a pro

[Radiant] .htaccess for pages?

2007-04-11 Thread Michael Jones
Hello- I'm having a problem getting .htaccess to work on an area of my site. Is anyone else using a .htaccess file to protect certain directories on their radiant sites? I have a secondary level page called 'staff' http::/somesite.com/staff I created a directory 'public/staff' and placed a .h

Re: [Radiant] RailsConf MeetUp

2007-03-22 Thread Michael Jones
hing else. > > Sean > > On 3/22/07, Michael Jones <[EMAIL PROTECTED]> wrote: >> I guess what one considers 'walking distance' is relative. >> >> It's about 1/2 mile walk to DougFir from the convention center. >> Walking >> in Portland

Re: [Radiant] RailsConf MeetUp

2007-03-22 Thread Michael Jones
can vouch for the Doug Fir, the best of >> Portland hip. It's a fun place and not a long ways from the >> conference center, though a drive. That's my vote. We'll all have >> lots of quiet rooms later in the conference so I'm all forward a >> little comm

Re: [Radiant] RailsConf MeetUp

2007-03-21 Thread Michael Jones
; is the real question... On Mar 21, 2007, at 7:53 PM, Sean Cribbs wrote: Sounds good, Michael, as long as it can fit all of us! Can you provide an address? Sean Michael Jones wrote:I live in Portland and look forward to meeting folks. The Doug Fir is always a fun place to meet, it

Re: [Radiant] RailsConf MeetUp

2007-03-21 Thread Michael Jones
I live in Portland and look forward to meeting folks. The Doug Fir is always a fun place to meet, it's a bar on Burnside and close/easy to find. Would that work or are we looking for a quite place? On Mar 21, 2007, at 3:08 PM, Loren Johnson wrote: > It's my home town, though I haven't lived

Re: [Radiant] Can extensions...

2007-03-18 Thread Michael Jones
I'm still new at radiant but my guess is YES and I think this may work: In the migration file for your extension add code to create an entry in the pages table. Something like: Page.create(your params here) On 3/17/07, Karl Doody <[EMAIL PROTECTED]> wrote: > Hi all, > > I've been playing aroun

Re: [Radiant] Radiant: testdrive error

2007-02-19 Thread Michael Jones
This isn't a Radiant issue, you should poke around the textdrive knowledgebase, they have a few good pages that give setup directions. Your message "/home/manager/etc/rc.d/rails.sh: not found" Means that file doesn't exist. Also, *before* you jump to running a Radiant site I would suggest you cr

Re: [Radiant] Radiant & Pound - changes https to http?

2007-02-18 Thread Michael Jones
Radiant is Rails based here are a couple articles on SSL redirects and Rails... http://www.busyashell.com/blog/articles/2006/10/20/how-to-force-https-without-a-host-in-rails http://blog.innerewut.de/articles/2006/06/21/mongrel-and-rails-behind-apache-2-2-and-ssl On 2/18/07, Jason Frankovitz <[EM

Re: [Radiant] Weird Extension stuff on Deployment

2007-02-18 Thread Michael Jones
Thanks for the suggestions Jacob. The way I solved this was by editing my xxx_extension.rb file in the routes section: old: map.connect 'admin/tools/:action', :controller => 'admin/tools' new: map.connect 'admin/tools/:action', :controller => 'tools' Weird, works fine on my local box but in prod

[Radiant] Weird Extension stuff on Deployment

2007-02-16 Thread Michael Jones
I developed a Radiant app with extensions, works great on my local box. I deployed to TextDrive and now I'm having an issue. * Login fine * admin/pages shows fine * First time hitting my extensions link the page renders fine * Second time hitting my extensions like BAM! Application error This is

Re: [Radiant] Authentication for one Section of Site

2007-02-14 Thread Michael Jones
7;ll got with basic auth for now. Thanks- Michael On 2/14/07, John W. Long <[EMAIL PROTECTED]> wrote: > Michael Jones wrote: > > I do like the idea of it all being in Ruby so you can just drop the > > app on a server and go. > > > > I think I could write an Extensi

Re: [Radiant] Authentication for one Section of Site

2007-02-14 Thread Michael Jones
'd love to hear them. -Michael On 2/14/07, Sean Cribbs <[EMAIL PROTECTED]> wrote: > If your needs are small, you could set up your webserver to demand > HTTP authentication on those paths. > > Sean > > On 2/13/07, Michael Jones <[EMAIL PROTECTED]> wrote: >

[Radiant] Authentication for one Section of Site

2007-02-13 Thread Michael Jones
I've got a set of pages that I want to require authentication on. Any suggestions on how to handle authentication on those pages? Thanks- Michael ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/se

Re: [Radiant] Can you use controllers/views within a tag

2007-02-12 Thread Michael Jones
Jason, did you ever get this to work? On 2/6/07, Daniel Sheppard <[EMAIL PROTECTED]> wrote: > Oh, you need to explicitely require 'application' to load the > application controller - The application controller is not loaded until > after the extensions, which means that any reference to a contr

[Radiant] Admin Globa/Main CSS missing?

2007-02-12 Thread Michael Jones
This is probably due to the mucking around that I've done but I noticed: The admin is looking for /stylesheets/admin/main.css But the only stylesheet I have in there is 'global.css' I fixed it by: cp global.css main.css Was this my mucking that broke it? _

[Radiant] New Radiant Based Site Launched

2007-02-11 Thread Michael Jones
Hello- I just wanted to say thanks for all the help folks have provided as I cut my teeth on Radiant. I just blogged about my experience with Radiant (which was great) and mentioned a few of the things I learned along the way. (Mailer/AssetManager/Etc) http://blog.codeinmotion.com/index.php/2007/

[Radiant] .png images in AssetManager

2007-02-09 Thread Michael Jones
I was just demoing the a new site I did to my client. When showing the AssetManager he was unable to see the 'New Asset' or the 'Remove Asset' buttons, turns out he was using IE (I don't know the version) but was unable to see the .png images. I see someone mentioned this a while ago: "> 2) the

Re: [Radiant] Building dynamic navs

2007-02-08 Thread Michael Jones
I wrote my own tag (wrapped in an extension) to do this Marty. I'll paste the code snips in here they may be able to help you out, if you want more I could post a zip file somewhere. # Dynamically generates collection of links. # Very similar to 'navigation' w/some differences. # Pulls

[Radiant] Precondition Failed

2007-02-06 Thread Michael Jones
I see this has been posted about before: http://lists.radiantcms.org/pipermail/radiant/2006-August/001283.html But I wanted to give this url on Textdrive: http://help.textdrive.com/index.php?pg=kb.page&id=85 And show how a seemingly simple line will trigger it: body { background: url("../image

[Radiant] AssetManager Controlling Where Files are Saved

2007-02-05 Thread Michael Jones
I wanted to put this out there to possibly help someone and also to get any feedback if this is the wrong way to do it... By default the AssetManager saves uploaded files in public/assets/ID/ I wanted files to be saves in the public/images directory. To do that edit asset.rb the acts_as_attachme

Re: [Radiant] Can you use controllers/views within a tag

2007-02-04 Thread Michael Jones
> Displays the list of mytag available. } > tag "mytag" do |tag| > render(:controller => MyController, :action => MyAction) > end I wish it was this easy. I look forward to the discussion of how best to do this sort of thing... ___ Radiant mai

[Radiant] Mental Changelists RSS Feed

2007-01-25 Thread Michael Jones
I don't know if you all read errtheblog, but they just released: http://subtlety.errtheblog.com/ Which provides rss feeds of public svn repositories. I just created a feed for the mental branch since it has alot of things happening. You can get the feed here: http://subtlety.errtheblog.com/O_o/8

[Radiant] Best Practices for multiple Layouts that have slight variations

2007-01-22 Thread Michael Jones
Hello- I was wondering if there were some tips on the 'best' way to approach this problem. I have a site each of the 5 top level pages have the same format but a different: * top image * color scheme * tag line I was thinking I would: * create Snippets for the common elements * create Layouts fo

Re: [Radiant] mental extension development help

2007-01-20 Thread Michael Jones
When I created an extension I followed this blog post: http://radiantcms.org/blog/2006/11/24/how-to-write-time-sensitive-or-expiring-content/ and it worked for me. On 1/20/07, BJ Clark <[EMAIL PROTECTED]> wrote: > Sorry, accidentally hit send (I've gone brain dead looking for stuff > on extensio

Re: [Radiant] Asset Manager Extension Issues

2007-01-19 Thread Michael Jones
weenie/acts_as_attachment/instance_methods' > > Note: I also integrated lightbox, so if you want a zip of my whole > extensions dir I can email it to you... > > HTH, > Adam > > On 20/01/2007, at 3:32 AM, Michael Jones wrote: > > > Yes, I have the table: > >

Re: [Radiant] Asset Manager not working

2007-01-19 Thread Michael Jones
I'm in the also having issues with the Asset Manager, it's driving me crazy but I just got a few tips on things to try. I think you do need to have rmagic, the acts_as_attachment pluging init.rb file states: begin require 'RMagick' rescue LoadError # boo hoo no rmagick end Also check out the

Re: [Radiant] Mental?

2007-01-19 Thread Michael Jones
There has been alot of email about this, I'd suggest starting by digging through the archives a bit, I do remember a recent thread about how to migrate from trunk to mental and migration scripts. In short the big difference is Extensions. BTW: I bet alot of other people are gonna have the same qu

Re: [Radiant] Asset Manager Extension Issues

2007-01-19 Thread Michael Jones
you have an assets table in the db? Did you run 'rake > db:migrate:extensions'? > > Todd > > Quoting Michael Jones <[EMAIL PROTECTED]>: > > > Hello- > > > > I'm hoping someone can point out what I'm doing wrong with the Asset > &g

[Radiant] Asset Manager Extension Issues

2007-01-18 Thread Michael Jones
Hello- I'm hoping someone can point out what I'm doing wrong with the Asset Manager... I installed Radiant on Dreamhost and all went well. I installed the acts_as_attchment plugin and it still looked good. I checked the gems and rmagick (1.10.1) is installed. When I click on the 'Images' tab f

Re: [Radiant] [ANN] Mailer extension

2007-01-18 Thread Michael Jones
I checked out the mailer code and it worked great for me. The part that tripped me up was editing the environment.rb file as mentioned here: http://wiki.rubyonrails.org/rails/pages/HowToSendEmailsWithActionMailer On 1/16/07, Sean Cribbs <[EMAIL PROTECTED]> wrote: > I've teased you long enough!

[Radiant] Asset Manager Extension HowTo?

2007-01-18 Thread Michael Jones
Hello- I'm trying to get the Asset Manager up and running but the README is incredibly thin: $ cat README AssetsExtension === Description goes here I found 2 good threads but couldn't track down instructions. http://lists.radiantcms.org/pipermail/radiant/2006-December/002722.html h

Re: [Radiant] Custom Tags and Code reuse

2007-01-17 Thread Michael Jones
I added a wiki HowTo that contains some of the great information I got on this thread about the 'Navigation Tag'. Thanks again for you great indepth explanations Sean. And for a great CMS John. http://dev.radiantcms.org/radiant/wiki/HowToUnderstandNavigationTagCode Cheers- Michael __

Re: [Radiant] Custom Tags and Code reuse

2007-01-16 Thread Michael Jones
> Let me know if I can clear anything else up. Whew! I'm finally rolling along on Radiant. Got the dynamic generation of secondary nav menus worked out and now I'm easily adding my own custom tags. Thank you *very much* Sean for such detailed information. I'll get some wiki info up on this. The

Re: [Radiant] Custom Tags and Code reuse

2007-01-16 Thread Michael Jones
> Hmmm this smells like and looks like a great candidate for the > Wiki...or is it just me? Yeah I agree, Sean has written up some pretty good stuff. I'll be happy to wikify some notes on this once I figure it out. Are wiki accounts open to anyone or do I need to get some account info in order to

Re: [Radiant] Custom Tags and Code reuse

2007-01-16 Thread Michael Jones
> The tags that are rendered in the 'tag.expand' call set values in the hash. > Look at their definitions and you'll see it. I must be missing it, I don't see an expand method anywhere other than here: http://radius.rubyforge.org/classes/Radius/TagBinding.html#M11 And with that I don't see ho

Re: [Radiant] Custom Tags and Code reuse

2007-01-16 Thread Michael Jones
Thanks for you help on this, i'm still struggling > The first line does two things: Assigns a blank Hash to > tag.locals.navigation and also assigns 'tag.locals.navigation' to the local > variable 'hash'. If we assign a blank hash to navigation and assign that to a variable called 'hash' how

Re: [Radiant] Custom Tags and Code reuse

2007-01-16 Thread Michael Jones
> I believe you can just set tag.locals.whatever inside the do...end block. I tried to set my locals to be the locals of the navigation tag like this: tag 'navigation_dynamic' do |tag| tag.render('navigation', {'urls' => 'Resources: /resources/;Search: /resources/resources-search/;'}) do

Re: [Radiant] Custom Tags and Code reuse

2007-01-16 Thread Michael Jones
> To call out to another tag you can call render on a tag binding: > >tag 'child_urls' do |tag| > tag.render('children:each', 'limit' => '5') do >tag.render('url') > end >end Thanks that really helped, one other question: How do I pass locals into a tag I'm rendering fro

Re: [Radiant] Forms + Captcha + Upload Files + Embedding RoR

2007-01-16 Thread Michael Jones
Hey Colin- I'm pretty new to Radiant but YES Radiant can do the things you described, however you will have to do a little digging around on the web and mailing lists. See my comments > 1. Contact Us > 2. Submit Your Resume There is a "mailer behaviour" that folks are using for emailing, I

Re: [Radiant] RAILS_DEFAULT_LOGGER on Mental

2007-01-16 Thread Michael Jones
> the error. But please let me know either case so I can fix the fault. The fault was all mine I'm running #233 just fine. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lis

[Radiant] Custom Tags and Code reuse

2007-01-15 Thread Michael Jones
In the standard tags module there is alot of useful code however it's not encapsulated in classes so I can't really build my custom tags upon the existing tags. I would really like access to "children:each" and just pass it an options hash or something. Am I missing some code somewhere? Is there s

Re: [Radiant] RAILS_DEFAULT_LOGGER on Mental

2007-01-15 Thread Michael Jones
> To be on the save side check out revision #227. Please let me know if > this does or doesn't fix the error you got... I ran: "rake rails:freeze:edge REVISION=227" sucessfully. And now get: ruby script/server /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__': no such

[Radiant] RAILS_DEFAULT_LOGGER on Mental

2007-01-15 Thread Michael Jones
Hi- I just updated my mental branch, when I tried to start the server I got: => Booting WEBrick... ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:264:in `load_missing_constant': uninitialized constant ActiveSupport::Deprecation::RAILS_DEFAULT_LOGGER (NameError)

Re: [Radiant] POLL: Upgrading Unpacked Radiant Applications

2007-01-15 Thread Michael Jones
> 1. Did you install Radiant from source or use the gem? Source ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] 503 on Radiant site

2007-01-12 Thread Michael Jones
lso hosted on TextDrive and had issues. I think someone broke their > Apache config file. John, is radiantcms.org on "alberni" too? > > Sean > > Nathaniel Talbott wrote: > On 1/12/07, Michael Jones <[EMAIL PROTECTED]> wrote: > > > > Where did th

[Radiant] 503 on Radiant site

2007-01-12 Thread Michael Jones
Where did the site go? I'm getting a 503: http://radiantcms.org/ http://dev.radiantcms.org/ Service Temporarily Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. _

Re: [Radiant] Translating Radiant: Looking for an Update

2007-01-11 Thread Michael Jones
> The localisation I have added is using Ruby-GetText > (http://www.yotabanana.com/hiki/ruby-gettext-howto-rails.html) as an > approach, and it seems to work nicely. One of the real goodies about > this is the availability of tools to aid the translation. I choose it > due to the simplicity and the

Re: [Radiant] Mental Behaviors

2006-12-30 Thread Michael Jones
Hey John- I think I heard mid January as the release date for Mental. Is that still accurate? Thanks- Michae ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms

[Radiant] Translating Radiant: Looking for an Update

2006-12-04 Thread Michael Jones
Checking the archives I see that Frederic Brunel asked about using Globalize in Radiant. http://lists.radiantcms.org/pipermail/radiant/2006-July/000908.html Did you make it anywhere with Globalize Frederic? Has anyone else used Globalize with Radiant? How was translation handled on the http://ww

Re: [Radiant] Any step by step configuration for Mailer Behaviour

2006-12-04 Thread Michael Jones
> I second that. I think my deal is that I'm not sure what exactly the > 'config' part is? A new part within a page? A certain kind of file? Not > sure. I'm new to this CMS as well so I can't help you guys with the mailer but I've been doing Rails work for a while and wanted to mention one of the

Re: [Radiant] Why is my radiant site running so slow?

2006-11-28 Thread Michael Jones
> It looks pretty responsive to me. Any DB-driven app will have a > similar lag. The fact that you're using a shared server only makes > matters worse, specially at peak times. Yeah, the response time looks fine now. I have a textdrive account to and sometimes its ridiculously s l o w. __

Re: [Radiant] Setting up Radiant on Textdrive

2006-11-21 Thread Michael Jones
> Does anyone have a copy of jake's(fourhats.com) article on setting up > radiant on textdrive? He seems to have removed it and I could really > use those instructions. Thanks I setup radiant on TD. It was just a standard rails deployment, TD has some pretty good rails config information here: htt

Re: [Radiant] Radiant on eApps

2006-11-19 Thread Michael Jones
> Maybe you should delete the site and > start over - or delete everything under html and run 'rails newapp'? Brian I think this suggestion Todd has is the best. "delete everything" and then create a new rails app right there on your host. Once you can get that working then you can move your code

Re: [Radiant] Radiant on eApps

2006-11-17 Thread Michael Jones
I'm not sure why you have a RAILS_ROOT/app/config directory? You want to edit RAILS_ROOT/config/routes.rb Here is more info on routes: http://manuals.rubyonrails.com/read/chapter/65#page164 On 11/17/06, Brian Sam-Bodden <[EMAIL PROTECTED]> wrote: > > Hi, >Has anybody succesfully configure

Re: [Radiant] Mental Branch "Extensions" Notes

2006-11-17 Thread Michael Jones
> And I get a page rendered however no content is showing on it. Sweet, I have content. Oh man this new extension stuff is going to ROCK! Thanks- Michael ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing

Re: [Radiant] Mental Branch "Extensions" Notes

2006-11-17 Thread Michael Jones
> Is your controller called AssetController? No that was just the default route that was generated: map.connect 'admin/album/:action', :controller => 'admin/asset' Sorry, I was assuming it generated that route for a reason. I changed it to: map.connect 'admin/album/:action', :controller => 'albu

Re: [Radiant] Mental Branch "Extensions" Notes

2006-11-17 Thread Michael Jones
> Also, the more people that can jump on board and start using the code in > the mental branch the better. This is a major upgrade and your comments > and feedback are vital. I want to jump on this but I'm unable to get my extensions to work. I'm a radiant noob but have been doing rails for a whil

Re: [Radiant] Mental Branch "Extensions" Notes

2006-11-15 Thread Michael Jones
Hey Loren- Thanks for this info, I was wondering if you could give more blow-by-blow on how you did it? Or even put up a wiki page? This is all I found: http://dev.radiantcms.org/radiant/wiki/RPS2 and would love to have more to go on. Thanks- Michael On 11/13/06, Loren Johnson <[EMAIL PROTEC

[Radiant] Radiant gets some /. treatment

2006-11-08 Thread Michael Jones
Hello- I just noticed that the ruby-lang site (powered by Radiant) got on /. which we all know creates *lots of requests*. See: http://en.wikipedia.org/wiki/Slashdot_effect I checked in on the ruby-lang site and it seems to be serving pages up quite nicely. Seeing how well it is handling the inc