[Radiant] Radiant Distribution
Hi there *, I just have seen your awesome effort on the radiant_platform http://github.com/spanner/radiant_platform and the radiant-multisite http://github.com/netzpirat/radiant-multisite/ I would like to join forces to a) bring this to radiant 0.9 b) integrate extensions from http://github.com/Aissac c) update both to be able to use the chronicle and reorder extension are there any plans on that? or is this a dumb idea? cu edi -- DI Edmund Haselwanter, edm...@haselwanter.com, http://edmund.haselwanter.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] Radiant Distribution
Hi Edmund, Probably an excellent idea! I've been using many similar extensions, relevant here are: spanner/radiant-multi-site-extension spanner/radiant-reader-extension spanner/radiant-reader_group-extension spanner/radiant-reader_group-extension They're working mostly fine alongside: jgarber/radiant-chronicle-extension bright4/radiant-drag-order # beats reorder and copy_move! This would seem to be a very useful stack for someone providing an edit your own site service to multiple users. Another extension I find useful for this purpose is: p8/radiant-rbac_base-extension Which allows you to give users custom roles. I use this for more fine- grained control - a moderately advanced user is an asset_user, but not a layout_user which means they can see and access the former tab but not the latter. I wonder which of Aissac's extensions you had in mind? -Arthur ___ 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 Distribution
On 26.11.2009, at 11:49, Arthur Gunn wrote: Hi Edmund, Probably an excellent idea! I've been using many similar extensions, relevant here are: spanner/radiant-multi-site-extension spanner/radiant-reader-extension spanner/radiant-reader_group-extension spanner/radiant-reader_group-extension They're working mostly fine alongside: jgarber/radiant-chronicle-extension bright4/radiant-drag-order # beats reorder and copy_move! ah. interesting. an this one gets along with chronicle? btw. is chronicle radiant 0.9 ready? I think an extension for versioning is crucial :-) This would seem to be a very useful stack for someone providing an edit your own site service to multiple users. Another extension I find useful for this purpose is: p8/radiant-rbac_base-extension Which allows you to give users custom roles. I use this for more fine- grained control - a moderately advanced user is an asset_user, but not a layout_user which means they can see and access the former tab but not the latter. I wonder which of Aissac's extensions you had in mind? At least the ones mentioned on their blog (http://blog.aissac.ro/) • Custom Fields Extension • Database Mailer Extension • Globalize2 Extension • Globalize2 Paperclipped Extension • Member Extension • Paginate Extension • Sitemap XML Extension • Stereotype Extension • Super Export Extension • Tiny-Paper Extension • Ultrasphinx search extension what I want to achieve is multisite with globalize2, chronicle and some kind of member management (more the reader style) cu edi -- DI Edmund Haselwanter, edm...@haselwanter.com, http://edmund.haselwanter.com/ ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] undefined method `camelize'
I have tried to run the radiant command on top of your existing project replace the old configuration: # radiant /www/radiant1 and got a message: undefined method `camelize' for instance:String Nevertheless request of the current version gave: radiant -v Radiant 0.8.1 (previous version was 0.6.2) Next step: rake production db:migrate (in /usr/local/www/radiant1) /usr/local/www/radiant1/config/boot.rb:23:Warning: Gem::SourceIndex#search support for String patterns is deprecated, use #find_name rake aborted! undefined method `require_gem' for main:Object /usr/local/www/radiant1/Rakefile:1 (See full trace by running task with --trace) Current gem: gem -v 1.3.5 What should I do to upgrade my radiant? ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Help running tests
Hello! This may be a bit of a silly question but I'm having issues running any of the tests. If I run an individual spec in the spec/models folder I get an error 'no such file to load -- dataset' . Does any documentation exist that talks about running the tests? I found one rake task radiant:release but that gives me the same error. I would appreciate any help with understanding how to run the tests. Thanks so much! paul ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Page Event Extension
On 24 Nov 2009, at 22:10, subsor...@gmail.com wrote: It looks like it filters the events by date in the same manner as the blog archive page type filters blog posts by date. Just replying to myself incase this proves useful for anyone. The Archive Events page does indeed work like the Standard Archive page types and allow you to list events filtered by start_date, however the tags for the Event Day page seem to return events for the entire month, instead of for a single day, instead of what the archive title indicates. Here are some amendments to the event_day_index_page.rb page that seem to correct that and list events just for a single day. class ArchiveFinder def event_day_finder(finder, year, month, day) new do |method, options| start = Time.local(year, month, day) finish = start.tomorrow add_condition(options, event_datetime_start = ? and event_datetime_start ?, start, finish) finder.find(method, options) end end end tag archive:children do |tag| year, month, day = $1, $2, $3 if request_uri =~ %r{/(\d{4})/(\d{2})/(\d{2})/?$} tag.locals.children = ArchiveFinder.event_day_finder(parent.children, year, month, day) tag.expand end tag archive:unless_children do |tag| year, month, day = $1, $2, $3 if request_uri =~ %r{/(\d{4})/(\d{2})/(\d{2})/?$} if ArchiveFinder.event_day_finder(parent.children, year, month, day).find(:all).empty? tag.expand end end The only trouble with this is that it limits all events pages to be the children of the Events Archive page. Another way to list all events for a single day in the future is to use the route handlers extension and filter the events by url/date: Route: route\/(\d{4})/(\d{2})/(\d{2})/?$ Fields: start_year, start_month, start_day Although this means creating a page for each month of the year... Does anyone know of a good trick to find all children of the root instead of using parent.children? ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Help running tests
If you cloned the repository from github, make sure to run `git submodule init git submodule update` before you run the spec suite. Sean Paul Sullivan wrote: Hello! This may be a bit of a silly question but I'm having issues running any of the tests. If I run an individual spec in the spec/models folder I get an error 'no such file to load -- dataset' . Does any documentation exist that talks about running the tests? I found one rake task radiant:release but that gives me the same error. I would appreciate any help with understanding how to run the tests. Thanks so much! paul ___ 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] Last modified header
Is there a way to add the Last-Modified header to a template and have it served correctly. Correctly ... ? Well, would that be from the date the page was last modified? r:date [for=updated_at / OK, so I have a page whose body is r:if_children r:children:each r:content / /r:children:each /r:if_children and one of those was modified later than the parent page ... which is quite reasonable if you set up structure before content. And what if there are further nesting? -- Not even the most heavily-armed police state can exert brute force on all of its citizens all of the time. Meme management is so much subtler. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant