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 at 6pm, so I
> might swing by a little late.
>
> Hope to see you all there!
>
> - Ryan Heneise
> www.artofmission.com
>
>
> On May 16, 2007, at 11:05 AM, John W. Long wrote:
>
> > Well, I'm about to leave for the airport for Rails Conf. I would be
> > delighted to meetup with any of you, so feel free to drop me an e-mail
> > or call me (http://wiseheartdesign.com/contact/).
> >
> > We are planning to do a general meetup at the Doug Fir on Thursday at
> > 7:00pm. So be sure to meet us there.
> >
> > --
> > John Long
> > http://wiseheartdesign.com
> >
> > ___
> > Radiant mailing list
> > Post:   Radiant@lists.radiantcms.org
> > Search: http://radiantcms.org/mailing-list/search/
> > Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
> >
>
> 
> Ryan Heneise
> Art of Mission, Inc.
> 3720 Gattis School Rd #800 PMB 245
> Round Rock, TX 78664
>
> 800-722-1492 (phone)
>
> www.artofmission.com
> [EMAIL PROTECTED]
>
>
>
> ___
> Radiant mailing list
> Post:   Radiant@lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[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
the presentation really clarified Rails and they think they "got it".

If you're coming from a PHP background or a Model 1 approach then the
whole MVC thing can be confusing, this presentation attempts to
explain MVC first then show how Rails is MVC. (I also promoted Radiant
as an awesome CMS)

Anyway here's a link to the presentation, I hope it helps someone "get it":
http://blog.codeinmotion.com/index.php/2007/05/04/webvisions-2007/

See some of you soon @ RailsConf!
http://railsconf2007.conferencemeetup.com/gatherings/show/6

Voting for the DougFir-
MJ
___
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] .htaccess for pages?

2007-04-19 Thread Michael Jones
Thanks for the reply Jacob, this did work however when it authorizes 
you it just renders a blank page and does not hand off control to 
Radiant.

Since I was in a pinch I did some hacking and got it to work, but if 
anyone finds a clean way to require authorization for a collection of 
pages and still use Radiant please post it to the list, I think that 
would be helpful.

Thanks-
MJ


On Apr 11, 2007, at 2:06 PM, Jacob Burkhart wrote:

> You might try putting your directive directly in the root .htaccess
> file and then scope it down to /staff
>
> example, put something like:
>
> 
> AuthType Basic
> AuthName "Password Required"
> AuthUserFile /somewhere/staff.htpasswd
> Require valid-user
> 
>
> somewhere BEFORE the call to:
>
> RewriteRule ^(.*)$ 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 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 .htaccess file in
>> there.
>>
>> The .htaccess file is not working. Is it possible to do this? Are 
>> there
>> some other things I need to change?
>>
>> Thanks-
>> Michael
>>
>> ___
>> Radiant mailing list
>> Post:   Radiant@lists.radiantcms.org
>> Search: http://radiantcms.org/mailing-list/search/
>> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>>
> ___
> Radiant mailing list
> Post:   Radiant@lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>

___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[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 .htaccess file in 
there.

The .htaccess file is not working. Is it possible to do this? Are there 
some other things I need to change?

Thanks-
Michael

___
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] RailsConf MeetUp

2007-03-22 Thread Michael Jones
Looks like we have wireless:

http://www.wifipdx.com/spots/Doug_Fir_RestaurantBar


On Mar 22, 2007, at 12:49 PM, Sean Cribbs wrote:

> I'm voting for Doug Fir (looks nice), although I hear John's plea
> about Wifi... do they have it?  If not, we should probably do
> something 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 is quite nice (when it's not raining).
>> http://www.gmap-pedometer.com/?r=792303
>>
>> John, I haven't heard of the JCafe?
>>
>> My other 2 suggestions would be:
>>
>> 1. Rose and Raindrop (has wifi and is large)
>> http://www.roseandraindrop.com/
>>
>> 2. Produce Row (not sure about wifi but has a *great* beer selection)
>> http://www.producerowcafe.com/
>> http://www.google.com/maps?
>> f=q&hl=en&q=830%2Be%2Bburnside%2Bstreet,%2Bportland&ie=UTF8&z=15&om=1& 
>> iw
>> loc=A
>>
>> However both of these suggestions seem to be about the same distance  
>> as
>> the Doug Fir.
>>
>> I'll let you all decide.
>> -MJ
>>
>>
>>
>> On Mar 22, 2007, at 6:48 AM, [EMAIL PROTECTED] wrote:
>>
>>> If I can't get there quickly on a bus or other transit, I can't see
>>> going.
>>> I won't have a car. Besides, if there's going to be drinking (say
>>> what?)
>>> somewhere within walking/crawling distance would be excellent.
>>>
>>> Chris
>>>
>>>
>>> On Thu, 22 Mar 2007, Loren Johnson wrote:
>>>
>>>>
>>>> For what it's worth I 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 commotion to kick things off.
>>>>
>>>> Look forward to putting faces to names.
>>>>
>>>> Loren
>>>>
>>>>
>>>> On Mar 21, 2007, at 5:01 PM, Michael Jones wrote:
>>>>
>>>>> 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?
>>>>>
>>>>
>>>> ___
>>>> Radiant mailing list
>>>> Post:   Radiant@lists.radiantcms.org
>>>> Search: http://radiantcms.org/mailing-list/search/
>>>> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>>>>
>>> ___
>>> Radiant mailing list
>>> Post:   Radiant@lists.radiantcms.org
>>> Search: http://radiantcms.org/mailing-list/search/
>>> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>>>
>>
>> ___
>> Radiant mailing list
>> Post:   Radiant@lists.radiantcms.org
>> Search: http://radiantcms.org/mailing-list/search/
>> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>>
> ___
> Radiant mailing list
> Post:   Radiant@lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>

___
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] RailsConf MeetUp

2007-03-22 Thread Michael Jones
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 is quite nice (when it's not raining).
http://www.gmap-pedometer.com/?r=792303

John, I haven't heard of the JCafe?

My other 2 suggestions would be:

1. Rose and Raindrop (has wifi and is large)
http://www.roseandraindrop.com/

2. Produce Row (not sure about wifi but has a *great* beer selection)
http://www.producerowcafe.com/
http://www.google.com/maps? 
f=q&hl=en&q=830%2Be%2Bburnside%2Bstreet,%2Bportland&ie=UTF8&z=15&om=1&iw 
loc=A

However both of these suggestions seem to be about the same distance as  
the Doug Fir.

I'll let you all decide.
-MJ



On Mar 22, 2007, at 6:48 AM, [EMAIL PROTECTED] wrote:

> If I can't get there quickly on a bus or other transit, I can't see  
> going.
> I won't have a car. Besides, if there's going to be drinking (say  
> what?)
> somewhere within walking/crawling distance would be excellent.
>
> Chris
>
>
> On Thu, 22 Mar 2007, Loren Johnson wrote:
>
>>
>> For what it's worth I 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 commotion to kick things off.
>>
>> Look forward to putting faces to names.
>>
>> Loren
>>
>>
>> On Mar 21, 2007, at 5:01 PM, Michael Jones wrote:
>>
>>> 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?
>>>
>>
>> ___
>> Radiant mailing list
>> Post:   Radiant@lists.radiantcms.org
>> Search: http://radiantcms.org/mailing-list/search/
>> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>>
> ___
> Radiant mailing list
> Post:   Radiant@lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>

___
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] RailsConf MeetUp

2007-03-21 Thread Michael Jones

Address:
830 E Burnside St
Portland, OR 97214

Map:
http://www.google.com/maps? 
f=q&hl=en&q=830%2Be%2Bburnside%2Bstreet,%2Bportland&ie=UTF8&z=15&om=1&iw 
loc=A


Site:
http://www.dougfirlounge.com/location.html (darn it's image heavy)

I guess "all of us" 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'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 there for awhile... I could
identify a place if nobody else has a really good idea?


On Mar 21, 2007, at 3:13 PM, Sean Cribbs wrote:



I created the gathering.  I wish there were an easy way to RSVP for
them... until then we can get an informal count from the list.  I'm
also not familiar with Portland; any recommendations for where to
meet?

Sean

On 3/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


I saw there's a RadiantCMS user meetup set for 7PM on Thursday of
RailsConf 2007. I'd be very interested in meeting up with the rest
of you.

Any idea on how many might show?

Chris

___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant



___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant



___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant




___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant___
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] 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 there for awhile... I could
> identify a place if nobody else has a really good idea?
>
>
> On Mar 21, 2007, at 3:13 PM, Sean Cribbs wrote:
>
>> I created the gathering.  I wish there were an easy way to RSVP for
>> them... until then we can get an informal count from the list.  I'm
>> also not familiar with Portland; any recommendations for where to
>> meet?
>>
>> Sean
>>
>> On 3/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>>> I saw there's a RadiantCMS user meetup set for 7PM on Thursday of
>>> RailsConf 2007. I'd be very interested in meeting up with the rest
>>> of you.
>>>
>>> Any idea on how many might show?
>>>
>>> Chris
>>>
>>> ___
>>> Radiant mailing list
>>> Post:   Radiant@lists.radiantcms.org
>>> Search: http://radiantcms.org/mailing-list/search/
>>> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>>>
>> ___
>> Radiant mailing list
>> Post:   Radiant@lists.radiantcms.org
>> Search: http://radiantcms.org/mailing-list/search/
>> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
> ___
> Radiant mailing list
> Post:   Radiant@lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>

___
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] 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 around with extensions lately and I've got a couple
> of questions, if anyone can enlighten me:
>
> # Can extensions add actual pages to the site on activation? e.g. As
> in, with slugs / URLs and everything, as if they'd been input through
> the Admin interface (not as in sub-classing Page etc.).
>
> # If not, can extensions add default content (HTML/tags) for a page
> type? e.g. if I create a page called "widgets" and set it to my
> custom page type of "WidgetListingPage", can it then be autofilled
> with some appropriate HTML/tag content?
>
> Kind regards,
> -Karl
> ___
> Radiant mailing list
> Post:   Radiant@lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
___
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] 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
create a simple rails app to run first, that way you can be sure you
have Rails running properly and that your issues are truely related to
Radiant.

Good luck-
Michael



On 2/19/07, keith <[EMAIL PROTECTED]> wrote:
>
>
> All,
>
> Hope you can help.
>
> I'm working my way through jake's radiant to textdrive
> article. I have requested/recieved a lighttpd port.
>
> I have gone
> through the whole textdrive 'how to start a rails app' tutorial. I'm
> almost done - except I'm stuck on the last step. Starting up my radiant
> app. with the required rails.sh file. When I run the process I receive the
> following error:
>
>
>
> Output from /home/manager/etc/rc.d/rails.sh ..
> /home/manager/etc/rc.d/rails.sh: not found
>
>
> Here is the contents of the rails.sh file:
>
> #!/bin/sh
> ### Script for starting your Rails applications
>
> # Replace USERNAME with your TextDrive user name
> USER=manager
>
> # This is for your main domain. Replace APPNAME with the appropriate value
> RAILS_ENV=production /usr/local/bin/spawn-fcgi -f
> /users/home/$USER/web/public/dispatch.fcgi -s
> /users/home/$USER/var/run/radiant-0.socket
>
> # This is for your secondary domain(s). Uncomment it (remove the #) if
> # you have a secondary domain and replace YOUROTHERDOMAINNAME and
> # OTHER-APPNAME.
> #
> # RAILS_ENV=production /usr/local/bin/spawn-fcgi -f
> /users/home/$USER/domains/YOUROTHERDOMAINNAME.com/web/public/dispatch.fcgi
> -s  /users/home/$USER/var/run/OTHER-APPNAME-0.socket
>
> # For each additional domain and application, just copy and paste the above
> # and replace the appropriate values to create another configuration entry.
>
> Can anyone help?
>
> Keith
>
>
>
> ___
> Radiant mailing list
> Post:   Radiant@lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:
> http://lists.radiantcms.org/mailman/listinfo/radiant
>
___
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] 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 <[EMAIL PROTECTED]> wrote:
> I'm using pound as a reverse proxy for radiant, and although I use https
> to connect initially to radiant, after I log in to /admin, all URLs get
> changed to regular 'http'. Is there some way to force radiant to keep
> using https URLs?
___
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] 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 production mode on textdrive
I have to run it this way.

If someone has ideas of why this is the case I'd love to hear it.

Thanks-
Michael
On 2/16/07, Jacob Burkhart <[EMAIL PROTECTED]> wrote:
> First, make sure that your App is in production mode in environment.rb.
>
> If that doesn't solve everything, then you can force things to work with
> explicit "load" calls:
>
> i.e.
>
> load
> "#{RADIANT_ROOT}/vendor/extensions/page_attributes/app/models/page.rb"
>
>
> Try putting an explicit load call to your events controller at the end
> of your extension definition. (or at the end of some other controller in
> radiant core).
>
> Yes I know this is a hack, but it's quick and dirty...
>
>
> --
> Posted via http://www.ruby-forum.com/.
> ___
> Radiant mailing list
> Post:   Radiant@lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[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 the stack trace:

NameError (uninitialized constant Admin::EventsController):

/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:266:in
`load_missing_constant'

/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:452:in
`const_missing'

/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/inflector.rb:250:in
`constantize'

/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/core_ext/string/inflections.rb:148:in
`constantize'
/vendor/rails/actionpack/lib/action_controller/routing.rb:1284:in
`recognize'
/vendor/rails/railties/lib/dispatcher.rb:40:in `dispatch'
/vendor/rails/railties/lib/fcgi_handler.rb:168:in `process_request'
/vendor/rails/railties/lib/fcgi_handler.rb:143:in `process_each_request!'
/vendor/rails/railties/lib/fcgi_handler.rb:109:in `with_signal_handler'
/vendor/rails/railties/lib/fcgi_handler.rb:142:in `process_each_request!'
/usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:600:in `each_cgi'
/usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in `each_cgi'
/vendor/rails/railties/lib/fcgi_handler.rb:141:in `process_each_request!'
/vendor/rails/railties/lib/fcgi_handler.rb:55:in `process!'
/vendor/rails/railties/lib/fcgi_handler.rb:25:in `process!'

/users/home/michaelj/domains/dev.codeinmotion.com/web/current/public/dispatch.fcgi:24


So the first time it loads my extension fine but the second time it
can't find it?

I do have rails in vendor/rails.

Suggestions?

Thanks-
Michael
___
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] Authentication for one Section of Site

2007-02-14 Thread Michael Jones
Thanks for the note John, I see the sessions are turned off:

class SiteController < ApplicationController
  session :off
...
end

I guess having sessions off provides better performance?

I think sessions would be needed for doing any sort or
ecomm/loggedin/user type extensions.

Guess I'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 Extension to do this:
> >
> > * Extension action: process user/pass values, if valid sets session variable
> > * Extension action:  removes session variable
> > * Extension has tag mycontent
> > * Extension has tag go away
>
> The above would require that you maintain session state for each Web
> site visitor, something that Radiant wasn't designed to support out of
> the box. It is probably possible to write an extension that would work
> around this problem, but you may find it difficult.
>
> --
> John
>
> ___
> Radiant mailing list
> Post:   Radiant@lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
___
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] Authentication for one Section of Site

2007-02-14 Thread Michael Jones
Right, that propbably would be the easiest.

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 Extension to do this:

* Extension action: process user/pass values, if valid sets session variable
* Extension action:  removes session variable
* Extension has tag mycontent
* Extension has tag go away

I would prefer to make it redirect w/flash message if you weren't
authenticated. However I'm not quite sure how to do a rediect from a
class that extends Page?

Thanks for the response, and if there are any other ideas I'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:
> > 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/search/
> > Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
> >
> ___
> Radiant mailing list
> Post:   Radiant@lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[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/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


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 controller
> will be unable to load it's superclass (as the class is named
> ApplicationController, but it is loaded from an application.rb file - a
> default I've never understood about rails, but I'm guessing it served a
> historical purpose).
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of jsmorris
> > Sent: Tuesday, 6 February 2007 5:37 PM
> > To: radiant@lists.radiantcms.org
> > Subject: Re: [Radiant] Can you use controllers/views within a tag
> >
> > I tried to implement your suggestion here, but I was not successful.
> > I am not sure I follow what this code is doing...but I am still
> > learning ruby.
> >
> > I attached my attempt.  Maybe you or some else can see what is wrong.
> >
> > This was the error I was getting
> >
> > /Users/jsmorris/sprout/aztracc/config/../vendor/rails/activere
> > cord/lib/../../activesupport/lib/active_support/dependencies.rb:267:in
> > `load_missing_constant': uninitialized constant ApplicationController
> > (NameError)
> > from
> ___
> Radiant mailing list
> Post:   Radiant@lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[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 mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[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/02/11/first-radiant-cms-based-site/

Thanks Radiant Team!
-Michael
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[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 new-asset.png in /images.  I imagine this just got left out
> of the extension, but I don't know how it will get from the
> extension to the /images directory."

http://lists.radiantcms.org/pipermail/radiant/2006-November/002527.html

But I didn't see a resolution, has anyone else experienced this?
___
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] 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 all children and adds parent first.
   tag 'dynamic_secondary_navigation' do |tag|
   hash = tag.locals.dynamic_secondary_navigation = {}
   tag.expand
   raise TagError.new("`dynamic_secondary_navigation' tag must
include a `normal' tag") unless hash.has_key? :normal
   result = []

   fp = FantasticPage.new(tag.locals.page)
   p = fp.top_level_page
   pairs = Array.new
   pairs << ['Overview', p.url]
   for child in p.children
 pairs << [child.title, child.url]
   end

   pairs.each do |title, url|
 compare_url = remove_trailing_slash(url)
 page_url = remove_trailing_slash(self.url)
 hash[:title] = title
 hash[:url] = url
 case page_url
 when compare_url
   result << (hash[:here] || hash[:selected] || hash[:normal]).call
 else
   result << hash[:normal].call
 end
   end
   between = hash.has_key?(:between) ? hash[:between].call : ' '
   result.join(between)
   end

-
Class that the tag above calls:
-
class FantasticPage

 attr_accessor :page

 # Set the page.
 def initialize(page)
   @page = page
 end

 # Returns 'top_level_page' one down from root.
 # NOTE: Only works for 2nd and 3rd level pages.
 def top_level_page
   url = @page.url
   pieces = @page.url.split("/")
   if pieces.size == 3
 url = @page.parent.url
   end
   return Page.find_by_url(url)
 end

end

On 2/7/07, Marty Haught <[EMAIL PROTECTED]> wrote:
> Okay, so I'm trying my hand at building a dynamic nav within Radiant
> for the first time.  The top nav is static and I used the navigation
> tag for it.  Though when someone clicks on one of the top links
> potentially it could display sub links beneath it such as this when
> the user has clicked the about us page:
>
> About Us
>  - Faculty
>  - History
>  - Jobs
>  - Policies
> Admissions
> Calendar
> Contact Us
> Education
>
> The problem is when I click on About Us all the sub links have the
> about us page properties.  I've tried several things with no better
> results.  My main approach has been to create a sub_nav page part in
> my top level pages that I have the navigation tag use if selected.
> Here's the navigation tag:
>
>
> 
>   
>   
>   
> 
>
> For the sub_nav page part I've tried a few different things such as:
>
> 
> 
> 
>
>
> I noticed some comments on using the r:child in some cases so I tried that:
>
> 
> 
> 
>
>
> Then I figured maybe I needed to explicitly find the about_us page such as 
> this:
>
> 
> 
> 
> 
> 
>
> So did I miss something basic or am I going down the wrong hole here?
> Thanks for the help.
>
> Cheers,
> Marty
> ___
> Radiant mailing list
> Post:   Radiant@lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[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("../images/body_home_bg.gif") left 97px repeat-x #8a8a8a;
  font-family: "Lucida Grande" "Lucida Sans Unicode" Arial sans-serif;
  font-size: x-small;
  font-weight: normal;
  margin: 0;
  padding: 0;
  position: relative;
}

Offending line:
background: url("../images/body_home_bg.gif") left 97px repeat-x #8a8a8a;

When I removed the "../" (which I needed to do anyway) it cleared up.

-MJ
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[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_attachment line to be:

acts_as_attachment :storage => :file_system, :file_system_path =>
'public/images',
:max_size => 2048.kilobytes, :content_type => :image,
:thumbnails => { :normal => '600x400', :thumbnail => '100x100', :icon
=> '42x42' }

Note I added:
":file_system_path => 'public/images',"

This got the images saved in the public/images directory however it
still created a directory for the ID so images were stored like
public/images/3/*.jpg

To get them in the 'images' directory override the "full_filename"
method to asset.rb:

 def full_filename(thumbnail = nil)
  file_system_path = (thumbnail ? thumbnail_class :
self).attachment_options[:file_system_path]
  #File.join(RAILS_ROOT, file_system_path,
attachment_path_id,thumbnail_name_for(thumbnail))
  File.join(RAILS_ROOT, file_system_path, thumbnail_name_for(thumbnail))
 end

Note I commented out the first File.join line and aded a new one minus
the "attachment_path_id"

Hope this helps and again if this is a bad idea someone please tell me!

Thanks-
Michael
___
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] 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 mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[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/83.xml

Cheers-
Michael
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[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 for the 5 types and include the common Snippets

This is not ideal because there is still alot of repition in the
layouts, it's not very DRY.

Ideal I would create a 5 data structures that encapsulate the
differences and have 1 Layout that pulls in the correct data to create
the required unique Layout.

Is there someway to accomplish this? Or is there a better approach?

Thanks-
Michael
___
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] 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 extensions).
>
> Anyway, this is obviously not working, but I have no idea where to go from 
> here.
> Can anyone jump in and help here? I'm not sure what has changed from
> the old system to the new, so I have no idea what I need to change.
>
> Thanks,
> BJ Clark
>
>
>
> On 1/20/07, BJ Clark <[EMAIL PROTECTED]> wrote:
> > I'm trying to port the rss behavior to an extension for use in mental.
> > I can't find anything talking about how to develop extensions, so I'm
> > baseing this off looking at hello_tag example.
> > I've created two files:
> > rss_reader_extension.rb that looks like this:
> > http://pastie.caboo.se/34525
> >
> > and lib/rss_reader.lib:
> > http://pastie.caboo.se/34529
> >
> ___
> Radiant mailing list
> Post:   Radiant@lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
___
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] Asset Manager Extension Issues

2007-01-19 Thread Michael Jones
Adam you ROCK!

Thanks so much for that info, I'm now uploading assets.



On 1/19/07, Adam Salter <[EMAIL PROTECTED]> wrote:
> What version of Rails is it running. Remember you have to freeze edge
> (although 1.2 is out now, so maybe you can just freeze 1.2).
> I also had trouble with acts_as_attachment, but it had to do with the
> changes to how modules are loaded in /vendor.
> I sent my updates to the maintainer Keith.
>
> I modified the acts_as_attachment/init.rb and put the following lines
> at the top of the file:
> require 'db_file'
> require 'technoweenie/acts_as_attachment'
> require 'technoweenie/acts_as_attachment/class_methods'
> require 'technoweenie/acts_as_attachment/db_file_methods'
> require 'technoweenie/acts_as_attachment/file_system_methods'
> require 'technoweenie/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:
> >
> > mysql> desc assets;
> > +--+--+--+-+-
> > ++
> > | Field| Type | Null | Key | Default |
> > Extra  |
> > +--+--+--+-+-
> > ++
> > | id   | int(11)  | NO   | PRI | NULL|
> > auto_increment |
> > | title| varchar(255) | YES  | | NULL
> > ||
> > | content_type | varchar(255) | YES  | | NULL
> > ||
> > | filename | varchar(255) | YES  | | NULL
> > ||
> > | size | int(11)  | YES  | | NULL
> > ||
> > | parent_id| int(11)  | YES  | | NULL
> > ||
> > | thumbnail| varchar(255) | YES  | | NULL
> > ||
> > | width| int(11)  | YES  | | NULL
> > ||
> > | height   | int(11)  | YES  | | NULL
> > ||
> > | created_at   | datetime | YES  | | NULL
> > ||
> > | created_by   | int(11)  | YES  | | NULL
> > ||
> > | updated_at   | datetime | YES  | | NULL
> > ||
> > | updated_by   | int(11)  | YES  | | NULL
> > ||
> > | page_id  | int(11)  | YES  | | NULL
> > ||
> > +--+--+--+-+-
> > ++
> > 14 rows in set (0.01 sec)
> >
> > And I have the 'extensions_meta' table.
> >
> >
> >
> >
> > On 1/19/07, Todd McGrath <[EMAIL PROTECTED]> wrote:
> >> Hi,
> >> Do 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
> >>> 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 from the admin I get this error in
> >>> the production.log:
> >>>
> >>> LoadError (Expected
> >>> ../config/../vendor/extensions/assets/app/models/asset.rb to define
> >>> Asset):
> >>>
> >>>
> >> /vendor/rails/activerecord/lib/../../activesupport/lib/
> >> active_support/dependencies.rb:250:in
> >>> `load_missing_constant'
> >>>
> >>>
> >>> When I fire up the console in production mode and try to create a
> >>> new Asset
> >>> a = Asset.new
> >>> I get:
> >>>
> >>> NameError: uninitialized constant
> >>> Technoweenie::ActsAsAttachment::ActMethods::InstanceMethods from
> >>>
> >> ./script/../config/../config/../vendor/rails/activerecord/
> >> lib/../../activesupport/lib/active_support/dependencies.rb:264:in
> >>> `load_missing_constant'
> >>>
> >>>
> >>> Any suggestions on what to try? The full stack trac

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 thread titled "Asset Manager Extension Issues" for
some of the information people sent me.

Good luck! And when someone gets this to work let's get it written
down in the wiki!




On 1/19/07, Matte Edens <[EMAIL PROTECTED]> wrote:
> Long time listener, first time caller... heh.  Okay, hi.  I'm evaluating
> Radiant (mental branch) for an upcoming project and love it so far.
> I've installed the Asset Manager extension from Keith and I have
> acts_as_attachment installed (under lib/plugins not vendor/plugins).  No
> RMagick or Imagemagick though.  Tackling one of those next.
>
> I see the Images tab.  It's showing up in the Extensions manager area
> but when I click the Images tab I get the following.
>
> [begin error]
> LoadError in Admin/assetController#index
>
> Expected ./vendor/extensions/assets/app/models/asset.rb to define Asset
>
> (active_support stuff removed)
> #{RAILS_ROOT}/vendor/extensions/assets/app/controllers/admin/asset_controller.rb:11:in
> `index'
> [end error]
>
> Wha?  Very puzzled here.  Asset IS defined in the model.  My code has
> been svn updated and everything is current.  When I had
> acts_as_attachment installed under vendor/plugins, it acted the same
> way.  FYI.
>
> thanx in advance for any thoughts, condolences, etc.  :)
>
> matte - [EMAIL PROTECTED]
>
> ___
> Radiant mailing list
> Post:   Radiant@lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
___
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] 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 questions you
have, would you be willing to put together a wiki entry that answers
these questions? I'm sure if you were willing to do this than some of
the radiant guru's would gladly give you some great copy!

Cheers-
MJ




On 1/19/07, Andrew Klein <[EMAIL PROTECTED]> wrote:
> Hello all!
>
> Well, I'm back again. Been enjoying 0.5.2. Been watching the mailgroup
> for a bit. I know there is significantly newer versions of Radiant
> through svn.  Doesn't have to be in layman's terms, I am just stumped at
> the difference between Trunk and Mental and would kind of like a summary
> of it. As well, will it be easy to port between the two when Mental goes
> live? (If it goes live)
>
> Thanks all!
> Andrew
> ___
> Radiant mailing list
> Post:   Radiant@lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
___
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] Asset Manager Extension Issues

2007-01-19 Thread Michael Jones
Yes, I have the table:

mysql> desc assets;
+--+--+--+-+-++
| Field| Type | Null | Key | Default | Extra  |
+--+--+--+-+-++
| id   | int(11)  | NO   | PRI | NULL| auto_increment |
| title| varchar(255) | YES  | | NULL||
| content_type | varchar(255) | YES  | | NULL||
| filename | varchar(255) | YES  | | NULL||
| size | int(11)  | YES  | | NULL||
| parent_id| int(11)  | YES  | | NULL||
| thumbnail| varchar(255) | YES  | | NULL||
| width| int(11)  | YES  | | NULL||
| height   | int(11)  | YES  | | NULL||
| created_at   | datetime | YES  | | NULL||
| created_by   | int(11)  | YES  | | NULL||
| updated_at   | datetime | YES  | | NULL||
| updated_by   | int(11)  | YES  | | NULL||
| page_id  | int(11)  | YES  | | NULL||
+--+--+--+-+-++
14 rows in set (0.01 sec)

And I have the 'extensions_meta' table.




On 1/19/07, Todd McGrath <[EMAIL PROTECTED]> wrote:
> Hi,
> Do 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
> > 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 from the admin I get this error in
> > the production.log:
> >
> > LoadError (Expected
> > ../config/../vendor/extensions/assets/app/models/asset.rb to define
> > Asset):
> >
> >
> /vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:250:in
> > `load_missing_constant'
> >
> >
> > When I fire up the console in production mode and try to create a new Asset
> > a = Asset.new
> > I get:
> >
> > NameError: uninitialized constant
> > Technoweenie::ActsAsAttachment::ActMethods::InstanceMethods from
> >
> ./script/../config/../config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:264:in
> > `load_missing_constant'
> >
> >
> > Any suggestions on what to try? The full stack traces are below.
> >
> > Thanks-
> > Michael
> >
> >
> >
> > FULL ERRORS:
> >
> > LoadError (Expected
> > ../config/../vendor/extensions/assets/app/models/asset.rb to define
> > Asset):
> >
> >
> /vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:250:in
> > `load_missing_constant'
> >
> >
> /vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:453:in
> > `const_missing'
> >
> >
> /vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:465:in
> > `const_missing'
> >
> >
> /vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:261:in
> > `load_missing_constant'
> >
> >
> /vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:453:in
> > `const_missing'
> >
> >
> /vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:261:in
> > `load_missing_constant'
> >
> >
> /vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:469:in
> > `const_missing'
> >
> > /vendor/extensions/assets/app/controllers/admin/asset_controller.rb:11:in
> > `index'
> > /vendor/rails/actionpack/lib/action_controller/base.rb:1095:in `send'
> > /vendor/rails/actionpack/lib/action_controller/base.rb:1095:in
> > `perform_action_without_filters'
> > /vendor/rails/actionpack/lib/action_controller/filters.rb:632:in
> > `call_filter'
> > /vendor/rails/actionpack/lib/action_controller/filters.rb:638:in
> > `call_filter'
> > /vendor/rails/actionpack/lib/action_controller/filters.rb:438:in `call'
> > /vendor/rails/actionpack/lib/

[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 from the admin I get this error in
the production.log:

LoadError (Expected
../config/../vendor/extensions/assets/app/models/asset.rb to define
Asset):

/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:250:in
`load_missing_constant'


When I fire up the console in production mode and try to create a new Asset
a = Asset.new
I get:

NameError: uninitialized constant
Technoweenie::ActsAsAttachment::ActMethods::InstanceMethods from
./script/../config/../config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:264:in
`load_missing_constant'


Any suggestions on what to try? The full stack traces are below.

Thanks-
Michael



FULL ERRORS:

LoadError (Expected
../config/../vendor/extensions/assets/app/models/asset.rb to define
Asset):

/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:250:in
`load_missing_constant'

/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:453:in
`const_missing'

/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:465:in
`const_missing'

/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:261:in
`load_missing_constant'

/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:453:in
`const_missing'

/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:261:in
`load_missing_constant'

/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:469:in
`const_missing'
/vendor/extensions/assets/app/controllers/admin/asset_controller.rb:11:in
`index'
/vendor/rails/actionpack/lib/action_controller/base.rb:1095:in `send'
/vendor/rails/actionpack/lib/action_controller/base.rb:1095:in
`perform_action_without_filters'
/vendor/rails/actionpack/lib/action_controller/filters.rb:632:in
`call_filter'
/vendor/rails/actionpack/lib/action_controller/filters.rb:638:in
`call_filter'
/vendor/rails/actionpack/lib/action_controller/filters.rb:438:in `call'
/vendor/rails/actionpack/lib/action_controller/filters.rb:637:in
`call_filter'
/vendor/rails/actionpack/lib/action_controller/filters.rb:638:in
`call_filter'
/vendor/rails/actionpack/lib/action_controller/filters.rb:438:in `call'
/vendor/rails/actionpack/lib/action_controller/filters.rb:637:in
`call_filter'
/vendor/rails/actionpack/lib/action_controller/filters.rb:638:in
`call_filter'
/vendor/rails/actionpack/lib/action_controller/filters.rb:438:in `call'
/vendor/rails/actionpack/lib/action_controller/filters.rb:637:in
`call_filter'
/vendor/rails/actionpack/lib/action_controller/filters.rb:619:in
`perform_action_without_benchmark'
/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:66:in
`perform_action_without_rescue'
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:66:in
`perform_action_without_rescue'
/vendor/rails/actionpack/lib/action_controller/rescue.rb:83:in
`perform_action'
/vendor/rails/actionpack/lib/action_controller/base.rb:430:in `send'
/vendor/rails/actionpack/lib/action_controller/base.rb:430:in
`process_without_filters'
/vendor/rails/actionpack/lib/action_controller/filters.rb:624:in
`process_without_session_management_support'
/vendor/rails/actionpack/lib/action_controller/session_management.rb:114:in
`process'
/vendor/rails/actionpack/lib/action_controller/base.rb:330:in `process'
/vendor/rails/railties/lib/dispatcher.rb:41:in `dispatch'
/vendor/rails/railties/lib/fcgi_handler.rb:168:in `process_request'
/vendor/rails/railties/lib/fcgi_handler.rb:143:in `process_each_request!'
/vendor/rails/railties/lib/fcgi_handler.rb:109:in `with_signal_handler'
/vendor/rails/railties/lib/fcgi_handler.rb:142:in `process_each_request!'
/usr/lib/ruby/1.8/fcgi.rb:600:in `each_cgi'
/usr/lib/ruby/1.8/fcgi.rb:597:in `each'
/usr/lib/ruby/1.8/fcgi.rb:597:in `each_cgi'
/vendor/rails/railties/lib/fcgi_handler.rb:141:in `process_each_request!'
/vendor/rails/railties/lib/fcgi_handler.rb:55:in `process!'
/vendor/rails/railties/lib/fcgi_handler.rb:25:in `process!'
dispatch.fcgi:24





NameError: uninitialized constant
Technoweenie::ActsAsAttachment::ActMethods::InstanceMethods
from 
./script/../config/../config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:264:in
`load_missing_constant'
from 
./script/../config/../config/../vendor/rails/activerecord/lib/../../activesupport/lib/act

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!  The Mailer extension has been added to the
> Radiant repository.  You can find it at:
>
> http://dev.radiantcms.org/svn/radiant/branches/mental/extensions/mailer/
>
> The code has only been slightly modified from what is on our live site,
> kckcc.edu, mainly to bring it in line with the latest revision of 'mental'.
> Feel free to send questions about how to get it working to the list, I'll
> answer as best I can.
>
> Cheers,
>
> Sean Cribbs
>
>
> ___
> Radiant mailing list
> Post:   Radiant@lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:
> http://lists.radiantcms.org/mailman/listinfo/radiant
>
>
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[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
http://lists.radiantcms.org/pipermail/radiant/2006-November/002543.html

So far I got the extension from:
http://www.keithbingman.com/svn/projects/radiant/extensions/assets/

And installed acts_as_attachment from:
http://weblog.techno-weenie.net/articles/acts_as_attachment

What's next?

Thanks-
Michael
___
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] 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
___
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] 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 thing that I missed was:

 [:normal, :here, :selected, :between].each do |symbol|
  tag "navigation:#{symbol}" do |tag|
hash = tag.locals.navigation
hash[symbol] = tag.block
  end
 end

I didn't even recognize that this was multiple tag definitions, I
needed to make changes in that code.

Thanks-
Michael
___
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] 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 post? Any special area this should be placed?
___
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] 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 how the 'hash' is passed to that method
inorder to set values in it?
___
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] 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 can it contain any values if we assigned a blank
one?

To establish a baseline I tried copying the existing 'navigation' code
into my custom tag (with name edits) and I'm still getting the 'normal
tag not found error'.

snippet:




 | 


head of custom tag;
  tag 'navigation_dynamic' do |tag|
hash = tag.locals.navigation_dynamic = {}
tag.expand
raise TagError.new("`navigation_d' tag must include a `normal'
tag") unless hash.has_key? :normal


error:
`navigation_d' tag must include a `normal' tag

I've dumped my cache and restarted the server a bunch. How can I get
logging to see what is contained in 'tag.locals'?  Can you see what
I'm doing wrong here/

Thanks-
Michael
___
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] 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
   tag.locals.navigation = tag.locals.navigation_dynamic
   end
 end

I got the error about including a 'normal tag', I tried a few
different approaches such as:
tag.locals.navigation = {:normal=>'yo'}

The navigation tag in the standard_tags.rb is kinda trick, could you
explain the first line some?

hash = tag.locals.navigation = {}
tag.expand
   raise TagError.new("`navigation' tag must include a `normal' tag")
unless hash.has_key? :normal

Also, is there a good way to log debugging from the tags?

Thanks-
Michael
___
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] 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 from another tag?

For example I want to create my own custom tag that dynamically
generates the values for the  tag.

It would go something like:

  tag 'navigation_dynamic' do |tag|
#some code to generate string of urls
tag.render('navigation', 'urls' => 'url string here')
  end

The 'navigation_dynamic' would have the nested values that the
'navigation' tag expects, but how do I pass those in?

Thanks-
Michael
___
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] 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
haven't used it yet but so see alot of list traffic about it. It's
yaml based so watch your white spaces.


> 3. Embedding RoR Application

This is what I found to be REALLY SWEET, you'll want the 'mental'
branch for this stuff. I played around with it and was basically able
to dump an existing RoR app into Radiant. There was a pretty good post
somewhere about this, you use a 'generator' to get your 'extension'
generated.

I hope you know Ruby and RoR cause you're gonna need to dig around in
some code to make these things happen. But I think using Radiant is
good for what you described. I'm going to be using it on several such
apps myself.

Good luck-
MJ
___
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] 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://lists.radiantcms.org/mailman/listinfo/radiant


[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
some magic way to reference these tags via your own custom tags or
classes?

Also is there some good info on the way Tags work, after spending my
life in methods this syntax seems so odd and I haven't had much luck
trying to hunt down particular methods in the api.

Thanks-
Michael


BTW: 
http://radiantcms.org/blog/2006/11/24/how-to-write-time-sensitive-or-expiring-content/
was very helpful for building custom tags via the new extensions
method.
___
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] 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 file to load --
script/../config/../vendor/rails/railties/lib/initializer (LoadError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require'
from ./script/../config/boot.rb:36
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require'
from script/server:2

Is this still at the rails/radiant level?

Thanks for the help-
Michael
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[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)
from 
./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:453:in
`const_missing'
from 
./script/../config/../vendor/rails/activesupport/lib/active_support/deprecation.rb:16
from 
./script/../config/../vendor/rails/activesupport/lib/active_support/deprecation.rb:23:in
`warn'
from 
./script/../config/../vendor/rails/activesupport/lib/active_support/reloadable.rb:43:in
`included'
from 
/usr/local/lib/ruby/gems/1.8/gems/actionwebservice-1.1.6/lib/action_web_service/base.rb:36
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require'
from 
./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in
`require'
from 
./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:343:in
`new_constants_in'
 ... 12 levels...
from 
./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in
`require'
from 
./script/../config/../vendor/rails/railties/lib/commands/server.rb:39
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require'
from script/server:3

This looks like a Rails issue and not Radiant but I was wondering if
anyone else dealt with this?

Thanks-
Michael
___
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] 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
Ha!

I'm on "alberni" too, maybe it's all the radiant site traffic that
makes my site so slow. ;-)

I also have one of their "container" hosting plans and it is smoking
fast! (but spendy)


On 1/12/07, Sean Cribbs <[EMAIL PROTECTED]> wrote:
>
>  I am also 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 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.
>
>  I shouldn't rag on the host since John's paying for it, not me, but,
> um, yah. It's back up now.
>
>
>
>
>
> ___
> Radiant mailing list
> Post:   Radiant@lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:
> http://lists.radiantcms.org/mailman/listinfo/radiant
>
>
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[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.
___
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] 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 tools "age".


Can you write up something that gives more details about how you did
this? Can we see the site you implemmented this on?

Thanks-
Michael
___
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] 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.org/mailman/listinfo/radiant


[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://www.ruby-lang.org/en/ site?

Thanks-
Michael
___
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] 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 big things in Rails is "Convention Over Configuration".

So in some cases the 'config file' you are looking for doesn't exist.
___
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] 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.
___
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] 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:
http://help.textdrive.com/index.php?pg=kb.page&id=252
___
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] 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 in place.
___
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] 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 configured Radiant on an eapps.com VPS? I have a
> horrible time following the instructions at
> http://support.eapps.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=108
>I just can't get the routes.rb modifications they are talking about to
> work. I'm a RoR newbie so the part that is really confusing is that they
> have a directory structure like:
>
> virtual_domain/
> html/
>app/
>components/
>config/
>...
>
> and they tell me that to add my app (in this case Radiant) under /html and
> then modify the routes.rb (I'm assuming the one at html/config (not the one
> under html/app/config). Any ideas?
>
> Thanks,
>Brian
>
>
> ___
> Radiant mailing list
> Post:   Radiant@lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:
> http://lists.radiantcms.org/mailman/listinfo/radiant
>
>
___
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] 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-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


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 => 'albums'

And I get a page rendered however no content is showing on it.
___
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] 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 while now.

Is there some how-to-get-mental info out there? I looked through the
list but didn't see it.

What I have done is:

1. Checked out the mental branch
2. Ran ruby script/generate extension
3. Ran the 12 migrations
4. Created my album table.
5. Dumped my album controller/model/views in the appropriate extension dirs
6. Uncommented the activate/deactive tabs, uncommented the routes in
the album_extension.rb
7. See the Album tab, when I click it I get: uninitialized constant
Admin::AssetController

Any help or pointers would be greatly appreciated. I have a few
projects I want to use Radiant on so I anticipate using it quite a bit
in the near future.

Thanks-
Michael
___
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] 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 PROTECTED]> wrote:
>
> I've been playing with the Mental branch this weekend to test-out the
> work being done on the new Radiant Extensions concept. I thought I
> just put down a quick narrative of my experience with it to give
> those who've not had a chance to check it out recently a preview of
> what's to come. There is some work still to do here, but as far as I
> can see a lot of work has been done in the last few weeks.
>
>
> Everything is working pretty well... I can generate and extension
> "script/generate extension calendar" and modify the necessary lines
> in the extension activate method to make it show-up as an admin tab.
> Then I was able to dump a bunch of pre-existing models and migrations
> from the Calendar application I want to integrate with ease.
>
> Understanding that this is very much a work in progress, I did want
> to make one note of interest:
>
> When I created the Calendar extension and then ran my migrations I
> found out quickly that it doesn't work well to have a model named the
> same as the Extension (I had a Calendar model as well). I renamed my
> Calendar model, reversed the migrations by hand and everything
> migrated up fine the second time around.
>
> Then in my calendar controller I dumped a scaffold :event_calendar
> and voila! I had a nifty interface for adding and removing calendars
> right within Radiant admin.
>
> I know I for one see the maturation of these extensions as an
> important turning-point for Radiant as a project.
>
> IMHO this robust and Rails friendly way of extending Radiant is key
> to allowing it to remain spartan. Though I might still prefer the CMS
> to be the plugin a la Comatose, this level (and method) of
> extensibility will mean the best of both worlds for most of those who
> just have CMS needs + a little something else.
>
>
>
> So, John, with crystal ball in hand, what do you see as a likely
> timeframe for an official release which includes both Extensions and
> Page Types?
>
>
>
>
> ___
> Radiant mailing list
> Post:   Radiant@lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[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 increased traffice
makes me feel that much better about Radiant.

Cheers-
MJ

The post:
http://books.slashdot.org/books/06/11/08/1539259.shtml
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant