Re: [Radiant] Re: Failure to install Page Attachments extension

2008-07-09 Thread Aitor Garay-Romero
  Just for reference.  I solved this with the patch provided in
http://www.mail-archive.com/[EMAIL PROTECTED]/msg528878.html.

  Just add:

 8 
unless '1.9'.respond_to?(:force_encoding)
  String.class_eval do
begin
  remove_method :chars
rescue NameError
  # OK
end
  end
end
 8 

   To your environment.rb (adding it to config/initializers/ as suggested in
the URL above won't work in Radiant).

   /AITOR

On Thu, Jun 19, 2008 at 3:28 AM, Sean Cribbs [EMAIL PROTECTED] wrote:

 We will heartily accept patches that resolve this issue while maintaining
 compatibility with 1.8.6 and earlier.

 Sean

 Matt Anderson wrote:

 Sho Fukamachi wrote:


 Why should the user need to downgrade? 1.8.7 is the current stable
 version of Ruby.

 It is Radiant that needs to update. Or, if the devs can't be bothered
 doing that, at least post a notice on their website saying so.



 Hear hear.



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

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


Re: [Radiant] Shared Layouts

2008-07-09 Thread Sean Cribbs
That's strange... maybe I was logged in at the time I hit that action.  
I'll update the wiki to add that line.


Sean

Chris Parrish wrote:
In your example, Sean, you create a StatsController that inherits from 
ApplicationController (which is the default if you use Radiant's 
controller generators).  Anyway I've been getting all kinds of errors 
with my specs and banging my head against a wall only to *finally* 
realize that ApplicationController includes the LoginSystem.  (I'm 
always logged in so I never noticed).


I'd like to save others the bloody foreheads since most using the 
Shared Layouts extension will be designing public-facing controllers.  
Thoughts?


For others, I fixed this by simply adding:
 no_login_required

to my controller.

In fact, other than maybe rescue_action_in_public, is there any real 
benefit to inheriting from ApplicationController vs. good ol' 
ActionController::Base for a Shared Layouts Controller?


-Chris

Sean Cribbs wrote:
I got one started with a lot more detail than the email message.  
I'll try to finish the rest tonight:


http://wiki.radiantcms.org/Creating_an_extension_VI

Cheers,

Sean

John W. Long wrote:

On Jul 6, 2008, at 1:06 PM, Sean Cribbs wrote:
Since there seems to be some confusion about how to use 
share_layouts lately, I'll break it down into steps for you and 
everyone.


I hope this makes it on the wiki somewhere. :-)

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



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


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



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


[Radiant] [ANN] SnS extensions on GitHub

2008-07-09 Thread Tim Gossett
Not to pre-empt Chris Parrish, but I've renamed the styles_n_scripts
extension to sns as mentioned earlier on this list.

I'm a recent GitHub convert, still floating on a cloud of GitHub Zen,
so I've mirrored all of Chirs' work in my GitHub account.

SnS proper:http://github.com/MrGossett/radiant_sns_extension/tree/master
SnS Minifier:
http://github.com/MrGossett/radiant_sns_minifier_extension/tree/master
SnS SASS filter:
http://github.com/MrGossett/radiant_sns_sass_filter_extension/tree/master

I'm planning to just track Chris' SVN repository
(https://secure.svnrepository.com/s_swanki/open/radiant/extensions/)
and not really make many modifications myself... I just want it on
GitHub so that I can add it as a submodule in all my Radiant projects.

Any plans to get on GitHub, Chris?

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


Re: [Radiant] [ANN] SnS extensions on GitHub

2008-07-09 Thread Chris Parrish
Actually, I've been working towards it (and the SnS renaming -- kind of 
wish you'd told me that you were working on it).


Anybody have any good Windows references for Git.  I currently develop 
with RadRails and really like the SVN integration (Git is non-existent) 
so I've really been dragging my feet there.


-Chris

Tim Gossett wrote:

Not to pre-empt Chris Parrish, but I've renamed the styles_n_scripts
extension to sns as mentioned earlier on this list.

I'm a recent GitHub convert, still floating on a cloud of GitHub Zen,
so I've mirrored all of Chirs' work in my GitHub account.

SnS proper:http://github.com/MrGossett/radiant_sns_extension/tree/master
SnS Minifier:
http://github.com/MrGossett/radiant_sns_minifier_extension/tree/master
SnS SASS filter:
http://github.com/MrGossett/radiant_sns_sass_filter_extension/tree/master

I'm planning to just track Chris' SVN repository
(https://secure.svnrepository.com/s_swanki/open/radiant/extensions/)
and not really make many modifications myself... I just want it on
GitHub so that I can add it as a submodule in all my Radiant projects.

Any plans to get on GitHub, Chris?

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


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


Re: [Radiant] [ANN] SnS extensions on GitHub

2008-07-09 Thread Tim Gossett
On Wed, Jul 9, 2008 at 3:54 PM, Chris Parrish 
[EMAIL PROTECTED] wrote:

 Actually, I've been working towards it (and the SnS renaming -- kind of
 wish you'd told me that you were working on it).


Sorry... it was a quick find and replace thing in TextMate. BTW, I haven't
renamed the Config keys.

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