Re: [Radiant] Problems with gallery extension
Sorry to dig up an old thread, but I am running into this exact issue and was wondering what exactly you did to get it working again. I have an app that uses the page_attachments extension and when I upgraded from the radiant 0.6.7 = 0.6.9 gem I ran into this and now I am stumped. I have no idea how to fix it. Are you using the latest version from github? -- Andrea Franz http://gravityblast.com ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Re: navigation and subnavigation
I managed to get this output: http://img.skitch.com/20081202-p88i2wbgdx7dtarkwsyb2cjwiq.png from this code: r:fixie_navigate - Purpose /about/purpose - Boards and Committees /about/boards - Information Center /about/infoctr - Member Directory /about/members - Careers /about/careers -- Vision Statement /about/careers/vision-statement -- Diversity Program /about/careers/diversity-program /r:fixie_navigate The Careers and the Diversity program both have the css active state set. On Fri, Nov 21, 2008 at 5:07 PM, Joe Van Dyk [EMAIL PROTECTED] wrote: Hi, Any ideas on how I could automatically create this sort of navigation? http://img.skitch.com/20081122-j1ew9ww9xxprntjnwbck1mpk93.jpg The navigation tag wouldn't support that, right? ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Problems with gallery extension
git pull origin master Sean I thought so. I'll have to check. If I git-cloned the extension to begin with, can git update (or whatever the command would be) the extension or do I have to install the new one from scratch? ~Nate ___ 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] Current optimum app versions?
Nate Turnage wrote: What is the optimum match for Ruby, Rails, etc. for use with Radiant v. 0.6.9? Does is play well with the latest stable releases of Rails and Ruby (2.2.2 1.8.7) or are there issues with running the up to date releases? Just curious. I believe it is Rails 2.1 and Ruby 1.8.6. But, I think Rails doesn't matter since a copy of Rails is included with Radiant. When deploying you could also freeze it so that there's no confusion. So, the short answer is Ruby 1.8.6 - I think Ruby 1.8.7 support (aka Rails 2.2 in our context) is ongoing! Cheers, Mohit. 12/2/2008 | 11:38 PM. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Re: navigation and subnavigation
Joe Van Dyk wrote: I managed to get this output: http://img.skitch.com/20081202-p88i2wbgdx7dtarkwsyb2cjwiq.png from this code: r:fixie_navigate - Purpose /about/purpose - Boards and Committees /about/boards - Information Center /about/infoctr - Member Directory /about/members - Careers /about/careers -- Vision Statement /about/careers/vision-statement -- Diversity Program /about/careers/diversity-program /r:fixie_navigate The Careers and the Diversity program both have the css active state set. Looks very pretty! Well done! Cheers, Mohit. 12/2/2008 | 11:40 PM. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Re: Creating new pages
Gap said the following on 12/02/2008 07:52 AM: My experience is that I've never gotten this error. The slug and breadcrumb is autoautomatically create from the title. Indeed, but its when creating _NEW_ pages. I keep running into a slightly different problem. I'm using the page_event extension (minor problems with it but that's another matter) and many of the events are presentations that occur monthly. All that changes is the date, speaker and subject. So I 'clone' (aka 'copy') the previous month's page, change the title and little bit of the content. The r:events:date / in there takes care of the date :-) But on the copy the slug only gets a -2 added and the breadcrumb doesn't change. They don't change when the title is changed. I'd like to have them change. Really. I'm sure a case could be made for changing them when the title is changed. -- There is no legitimate religion apart from truth. --John Calvin ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Re: Creating new pages
Anton J Aylward wrote: Gap said the following on 12/02/2008 07:52 AM: My experience is that I've never gotten this error. The slug and breadcrumb is autoautomatically create from the title. Indeed, but its when creating _NEW_ pages. I keep running into a slightly different problem. I'm using the page_event extension (minor problems with it but that's another matter) and many of the events are presentations that occur monthly. All that changes is the date, speaker and subject. So I 'clone' (aka 'copy') the previous month's page, change the title and little bit of the content. The r:events:date / in there takes care of the date :-) But on the copy the slug only gets a -2 added and the breadcrumb doesn't change. They don't change when the title is changed. I'd like to have them change. Really. I'm sure a case could be made for changing them when the title is changed. I believe that if you manually adjust the slug bread crumb once, Radiant will not automatically change it in accordance with the title. I think that is good behaviour since defaults should change automatically, but once it's been fixed, it should hold that, not jump around because you create/ change the title. That said, if you're creating new pages by copying and saving with a new different title, you really should copy the copy and move way - it would be perfect for your needs. I wrote up about it on Summer Reboot: http://wiki.radiantcms.org/Copy_and_Move Cheers, Mohit. 12/2/2008 | 11:49 PM. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Re: Creating new pages
Anton J Aylward wrote: Repeat: copy_move does not give the opportunity to save with a new title. Are we talking about the same thing? The extension named copy_move: class CopyMoveExtension Radiant::Extension version 1.9.1 description Adds the ability to copy and move a page and all of its children url http://gravityblast.com/projects/radiant-copymove-extension/; We are talking about the same thing. I'm sorry I misunderstood your requirements. Perhaps, someone could help us with finding out how to flip that status setting (if any). Cheers, Mohit. 12/3/2008 | 12:53 AM. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Problems after updating app from 0.6.7 = 0.6.9
Problem happened when you upgraded to Ruby 1.8.7. Use 1.8.6 if you can. On Mon, Dec 1, 2008 at 8:06 PM, Nate Turnage [EMAIL PROTECTED] wrote: I have an app that I tried to update from 0.6.7 to 0.6.9 and have run into a couple of problems. It started a bit like this. I ran rake radiant:update which seemed to complete successfully. But when I tried to rake db:migrate I was greeted with the error: ... rake aborted! undefined method `[]' for #Enumerable::Enumerator:0x2329874 ... So I searched around and saw what looked like a cure here (11th response): http://groups.google.com/group/radiantcms-dev/browse_thread/thread/309b7516b2bb72f9?fwc=2 ... unless '1.9'.respond_to?(:force_encoding) String.class_eval do begin remove_method :chars rescue NameError # OK end end end ... Then I ran rake db:migrate the migration died when it got to the sessions table with this error: ... == 16 AddSessions: migrating == -- create_table(:sessions) rake aborted! Mysql::Error: Table 'sessions' already exists: CREATE TABLE `sessions` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `session_id` varchar(255) DEFAULT NULL, `data` text DEFAULT NULL, `updated_at` datetime DEFAULT NULL) ENGINE=InnoDB (See full trace by running task with --trace) ... So I truncated the sessions table and the rake task completed successfully. After that, script/server started the application with no problem. But I discovered a new problem, my database had been wiped clean during the process, so when I tried viewing the site at 127.0.0.1:3000 I was greeted with a login screen. I would really appreciate it if anybody who has run into similar problems could describe what they did to get through all this. My setup: Ruby 1.8.7 Rails 2.2.2, 2.1.2 (tried both) Radiant 0.6.9 Extensions: Archive Blog Tags Comments Copy Move Markdown Filter Page Attachments Share Layouts Subscriber Lists Textile Filter Wine Pairing Widget (custom extension) On OSX 10.5, but the application originated in Ubuntu and was lovingly transferred over to the mac. Everything worked perfectly when it was running on radiant 0.6.7 in both OSX and Ubuntu. Thanks, Nate ___ 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] r:find question
Joe. I assume that you are using Manuel Meurer's Parameterized-Snippets from the syntax (as opposed to my Variables extension) to do this. Neither of our tools (or any radius tags, for that matter) allow this kind of nested parsing out of the box. I believe that Manuel modified Radius to do just what you want (http://github.com/manuelmeurer/radius/tree/master). You'll have to install his version of Radius to somehow overwrite the built-in Radiant one. -Chris Joe Van Dyk wrote: Hi, I have a snippet that contains this code: r:find url=r:var name='match' / r:if_ancestor_or_selfcurrent/r:if_ancestor_or_self /r:find r:var is an extension that lets me pass arbitrary values in to snippets. So, I'd be calling that snippet with something like: r:snippet name=snippet match=/url/of/page / However, I think since the r:var call is in quotes, it's being passed directly to the r:find tag method, without first being evaluated. Is there a way to evalulate the r:var tag, and then have the result be sent to r:find as the url argument? Thanks, Joe ___ 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] Freezing Gems?
I'm having a lot of problems with Passenger at Dreamhost. This is shared hosting. It seems that passenger ignores GEM_PATH in the environment and despite Dreahost's suggestion at http://wiki.dreamhost.com/Passenger of putting the path to the local repository in config/environment.rb the GEM_PATH is still not honoured. As a result, my gems there such as RedCloth4 cant be accessed. I see that other things that presumably were gems at one time are in place under /vendor/ -- bluecloth, redcloth, rubypants .. Is it possible to 'freeze' gems like RedCloth4 there too? -- You may delegate authority, but not responsibility. Frank's Management Rule #1. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] plugin jrails prevents adding page parts
I need to use jQuery and added the plugin jrails. The code for jquery works find when I include the js in the layout, but when I try to add page parts only part of the page is showing no button to create etc. When I removed jrails from the plugins 'add page part' works again. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] r:find question
I think that's what I'm looking for. Any chance that could be merged into radiant core? On Tue, Dec 2, 2008 at 3:48 PM, Chris Parrish [EMAIL PROTECTED] wrote: Joe. I assume that you are using Manuel Meurer's Parameterized-Snippets from the syntax (as opposed to my Variables extension) to do this. Neither of our tools (or any radius tags, for that matter) allow this kind of nested parsing out of the box. I believe that Manuel modified Radius to do just what you want (http://github.com/manuelmeurer/radius/tree/master). You'll have to install his version of Radius to somehow overwrite the built-in Radiant one. -Chris Joe Van Dyk wrote: Hi, I have a snippet that contains this code: r:find url=r:var name='match' / r:if_ancestor_or_selfcurrent/r:if_ancestor_or_self /r:find r:var is an extension that lets me pass arbitrary values in to snippets. So, I'd be calling that snippet with something like: r:snippet name=snippet match=/url/of/page / However, I think since the r:var call is in quotes, it's being passed directly to the r:find tag method, without first being evaluated. Is there a way to evalulate the r:var tag, and then have the result be sent to r:find as the url argument? Thanks, Joe ___ 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] Freezing Gems?
On Tue, Dec 2, 2008 at 6:37 PM, Anton J Aylward [EMAIL PROTECTED] wrote: Erik Ostrom said the following on 12/02/2008 07:46 PM: I'm hosting a site with Passenger on Dreamhost - it's slow, but functional. I used Dr. Nic's Gems on Rails plugin: http://gemsonrails.rubyforge.org/ Basically, you install Gems on Rails as a Rails plugin; install your gems in the normal way; then use 'rake gems:freeze' to install them in vendor/gems in your application. Seems to work fine with Radiant/Passenger/DreamHost. Hmm. Now it blows up with a phusion message: The application has exited during startup (i.e. during the evaluation of config/environment.rb). The error message may have been written to the web server's log file. Please check the web server's log file (i.e. not the (Rails) application's log file) to find out why the application exited. the error log file has no entry at the time for my IP address and the access as only the request that I expect to see. No diagnostics. I suspect it blowing up at the line in evironment.rb that reads config.plugins = [ :all ] though I'm not sure how I can prove that. What else did you do? Unfreezing the gem (RedCloth-4.1.1) and the application works once again Next! Does the RedCloth 4.1.1 gem need to be compiled? If so, and you are freezing it, it needs to be compiled on the same platform and OS as whatever Dreamhost is using. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant