[Radiant] Problem with language_transliterate mailer extension
Good Morning, I have the language_transliterate extension (git://github.com/kranthi/language_transliterate_local.git) installed and it worked fine until I git cloned the mailer extension. Now everything I type gets somehow translated into arabic characters. And there is usually a dropdown called Type in provided by this extension, where you can choose the language you are typing in. But this dropdown is empty now. As soon as I move the mailer dir out of the extensions dir language_transliterate is working again. Any hint so solve this problem? Thank you, rainer ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Search, 0.8.0 and Sqlite3
Does anyone know if there is a search extension that is compatible with 0.8.0 and Sqlite3, I've had a go on a few and haven't come up with anything. Cheers, ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Problem with language_transliterate mailer extension
I'm not familiar with the extension you are having problems with but until someone else helps out have you tried specifying the extensions load order in environment.rb? On 7 Aug 2009, at 08:12, exitseven wrote: Good Morning, I have the language_transliterate extension (git://github.com/kranthi/language_transliterate_local.git) installed and it worked fine until I git cloned the mailer extension. Now everything I type gets somehow translated into arabic characters. And there is usually a dropdown called Type in provided by this extension, where you can choose the language you are typing in. But this dropdown is empty now. As soon as I move the mailer dir out of the extensions dir language_transliterate is working again. Any hint so solve this problem? Thank you, rainer ___ 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] Radiant Instalation Help...
Jason, Well, those are good steps that you've taken. I'm looking at my boot.rb file and the load_rubygems method. It looks to me like the issue is with your RubyGems. If you're at the command line and run gem -v, what do you get back? It should be something like 1.3.1. Next, fire up irb and enter this line: Gem::RubyGemsVersion It should spit back 1.3.1. Let me know what it says if different. If you want to try just disabling the check that's creating the error, change line 139 from unless rubygems_version = '0.9.4' to unless false and try to start it up. - Jeff --- Jeff Casimir Jumpstart Lab by Casimir Creative, LLC http://jumpstartlab.com @jumpstartlab on twitter Rails Jumpstart - Aug 1516 - Beginning Web Application Development JavaScript Jumpstart - Sep 12 - Intermediate Javascript Programming UI Robotics Jumpstart - Sep 13 - Intro to Robotics with Lego Mindstorms NXT On Thu, Aug 6, 2009 at 9:16 PM, Jason Brayradiant...@jaybray.com wrote: Jeff, Thanks for the advice. I am not using the built-in Ruby. I rolled my own using the Hivelogic instructions for Leopard. I did double check to make sure everything was updated properly and everything appears to be. I started the Radiant install again from the beginning, made it all the way through until running script/server and error message. I'm not sure how installing Enterprise Ruby will help so I may not try that yet. I'm sure the main error here is btwn the chair and keyboard. My inexperience with this framework is likely the root. I'll probably put Radiant on the back burner for awhile until I have a better grasp of Rails. I just wanted to say thanks. -- Jason Bray -- On Thu, Aug 6, 2009 at 9:44 AM, Jeff Casimir j...@casimircreative.comwrote: Jason, Are you using Leopard's built-in Ruby distribution? I remember there being some complications there. You might try to update your version of gems (sudo gem update --system) and all your gems (sudo gem update). If that doesn't get you anywhere, you might consider installing a newer version of ruby like Ruby Enterprise Edition: http://www.rubyenterpriseedition.com/ - Jeff --- Jeff Casimir Jumpstart Lab by Casimir Creative, LLC http://jumpstartlab.com @jumpstartlab on twitter Rails Jumpstart - Aug 1516 - Beginning Web Application Development JavaScript Jumpstart - Sep 12 - Intermediate Javascript Programming UI Robotics Jumpstart - Sep 13 - Intro to Robotics with Lego Mindstorms NXT On Wed, Aug 5, 2009 at 9:17 PM, Jason Brayradiant...@jaybray.com wrote: Greetings, I'm attempting to install Radiant on OSX Leopard. I'm also a Rails noob just to get that out there. I followed these installation instructions: http://wiki.github.com/radiant/radiant/installing-on-mac-os Everything went flawlessly until I ran - ./script/server I get this message in terminal: /Users/jaybray/Sites/example/config/boot.rb:138:in `load_rubygems': undefined method `=' for nil:NilClass (NoMethodError) from /Users/jaybray/Sites/example/config/boot.rb:100:in `load_initializer' from /Users/jaybray/Sites/example/config/boot.rb:61:in `run' from /Users/jaybray/Sites/example/config/boot.rb:19:in `boot!' from /Users/jaybray/Sites/example/config/boot.rb:161:in `top (required)' from ./script/server:2:in `require' from ./script/server:2:in `main' and of course I get nothing when I go to my localhost. Anyone have advice or suggestion on where to find help? Many thanks... -- Jason -- ___ 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
Re: [Radiant] Search, 0.8.0 and Sqlite3
Use this: http://github.com/radiant/radiant-search-extension/tree/master and look this issue: http://github.com/radiant/radiant-search-extension/issues#issue/1 to know how to run with sqlite. And after all, please tell me if you are can run the exclude_pages attribute at r:search:form tag. ;-) 2009/8/7 subsor...@gmail.com Does anyone know if there is a search extension that is compatible with 0.8.0 and Sqlite3, I've had a go on a few and haven't come up with anything. Cheers, ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant -- Rafael Carvalho ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Search, 0.8.0 and Sqlite3
On Aug 7, 2009, at 10:56 AM, Rafael Carvalho wrote: Use this: http://github.com/radiant/radiant-search-extension/tree/master and look this issue: http://github.com/radiant/radiant-search-extension/issues#issue/1 to know how to run with sqlite. And after all, please tell me if you are can run the exclude_pages attribute at r:search:form tag. I have no idea from where that content came on the wiki. There appears to be no fork of the search extension that includes that feature. Whoever added that content ought to point the community to a resource that includes that feature, or remove it from the wiki. Or, if someone wants to implement that feature, I'm sure it could be added. One of the benefits of the search extension is that it's a drop-in solution; e.g. no migrations. There are 2 forks that have options for excluding content http://github.com/radiant/radiant-search-extension/network adamtanner's fork provides the exclude_pages option in Radiant::Config which requires no migration http://github.com/adamtanner/radiant-search-extension/commit/38fb5b8abceeb463fe0950d9521773f394cd5c78 This feature is applied site-wide, whereas the exclude_pages option in question is handled in the search form (according to the inaccurate page on the wiki) That work is a fork of adsmart's branch which adds some migrations to select whether or not an individual page part is searchable. http://github.com/adsmart/radiant-search-extension/tree/master I'm curious about a reaction from user's of the search extension: do you want it to continue to be drop-in, or are migrations ok with you? ;-) 2009/8/7 subsor...@gmail.com Does anyone know if there is a search extension that is compatible with 0.8.0 and Sqlite3, I've had a go on a few and haven't come up with anything. Cheers, Pull the latest. I just updated it so that it's not db specific. Jim Gay http://www.saturnflyer.com ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Search, 0.8.0 and Sqlite3
2009/8/7 Jim Gay j...@saturnflyer.com I'm curious about a reaction from user's of the search extension: do you want it to continue to be drop-in, or are migrations ok with you? Migrations are ok. -- Rafael Carvalho ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Search, 0.8.0 and Sqlite3
2009/8/7 Jim Gay j...@saturnflyer.com That work is a fork of adsmart's branch which adds some migrations to select whether or not an individual page part is searchable. http://github.com/adsmart/radiant-search-extension/tree/master I liked it with searchable option, but I had some problems with this branch. Your's works fine. So, I prefer wait until you update your branch. Thanks for made It. -- Rafael Carvalho ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Problem unsolved: Multiple languages for content
Hey John, thanks for the hint. At a first sight this seems to work pretty good. Thanks!! rainer On Thu, Aug 6, 2009 at 10:15 PM, john muhljohnm...@gmail.com wrote: could you just ask your snippet to give the right urls? r:if_url matches='^/de' r:navigation urls=home: /de/home | ueberuns: /de/ueber_uns/ | kontakt: /de/kontakt/ /r:if_url r:if_url matches='^/en' r:navigation urls=home: /en/home | aboutus: /en/about_us/ | contact: /en/contact/ /r:if_url still some duplication but much less and duplicating layouts On Thu, Aug 6, 2009 at 2:06 PM, exitsevenexitse...@gmail.com wrote: Hey again, sorry, I'm still looking around for a solution. I stumbled over an old post of someone having the same problem (http://www.ruby-forum.com/topic/133019). He writes exactly about what I need. But besides I am unable to install the Language Redirect extension, it is not exactly what I need. I have to page trees: 1) /de/page 2) /en/page The /de-tree is working fine. The user should now be able to hit a link English version on the site and should then get to the /en-tree-contents. So far not a problem. The user gets to for example /en/home. But from now on he should only get contents from the /en-tree: /en/home/ /en/about_us /en/contact /en/... I use a snippet to render the menu: r:navigation urls=home: /de/home | ueberuns: /de/ueber_uns/ | kontakt: /de/kontakt/ Do I have to double every layout I have into an /en- and an /de-version? I thought there is propably some extension that automatically routes every /de-request to the /en-tree if the user requested the english version of the site one time by clicking the English version link. Hopefully you understand the problem and there is an answer somewhere outside... Best wishes, rainer ___ 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] Warning: already initialized constant
Hi everybody, I'm new to radiant. When I tried to access the radiant the web server (webrick, mongrel or thin) always display this messages: warning: already initialized constant IMAGE warning: already initialized constant VIDEO warning: already initialized constant AUDIO warning: already initialized constant SWF warning: already initialized constant PDF warning: already initialized constant MOVIE I have this extensions: archive, help, paperclipped, markdownfilter, ray, rbac_base, rbac_assets, rbac_page_edit, rbac_settings, settings, simple-password, textile-filter, tinymce-filter. all of them installed by ray extension, unless, the extensions that already came with radiant. I also have this gems: cgi_multipart_eof_fix (2.5.0) columnize (0.3.1) daemons (1.0.10) eventmachine (0.12.8) fastthread (1.0.7) gem_plugin (0.2.3) linecache (0.43) markcatley-responds-to-parent (1.0.20090521) mongrel (1.1.5) rack (1.0.0) rack-cache (0.5) radiant (0.8.0) rake (0.8.7) RedCloth (4.2.2) ruby-debug (0.10.3) ruby-debug-base (0.10.3) sqlite3-ruby (1.2.4) thin (1.2.2) And I'm running the radiant in a Fedora 10 server. Well, I know this mime_types are set up in paperclipped, more specifically in vendor/extensions/paperclipped/app/models/asset.rb class Asset ActiveRecord::Base Mime::Type.register 'image/png', :image, %w[image/png image/x-png image/jpeg image/pjpeg image/jpg image/gif] Mime::Type.register 'video/mpeg', :video, %w[video/mpeg video/mp4 video/ogg video/quicktime video/x-ms-wmv video/x-flv] Mime::Type.register 'audio/mpeg', :audio, %w[audio/mpeg audio/ogg application/ogg audio/x-ms-wma audio/vnd.rn-realaudio audio/x-wav] Mime::Type.register 'application/x-shockwave-flash', :swf Mime::Type.register 'application/pdf', :pdf Mime::Type.register Mime::SWF.to_s, :movie, Mime::VIDEO.all_types But if I comment this section, this message is showed load_missing_constant': uninitialized constant Mime::IMAGE if I uncomment, appears the opositive already initialized constant . I also tried to change the version of paperclip, using a fork by Will Spanner (http://github.com/spanner/paperclipped/tree/master), because He has changed some files (including the asset.rb). You can see at commit refactored mime-type registrationhttp://github.com/spanner/paperclipped/commit/c4f2d35a741bc2a99770be502af1146d0a7687eb . Someone can help me fix this messages? Anything is helpful xD p.s. I'm a Brazilian Guy, so... sorry about my bad english ^^, -- - Pablo Barboza Cardoso ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] route_handler extension - what can I do when there's no parameters?
Hi, I was searching ways to pass parameters by the url, and found this extensios: http://github.com/johnhampton/radiant-route-handler-extension/tree/master It seems very useful, but I have a question... what can I do if don't pass any parameters? Because it returns: You have a nil object when you didn't expect it! You might have expected an instance of ActiveRecord::Base. The error occurred while evaluating nil.[] In this case, I would like to ignore tags that contains terms between _*: and :_* How can I proceed? Thank you very much. -- Rafael Carvalho ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant