[Radiant] Comments / Page Attachments extensions troubles

2009-12-17 Thread María Paula Mariani
Hello!

I was trying to install, again, comments extensions. The fact is that
I keep having this error message:

Could not load extension from file: page_attachments_extension.
#MissingSourceFile: no such file to load -- application
rake aborted!
uninitialized constant Sanitize

I've tried to fix it adding

require 'sanitize'
in comment.rb

and

config.gem
in environment.rb

Any clues?

Thanks very much,


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


[Radiant] Long 404 response times / Profiling with ruby-prof

2009-12-17 Thread Johannes Fahrenkrug
Hi,

my Radiant 0.8.1 app takes very long (about 3 seconds!) to respond for
non-exsiting pages. Existing pages are returned very quickly! I've
overridden FileNotFoundPage's cache? method to return true, so at
least the responses are cached now.
I'd still like to find out where the time is spent, though. It's not
the DB, those requests are just a few milliseconds according to the
log file.

I've written an integration test using ruby-prof now, but Radiant
explicitly activates Rack::Lint::Assertion for integration tests which
slows things down and thus doesn't give me accurate results.

Does anyone have experience with actually profiling the real
production radiant app? That would be very much appreciated!

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


[Radiant] New BitNami Radiant Stack released !

2009-12-17 Thread Daniel Liszka vel danoo
Hi,

I just wanted to let you know we have released a new BitNami Radiant
Stack. You can download it as native installers for Windows, Linux and
OS X, as virtual appliances and Amazon Machine Images. You can take a
look at the short release info below.

...

We are glad to announce a new version of RubyStack and three new awesome
Ruby on Rails Application Stacks: Spree, Radiant and Typo. Updated
RubyStack is mostly a bug-fixing release that includes the new Rails
2.3.5, Subversion Ruby bindings, updated Subversion 1.6.6, Ruby
1.8.7-p174 for Windows and many others.

You can download it now at the following links as native installers for
Windows, Linux and OS X, as virtual appliances and Amazon Machine Images.

http://bitnami.org/stack/rubystack

http://bitnami.org/stack/typo
http://bitnami.org/stack/spree
http://bitnami.org/stack/radiant

We welcome your feedback about which apps we should be packaging next
and which features we should add.

Best regards,

Daniel Liszka (danoo)
BitNami Team

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


[Radiant] home page with multilingual_pages

2009-12-17 Thread Ming Pan
Hi,

I'm trying to make my site multilingual so I'm playing with the
extension multilingual_pages. It works really great everywhere
except the home page is so hard to get right. I read the documentation
about the home page and I use lang-xx to access the preferred
language. That works well for all navigation purposes.

However, I can't make slugs like lang-xx for the home page because
it breaks the links to its children and I had to leave the slugs blank
-- en=;de=. And this causes the language selection function to
fail at the home page (it still works everywhere else), because it
looks for the slug of the selected language and the home page doesn't
have a slug at all.

Is there a workaround so that I can keep the language selection
function on the home page without breaking anything else? Or maybe a
few lines of extra code can make the language selection function aware
of the home page, so it won't look for slugs and use lang-xx instead?

Great thanks!

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


Re: [Radiant] Comments / Page Attachments extensions troubles

2009-12-17 Thread banane
OK I have comments installed a few places- one thing, did you clone
the comments code into an extension directory called comments? I ask
this because the error is looking at a page called:
page_attachments_extension.rb, which is a page_attachments extension,
not a comments one. So perhaps your error is with that extension, not
comments.

2009/12/17 María Paula Mariani paulamari...@gmail.com:
 Hello!

 I was trying to install, again, comments extensions. The fact is that
 I keep having this error message:

 Could not load extension from file: page_attachments_extension.
 #MissingSourceFile: no such file to load -- application
 rake aborted!
 uninitialized constant Sanitize

 I've tried to fix it adding

 require 'sanitize'
 in comment.rb

 and

 config.gem
 in environment.rb

 Any clues?

 Thanks very much,


 --
 Paula
 ___
 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