[Radiant] Is settings extension ready for 0.9?
Hi again, Thanks Jim for your quick previous response. Im trying to install settings extension to edge but after the installation+migration+update but when I try to access the settings tab the whole app freezes and pops up the following error: Rendered admin/users/_password_fields (19.4ms) Completed in 167ms (View: 145, DB: 4) | 200 OK [ http://localhost/admin/preferences/edit] Thu Apr 01 11:45:41 +0200 2010: Read error: #NoMethodError: undefined method `remove' for #Radiant::AdminUI::NavTab:0x27f83dc /vendor/extensions/settings/settings_extension.rb:41:in `deactivate' /vendor/radiant/lib/radiant/extension.rb:86:in `deactivate' May this mean settings is still not ready for 0.9? Cheers!! Xavi. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
[Radiant] Is settings extension ready for 0.9?
Hi again, Thanks Jim for your quick previous response. Im trying to install settings extension to edge but after the installation+migration+update but when I try to access the settings tab the whole app freezes and pops up the following error: Rendered admin/users/_password_fields (19.4ms) Completed in 167ms (View: 145, DB: 4) | 200 OK [ http://localhost/admin/preferences/edit] Thu Apr 01 11:45:41 +0200 2010: Read error: #NoMethodError: undefined method `remove' for #Radiant::AdminUI::NavTab: 0x27f83dc /vendor/extensions/settings/settings_extension.rb:41:in `deactivate' /vendor/radiant/lib/radiant/extension.rb:86:in `deactivate' May this mean settings is still not ready for 0.9? Cheers!! Xavi. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
[Radiant] URL format for archive extension
Is it possible to modify the URL format for child pages of an Archive section? I would prefer just year+month: //mm/:slug rather than the full year+month+day /yyy/mm/dd/:slug I'm hoping that this can be configured through Radiant::Config settings, but if I have to hack on the code that's cool. I just wanted to check if anyone has already tried this, before I dive in. Drew ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
Re: [Radiant] Is settings extension ready for 0.9?
On Thu, Apr 1, 2010 at 4:10 AM, Xavier Guardiola xavier.guardi...@gmail.com wrote: Im trying to install settings extension to edge but after the installation+migration+update but when I try to access the settings tab the whole app freezes and pops up the following error: Rendered admin/users/_password_fields (19.4ms) Completed in 167ms (View: 145, DB: 4) | 200 OK [ http://localhost/admin/preferences/edit] Thu Apr 01 11:45:41 +0200 2010: Read error: #NoMethodError: undefined method `remove' for #Radiant::AdminUI::NavTab: 0x27f83dc /vendor/extensions/settings/settings_extension.rb:41:in `deactivate' /vendor/radiant/lib/radiant/extension.rb:86:in `deactivate' May this mean settings is still not ready for 0.9? most likely that is what it means. fortunately you don't really need it for anything. you can set any options from the rails console. cd radiant_project script/console Radiant::Config['defaults.page.filter'] = 'Markdown' ... Refer to the wiki for more available options. http://wiki.github.com/radiant/radiant/additional-configuration-options ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
Re: [Radiant] Is settings extension ready for 0.9?
Im trying to install settings extension to edge but after the installation+migration+update but when I try to access the settings tab the whole app freezes and pops up the following error: Rendered admin/users/_password_fields (19.4ms) Completed in 167ms (View: 145, DB: 4) | 200 OK [ http://localhost/admin/preferences/edit] Thu Apr 01 11:45:41 +0200 2010: Read error: #NoMethodError: undefined method `remove' for #Radiant::AdminUI::NavTab: 0x27f83dc /vendor/extensions/settings/settings_extension.rb:41:in `deactivate' /vendor/radiant/lib/radiant/extension.rb:86:in `deactivate' May this mean settings is still not ready for 0.9? most likely that is what it means. fortunately you don't really need it for anything. you can set any options from the rails console. cd radiant_project script/console Radiant::Config['defaults.page.filter'] = 'Markdown' .. Jim posted a blog a while back with another easy way to set the config values and keep them in version control: http://www.saturnflyer.com/blog/jim/2010/03/22/radiant-config-in-source-control/ This seems like the best way to go. Keith Keith Bingman ke...@keithbingman.com http://keithbingman.com ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
Re: [Radiant] [ANN] PageFactory extension
I like this too. It sort of reminds me of the templates extension http://github.com/seancribbs/radiant-templates-extension, except you've provided some helpful automation and defaults. The template extension was initially written for one of our projects at Digital Pulp, and we've been evolving an in-house version ever since. PageFactory is my attempt to rethink the whole pattern and improve on the places that I personally found to have the most friction. I think this might be a hint that a CMS could benefit from having a way to quickly generate Admin UI for content objects: Keep watching this list :) -- Message: 4 Date: Wed, 31 Mar 2010 22:13:58 -0400 From: Chase Allen James chaseaja...@gmail.com Subject: Re: [Radiant] [ANN] PageFactory extension (Josh French) To: radiant@radiantcms.org Message-ID: y2u5ab9a5961003311913wf366b70aq726ec7cc8495...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1 I like this too. It sort of reminds me of the templates extension http://github.com/seancribbs/radiant-templates-extension, except you've provided some helpful automation and defaults. I think this might be a hint that a CMS could benefit from having a way to quickly generate Admin UI for content objects: class EmployeePageFactory PageFactory layout Employee string 'first name' string 'last name' text 'biography', :content = 'Test', :description = 'A Biography' video 'video clip', :description = 'Upload your video' image 'bio picture', :description = 'Upload your picture' document 'resume', :description = 'Upload your resume' image_collection 'gallery', :description = 'Upload multiple images' end ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
Re: [Radiant] Is settings extension ready for 0.9?
On Thu, Apr 1, 2010 at 2:23 PM, Keith Bingman ke...@keithbingman.com wrote: Im trying to install settings extension to edge but after the installation+migration+update but when I try to access the settings tab the whole app freezes and pops up the following error: Rendered admin/users/_password_fields (19.4ms) Completed in 167ms (View: 145, DB: 4) | 200 OK [ http://localhost/admin/preferences/edit] Thu Apr 01 11:45:41 +0200 2010: Read error: #NoMethodError: undefined method `remove' for #Radiant::AdminUI::NavTab: 0x27f83dc /vendor/extensions/settings/settings_extension.rb:41:in `deactivate' /vendor/radiant/lib/radiant/extension.rb:86:in `deactivate' May this mean settings is still not ready for 0.9? most likely that is what it means. fortunately you don't really need it for anything. you can set any options from the rails console. cd radiant_project script/console Radiant::Config['defaults.page.filter'] = 'Markdown' .. Jim posted a blog a while back with another easy way to set the config values and keep them in version control: http://www.saturnflyer.com/blog/jim/2010/03/22/radiant-config-in-source-control/ That'll work well for you, but I have changes for 0.9 that I just merged in. Pull it down again. This seems like the best way to go. Keith Keith Bingman ke...@keithbingman.com http://keithbingman.com -- Jim Gay http://www.saturnflyer.com ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
[Radiant] Something strange here
Was working with a development environment when suddenly the admin pages started looking funny, and I'm getting some javascript errors. The js errors are centered around Behavior, which comes from lowpro.js, and I'm noticing that the admin pages aren't loading it correctly. not sure what I screwed up, but when I try to go back and rebuild from fresh, I'm getting undefined method 'locale' after logging in. Any idea what I screwed up? Have Fun, Arlen -- In God we trust, all others must supply data ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
Re: [Radiant] Something strange here
On Apr 1, 2010, at 5:14 PM, Arlen Walker wrote: Was working with a development environment when suddenly the admin pages started looking funny, and I'm getting some javascript errors. The js errors are centered around Behavior, which comes from lowpro.js, and I'm noticing that the admin pages aren't loading it correctly. not sure what I screwed up, but when I try to go back and rebuild from fresh, I'm getting undefined method 'locale' after logging in. Any idea what I screwed up? rake db:migrate Radiant is now internationalized and a 'locale' is added for each user in the database. Have you updated your public files and configs with this: rake radiant:update If that doesn't solve it, look into any file loading errors where it might look for javascripts/lowpro.js, but it's actually in javascripts/admin/lowpro.js. Some extensions had required lowpro and if you've updated them, they might be looking for it in a new location. Jim Gay http://www.saturnflyer.com ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
Re: [Radiant] Something strange here
On Thu, Apr 1, 2010 at 3:14 PM, Arlen Walker arlen.wal...@gmail.com wrote: Was working with a development environment when suddenly the admin pages started looking funny, and I'm getting some javascript errors. The js errors are centered around Behavior, which comes from lowpro.js, and I'm noticing that the admin pages aren't loading it correctly. not sure what I screwed up, but when I try to go back and what does the error console have to say about the javascript errors? rebuild from fresh, I'm getting undefined method 'locale' after logging in. this part sounds like you were running an edge version and then updated to a newer edge version and didn't run `rake db:migrate` Any idea what I screwed up? Have Fun, Arlen -- In God we trust, all others must supply data ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
Re: [Radiant] Something strange here
On Apr 1, 2010, at 4:35 PM, john muhl wrote: On Thu, Apr 1, 2010 at 3:14 PM, Arlen Walker arlen.wal...@gmail.com wrote: Was working with a development environment when suddenly the admin pages started looking funny, and I'm getting some javascript errors. The js errors are centered around Behavior, which comes from lowpro.js, and I'm noticing that the admin pages aren't loading it correctly. not sure what I screwed up, but when I try to go back and what does the error console have to say about the javascript errors? TypeError: Result of expression 'Behavior' [undefined] is not an object. Far as I can tell, this is because lowpro.js is not getting loaded after prototype and before the rest of the js files rebuild from fresh, I'm getting undefined method 'locale' after logging in. this part sounds like you were running an edge version and then updated to a newer edge version and didn't run `rake db:migrate` Yep, you and Jim both nailed this one. Usually when I do a fresh install I do :update before doing :bootstrap, it appears either this time I didn't or the updated migration isn't in bootstrap, because the migration fixed that. I'm beginning to suspect the js errors are coming from an installation that's an unholy hybrid between 0.8.1 and 0.9. IIRC, it was created by the radiant-rc gem (there seems to be no way of having both the rc *and* the 0.8.1 gem on your system at the same time -- at least the radiant executable identifies itself as 0.9 after installing radiant-rc, and I don't find the 0.8.1 executable anywhere on the system anymore) but I used rake radiant:freeze:edge TAG=0.8.1 to freeze it, so it used the current stable code. Does that sound likely as a cause? Have Fun, Arlen -- In God we trust, all others must supply data ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org