Re: [Radiant] page_attachment error
On Thu, Nov 5, 2009 at 1:47 PM, Jeff Randall jrand...@iaak.net wrote: I am running Rails 2.3.4, Radiant 0.8.1 on Ubuntu 8.0.4 Did you run the update after the migration? Oh and be sure you checked out the proper branch or tag for 0.8.1. I think master is set up for 0.9. ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Mailer not working with 0.8.1 passenger in production mode
I am having problems with the Aissac branch of the mailer extension, 0.8.1 branch, running with passenger on my production server. On my development machine it works perfectly well (redirects to thank you page), but on the production server it doesn't redirect. The database is exactly the same for both environments. This is the output for each process: Production: Processing SiteController#show_page (for 127.0.0.1 at 2009-11-05 15:49:58) [POST] Parameters: {x=104, y=23, url=[contact], action=show_page, mailer={name=test, employment=true, moreinfo=true, internship=true, organization=testing, message=taoiklj l;kj ;lkj ;lkj ;lkj ;lkj , email= pixeln...@gmail.com}, controller=site} Sent mail to nturn...@andadv.com, kgres...@andadv.com Completed in 6407ms (DB: 7) | 200 [http://localhost/contact/] Development: Processing SiteController#show_page (for 127.0.0.1 at 2009-11-05 15:51:50) [POST] Parameters: {x=92, y=29, url=[contact], action=show_page, mailer={name=test, employment=true, moreinfo=true, internship=true, organization=testing, message=taoiklj l;kj ;lkj ;lkj ;lkj ;lkj , email= pixeln...@gmail.com}, controller=site} I don't know where to start to troubleshoot this. Any pointers? ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Question about checking out branch of database_mailer
Hey all. I gotta quick one. I have the database_mailer extension loaded as a submodule. I tried to update it to origin/master then run the migration on it, but I am getting errors. I ran git submodule init git submodule update, then I saw that there were branches for 0.7, 0.8, 0.9. I cannot remember how to check out a remote branch. Can somebody refresh my memory on how to do that? Running 0.8.1. Thanks, Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Question about checking out branch of database_mailer
On Mon, Oct 26, 2009 at 11:36 AM, Cristian Duma cristi.d...@aissac.rowrote: let me be clear(er) :) git checkout -b local origin/0.8 for Radiant 0.8.1 Thanks for that. ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Another question about database_mailer - capturing a file?
How do I set up a column in the environment for database_mailer to capture a file submitted by a user? And more of a mailer question: How can I include that file in the email set out with mailer? ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Another question about database_mailer - capturing a file?
On Mon, Oct 26, 2009 at 12:10 PM, Cristi Duma cristi.d...@aissac.ro wrote: 1. Any attachments that the e-mail might have will be automatically saved on the file system. They can be downloaded from the details page of every record. OK, that clears that up. 2. You need r:mailer:file name=attachment / but the official version of mailer doesn't support mail attachments. Jomz had a version, which we took and merged into our version of mailerhttp://github.com/Aissac/radiant-mailer-extension Alright. I have your version installed. I have to say, though, that it would be really nice if the 20+ forks of mailer could all be wrangled into the main version of mailer. I would love to have a mailer that worked with file attachments [multiple attachments?], captured the info in database_mailer *and* made use of Recaptcha. It is frustrating trying to decipher the network graph to figure out which extension(s) to use sometimes. Thanks for your help, Cristi. ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Is the RedCloth extensions known not to work with 0.8.1?
I am trying to style a list item in a footer snippet and it is not working, so I decided to try loading the redcloth extension. And now I am getting an error about an unitialized constant in the redcloth_extension. Is the redcloth extension still useful for 0.8.1? This is what I am trying to do: *(class1) List Item One *(class2) List Item Two *(class3) List Item Three But instead of rendering this: ul li class=class1List Item One/li li class=class2List Item Two/li li class=class3List Item Three/li /ul It renders this: p *(class1) List Item Onebr *(class2) List Item Twobr *(class3) List Item Three /p Styling list items this way works on the Redcloth website: http://redcloth.org/try-redcloth/ Should I report this as a bug somewhere? ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] mailer and post_to_page? option
On Tue, Oct 13, 2009 at 2:57 PM, Travis D. Warlick, Jr. warli...@operissystems.com wrote: I'm having trouble understanding when to use the mailer.post_to_page? configuration option. I did some googling, but I can't seem to understand when someone would have to use it. I understand that it pretties-up the URLs, but is there any other pro/con to using it? Any conflicts with it on or off? I originally thought this was a way to show the submitted info to the user on the redirected page, but I cannot figure it out either. What *is* it good for? ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Fwd: Re: [Radiant] the error on rake command]
On Mon, Oct 12, 2009 at 10:09 AM, fredmann wonder fredman...@gmail.comwrote: of course i have installed the cucumber gem. Well then. I dunno. I just installed the gem, and bootstrapped a mysql db without any problem. Do you have the 0.8.1 gem installed? I got a bunch of gem dependencies installed when I upgraded to v0.8.x. On OSX.5.x. ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Restricting access to select pages
On Mon, Oct 12, 2009 at 11:44 AM, James Britt ja...@neurogami.com wrote: Hey all. I'm setting up a Radiant site, and in addition to having to add some custom behavior, I need to be able to restrict access to specific pages for different users. I've started trying p8's Restricted Access extension ( http://github.com/p8/radiant-restricted-access-extension) but wondered if there was something else folks would recommend. That extension looks awesome. I had no idea that something like this existed for Radiant. ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Git Confusion - thread detour from [Radiant] [ANN] Radiant 0.9.0 RC1
On Mon, Oct 12, 2009 at 12:26 PM, Anton Aylward anton.aylw...@rogers.comwrote: Arthur Gunn said the following on 10/12/2009 08:24 AM: Perhaps, then, you can suggest a source of How To for GIT for non-developers. There are no end of resources out there, my personal recommendation though: http://www-cs-students.stanford.edu/~blynn/gitmagic/http://www-cs-students.stanford.edu/%7Eblynn/gitmagic/ Ah. about 50 pages more than I wanted. Telling me all the things that as a non-developer I don't need to know about, and not answering fundamental questions like when do I have to worry about a 'module' or 'submodule' and how can I keep from geting an update from 0.9 when I've got a 0.6.9 based application or vice versa, and what if I'm using 0.9 and I try to ... clone? ... an extension that hasn't a 0.9 revision now but will have in the future? I'm sure I'm not the only person on this list who has questions like that. I can assure you that you are not. I am also come from a 'non-developer' background (wishing I had gotten that CS degree, though) and I blazed the git trail myself back in January when I moved a project from 0.6.9 to 0.7.0. There is a lot to learn, especially if you haven't worked with source control before. I tell ya what, I have been meaning to resurrect/rebuild my long dormant blog and I'll make that the first topic. If you can give me a few days I'll compile a short Newbies guide to Git and Radiant describing my whole development process. It's something I promised to do a long time ago and never had the time. In the meantime, if you have any specific questions about the process, please ask them. So far I see the git-related questions are: - What are submodules? Which is really a question about how to install extensions when your project is managed with git and is related to using Ray. - How can I make sure the extension I am using will work with my project running v.X.X.X? This isn't a git question that I intend to cover because I think it is in the wiki already, but I'll answer it here: - How can I install newer gem versions of Radiant but stay with 0.6.9 on this project? By default, Radiant will try and use the latest version of the gem that you have installed. To use a specific version of Radiant, go into environment file (config/environment.rb) and add this line under the require 'radius' line (substitute your version for 0.8.1): RADIANT_GEM_VERSION = '0.8.1' Then save the file and restart the server. What I am not certain on is how you *create* a Radiant project using a specific version of the gem. If anyone could chime in here it would be great. I didn't see it mentioned in the wiki either. I hope that clears up some part of your confusion, Arthur. Like I said, I'll get to the git 'splaining shortly. I know what it's like to have a developer point you to a source of info chock-full of stuff that you don't understand when you ask what seems like a simple question. ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: Git Confusion - thread detour from [Radiant] [ANN] Radiant 0.9.0 RC1
On Mon, Oct 12, 2009 at 2:45 PM, Dayne Broderson da...@gina.alaska.eduwrote: Ahh, that is actually pretty easy. Just ask gem where you're gems are installed. You can find that from 'gem environment' and looking at GEM_PATHS. Mine is typically /usr/local/lib/ruby/gems/1.8. In that directory is another gems directory with inside that each of your installed gems. If you have a few radiants installed they will be hanging out there. Use the explicit path to the version of radiant you want. Pasted below is the series of commands from my box if I were interested in a 0.7.1 install: [dbrod...@beef ~]$ gem environment RubyGems Environment: - RUBYGEMS VERSION: 1.3.5 - RUBY VERSION: 1.8.7 (2008-05-31 patchlevel 0) [x86_64-linux] - INSTALLATION DIRECTORY: /home/dbroders/usr/gems - RUBY EXECUTABLE: /usr/local//bin/ruby - EXECUTABLE DIRECTORY: /home/dbroders/usr/gems/bin - RUBYGEMS PLATFORMS: - ruby - x86_64-linux - GEM PATHS: *- /usr/local/lib/ruby/gems/1.8* - GEM CONFIGURATION: - :update_sources = true - :verbose = true - :benchmark = false - :backtrace = false - :bulk_threshold = 1000 - REMOTE SOURCES: - http://gems.rubyforge.org/ [dbrod...@beef ~]$ /usr/local/lib/ruby/gems/1.8/gems/radiant-0. radiant-0.6.9/ radiant-0.7.0/ radiant-0.7.1/ radiant-0.8.1/ [dbrod...@beef ~]$ /usr/local//ib/ruby/gems/1.8/gems/radiant-0.7.1/bin/radiant That's pretty easy? :^O I guess it's not that difficult, but I could have sworn there was an easier way. Something like this: radiant -v=0.7.1 --database [mysql] project That of course doesn't work, but I thought there was something easy like that. I could be wrong, probably am. ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: Git Confusion - thread detour from [Radiant] [ANN] Radiant 0.9.0 RC1
On Mon, Oct 12, 2009 at 3:35 PM, john muhl johnm...@gmail.com wrote: snip i've found the following to be pretty easy to use once it's setup. - clone the latest radiant source to somewhere in your home directory; i use ~/.radiant git clone git://github.com/radiant/radiant.git ~/.radiant - add aliases to your ~/.bashrc file (or ~/.profile or whatever) such as: /snip That's insanely cool if you don't use the gem. I might switch to doing it that way. If you don't mind, I may use that in my tutes. ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Radiant on IIS possible?
My company is putting together an RFQ for a website project for one of our clients. We only build Ruby on Rails applications, mostly with Radiant. One of the requirements for their website is that it be hosted on their Windows server with IIS. Is this possible? What options are available for hosting Rails sites on IIS? Thanks, Nate ___ 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 on IIS possible?
On Thu, Sep 10, 2009 at 12:01 PM, Jim Gay j...@saturnflyer.com wrote: You shouldn't have a problem doing it. One of our clients used to be on IIS and SQL Server with Radiant. You'll need to purchase isapi_rewrite from http://www.isapirewrite.com/ or http://www.helicontech.com/isapi_rewrite/ unless there is some other way out there to easily do it now. But it was well worth the money when we had it. At the time we were running versions ranging in 0.5 - 0.6 of Radiant and had IIS as a front end to Mongrel. I did find a PDF online from back in 2006 that described that process, but didn't know if that was still the right way to do it. I know nothing about IIS so, if you don't mind, I may be picking your brain if I run into problems. Thanks, Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Extenision help for a newbie
On Thu, Jan 29, 2009 at 12:23 PM, Jeroen Janssen jeroen.jans...@gmail.comwrote: rake db:migrate:extensions rake radiant:extensions:update_all Or if you don't want to migrate extensions after they have already been migrated, assuming the extension is called templates, this works: rake radiant:extensions:templates:migrate rake radiant:extensions:templates:update ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Extenision help for a newbie
On Thu, Jan 29, 2009 at 1:50 PM, Sean Cribbs seancri...@gmail.com wrote: Did your Radiant bootstrap ok? I am guessing that is the problem, too. ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Template field as link: possible?
There is a field in one of my templates that contains a link to an external page and I would like to know how I can use that field in an a href or an r:link / kind of tag. I need something like this: a href=r:content part=link /r:title //a Is this possible in any way? ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Template field as link: possible?
On Wed, Jan 28, 2009 at 10:34 AM, Sean Cribbs seancri...@gmail.com wrote: I assume you're talking about the templates extension. And yes, all you need to do is put the code you typed in the appropriate place of the structure part of the template. OMG! It does work. I thought that the quotes of the tag would interfere with the href tag and I would need some other extension for it to work. This rocks! ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Template field as link: possible?
On Wed, Jan 28, 2009 at 11:12 AM, Mohit Sindhwani t...@onghu.com wrote: So did I! So, I wrote this for you: tag 'local:natelink' do |tag| part = tag.locals.page.parts.find_by_name('link') url = part.content a href=\#{url}\This is a link/a end Darn! Thanks anyway. This really makes me think that I need to bone up on my rails fu and ruby fu. I need about 2 hours more per day. ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Using Templates extension, how do I change page status?
Sean, You had mentioned that you were using an extension with the templates extension that allowed you to change the status of the page outside of a templated page? Can you tell me which extension that was? The site I am building makes extensive use of the templates extension, and it is really becoming a pain to use either the Copy/Move extension to move the page and change the status and then move it back, or use the command line to change the status. The templates extension is really awesome except for that (and a few other minor things). Thanks, ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Using Templates extension, how do I change page status?
On Tue, Jan 27, 2009 at 10:54 AM, Sean Cribbs seancri...@gmail.com wrote: Nate, It was something internal to Redken. Like the templates popup menu, it added a status menu to the appropriate column in the sitemap. Both times I've used templates in a project, we've had something else managing the status, so we didn't need it in the edit view. However, I believe someone patched templates to put the status selector back. I'll check it out. Thanks. I didn't mean to sound like I was looking the gift-horse in the mouth. I'll take a look at github and see if I can find the extension with the changes. In the meantime I found that I can create the page as a blank page, set the status, then change it to whatever template I want to use. Thanks again, Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Accidently removed the body of contest2.radiantcms.org/
On Tue, Jan 27, 2009 at 3:21 PM, Joe Van Dyk j...@pinkpucker.net wrote: Other things that we think most people would want by default: - some sort of rich text editor I use the It's all text Firefox extension and edit all my code in Textmate. ;^) - asset manager better integrated I would agree on this, but it must be based on Paperclipped for me to use it. I refuse to add page_attachments on another project. So if it's page_attachments based, then no thanks. ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] what extensions do you have installed?
On Tue, Jan 27, 2009 at 9:38 PM, john muhl johnm...@gmail.com wrote: I'd like to get some kind of idea what the most popular extensions are. 76b794c12f184abb342f7bf96c5382f106758ffc vendor/extensions/copy_move (76b794c) e27cab9e0d513dff61e1e54c465ee4f2798102b2 vendor/extensions/import_export (e27cab9) -afc9bc55d554016b44526fab6264bfbbcc37ac37 vendor/extensions/paperclipped -69e186738aecfc25a1368c2cc2493de1b8bc1c44 vendor/extensions/redcloth4 -07da84befa32504e566f4796b7b54232fca1b901 vendor/extensions/reorder -ebb12772471fff66ae6ce0ebb1e432f52aff00d3 vendor/extensions/settings -8414ca164c101bb3909de5c525c64d3b26ba62b8 vendor/extensions/sns -1315ea38c62e84f19ef978cfcd6e9280109ba346 vendor/extensions/templates -e142ad0de418e960f908a3e387b7d2d4f41ef50f vendor/extensions/textile_editor ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Can we still take a look at the admin side of the Roasters theme?
I need to do some work with google maps and the Roasters theme, according to the theme contest winner post, apparently had used them. I'd like to take a look at how that was accomplished. On the blog it says Feel free to peruse both the front-end and the admin sections of each site via the links in the top frame... but I did not see any links to even look at the sites. Can anybody tell me how I can view that Roasters site that was being judged? Thanks, ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Can we still take a look at the admin side of the Roasters theme?
On Mon, Jan 26, 2009 at 3:43 PM, Jeroen Janssen jeroen.jans...@gmail.comwrote: The roasters website is up at http://contest2.radiantcms.org The admin site should be http://contest2.radiantcms.org/admin , but I can't remember the login information. Thanks, guys. I had forgotten about trying to use My Maps. I have some experience with Geokit (http://www.billeisenhauer.com/examples/geokit) and was hoping for something a bit more like that. But using My Maps will definitely work for what I am doing now. ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Strange page_attachments error
I added and installed SNS and now I am getting a page_attachments error when trying to view the public facing part of a site I am working on. I have never seen this before. Can anybody tell me why/how this is happening? Are there any know issues between SNS and page_attachments? Here's the error: NoMethodError in SiteController#show_page You have a nil object when you didn't expect it! The error occurred while evaluating nil.public_filename Pastie of the mongrel output: http://pastie.org/369560 Thanks, Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] paperclipped
On Thu, Jan 22, 2009 at 1:39 PM, Jose Hales-Garcia j...@stat.ucla.eduwrote: On Jan 22, 2009, at 11:18 AM, Steven Southard wrote: I was wondering if anyone is using paperclipped with 0.7.0rc2. It seems to be stalling out on uploading an asset. This could easily be something unrelated to 0.7.0rc2. If anyone knows anything about what's going on I'd greatly appreciate the help. Would the asset happen to be a non-image file like a PDF or Word document? I couldn't get past this problem, hence I went with page_attachments, but others on this list have gotten it working. It works with other mime-types, but you have to specify them using the Settings extension. You may also need to pare (sp?) down the number of mime-types listed as well, because sometimes that field in settings is truncated. It's really no big deal, just take out the mime-types you'll never use (and there are a few) and replace them with the ones you need. I have no problems using paperclipped, but I am using it with 0.6.9, though. ~Nate ___ 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: paperclipped
On Thu, Jan 22, 2009 at 6:53 PM, Benny Degezelle be...@gorilla-webdesign.be wrote: Hi folks, I was wondering if anyone is using paperclipped with 0.7.0rc2. It seems to be stalling out on uploading an asset. This could easily be something unrelated to 0.7.0rc2. If anyone knows anything about what's going on I'd greatly appreciate the help. This is due to the new RESTful routes in 0.7; paperclipped is trying to a named route that no longer exists. Have a look at the last commit in my fork; http://github.com/jomz/paperclipped/commit/404042a29a3ab5483d73c16b5527b426e43dbda3 It works with other mime-types, but you have to specify them using the Settings extension. You may also need to pare (sp?) down the number of mime-types listed as well, because sometimes that field in settings is truncated. It's really no big deal, just take out the mime-types you'll never use (and there are a few) and replace them with the ones you need. I also made it skip mimetype validation altogether if you set Radiant::Config[assets.skip_filetype_validation] = true see the github network; http://github.com/kbingman/paperclipped/network That is great information, Benny. When I move up to 0.7, I'll definitely need this. Thanks. ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] access to non published pages in public site when logged in as admin
On Thu, Jan 22, 2009 at 4:27 PM, br...@yourweb.com.au wrote: How do I modify the selection to allow this in production environment. Man, I had just typed up a draft of this same question before I saw yours. I was looking to do the same thing. What I was trying to do is use the page content from unpublished pages in a parent page. It makes the info I was trying to display easier to maintain if I can keep it on a separate page. But, and this is the key, I don't want anybody to figure out the slug to view the child page on it's own. Is that possible? With 4 page status settings, I would think setting the page to hidden would work, but it doesn't. ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] How can I have multiple RSS feeds for multiple sections of my site?
I have read, what I think to be, all the places where RSS feeds are mentioned for use in Radiant and I cannot find out how I can add multiple feeds on my site. I need to have separate feeds for different sections of my site, /blog/rss, /recipes/rss, /etc/rss. But if the rss page is sitting under a parent it becomes one of the children and it won't render the feed. Has anybody done this before that can share some insight? Thanks, ~Nate ___ 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!! - SQLite3::BusyException (database is locked)
On Thu, Jan 15, 2009 at 2:53 PM, Anton Aylward anton.aylw...@rogers.comwrote: Sean Cribbs said the following on 01/15/2009 03:27 PM: Do you have a rogue/zombie process that has a lock on the SQLite3 db? I'd say sweep out any mongrel processes (or restart Apache if you're using Passenger) and try again. Its hosted at Dreamhost but I've tried killing everything in my ID except the login shell. NIX Have you submitted a support request to Dreamhost? ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] [ANN] Announcing the Winner of the Template Contest
On Wed, Jan 14, 2009 at 11:13 AM, Sean Cribbs seancri...@gmail.com wrote: I printed them up in October, gave out a bunch to sprint attendees, and held onto some for the contest. I might be persuaded to sell some soon. You have any pics? Any shirts in XXL? :^) ~N ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: Default Extension Proposal (was - Re: [Radiant] Re: Looking for something similar to summarize...)
On Mon, Jan 12, 2009 at 9:25 PM, Mohit Sindhwani t...@onghu.com wrote: Ben Morrow wrote: Mohit Sindhwani wrote: Actually, this method should be written up in the Radiant 2009 Documentation project as a good simple example of bringing in Rails methods into Radiant installs - it would help those entry level Rails programmers who wonder how to bridge the worlds of Rails and Radiant. Cheers, Mohit. 1/12/2009 | 9:28 PM. I wholeheartedly agree. The method seems simple enough, but I'm not sure how to implement it myself. Hi Everyone (especially developers), I have a proposal that Radiant should include a default extension called 'my_tags' or 'local' or something. [Rationale] There are quite a few suggestions on this list for doing something like the above 'truncate' tag. All it requires is to throw in some simple tag-related code and access it from the Admin UI. This is especially so for simple things that do not require complex logic in the background and do not need much else other than a few simple calculations. Examples are: * the above truncate method * a tag that spits out textile for a URL that is linked to itself * a tag that uses Javascript for encoding the mail address * something that checks if a New icon should be displayed next to the title of an article depending on its age ...and so on. For good reason, a lot of these are simple things and are typically 'local' things that get customized for the specific installation and needs. I was wondering if it would be a good idea for Radiant to include an empty 'local' extension into which such code could be dumped. This would have the effect of: a) Having a common place where people can add their own tags (or tags taken from this list) b) Less tech-savvy developers being able to modify things without necessarily having to create an extension, a task that sounds very demanding and daunting. What do you think? +1 ~Nate ___ 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: GitHub Gem Hosting
On Tue, Jan 13, 2009 at 12:16 PM, Arik Jones makin...@gmail.com wrote: Bring over the new UI! Take a risk! -- Hush, you. ~Nate ___ 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: Re: E-Commerce, Anyone?
On Tue, Jan 13, 2009 at 5:59 PM, Sean Schofield sean.schofi...@gmail.comwrote: Have you ever used Spree? Can it be set up as an extension to use with share_layouts? What do you mean by share_layouts? The share_layouts extension: *http://tinyurl.com/share-layouts* It allows you to share Radiant view with your own controllers. Theoretically you could have a Spree project and a Radiant project share the same views. It would be great if somebody could figure out a way to turn Spree into an extension. Sadly, my Rails_fu is just not up to the task, I could use this. ~Nate ___ 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: E-Commerce, Anyone?
On Mon, Jan 12, 2009 at 1:58 PM, jason white stonesoupandboiledfr...@gmail.com wrote: The best eCommerce source for Ruby on Rails is Spree http://spreehq.com Radiant is an excellent CMS, and i'm sure that you could use it for an eCommerce solution, but i would use Spree. Have you ever used Spree? Can it be set up as an extension to use with share_layouts? I have a shop on Shopify because it seemed like a logical choice at the time. It would be cool to move that over. ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Children + Siblings
On Mon, Jan 12, 2009 at 2:43 PM, Paul Ingles ping...@me.com wrote: Hi, I'm trying to show a side-menu with a section, so, for example: - Welcome + Items Intro ++ Item A ++ Item B I'd like to show a list with Items Intro, Item A, and Item B on the Items Intro, Item A, and Item B pages- with my current page highlighted. At present, I'm doing something similar to: r:children:each li r:if_self class=selected/r:if_selfr:unless_self class=item/r:unless_self a href=r:url/r:title //a /li /r:children:each I believe that if you wrap that snippet with r:find url=/items-intro/.../r:find you should be good. ~Nate ___ 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: Re: Flash In IE
On Sun, Jan 11, 2009 at 12:50 PM, Ceaser Larry ceaser.la...@gmail.comwrote: My first extension I created provides radiant tags to load flash objects using swfobject. If also works with paperclipped or any url string. You can find it on github its called radiant-flash_content-extension. http://github.com/ceaser/radiant-flash_content-extension/tree/master Oh man, I cannot wait to try this one out. ~Nate ___ 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: Re: Drop down menus?
I forgot... Son of Suckerfish: http://htmldog.com/articles/suckerfish/dropdowns/ If you are putting flash on a page you should be worried about using 12 lines of js. ~Nate ___ 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 installing extension page_attachments
On Thu, Jan 8, 2009 at 5:50 PM, Sean Cribbs seancri...@gmail.com wrote: I'm not certain about the 0.7RC script/extension problem, but if you're using 0.6.9, and use script/extension install, go into vendor/extensions/page_attachments and run this: git reset --hard 0.6.9 This will put the extension back onto a (hopefully) 0.6.9-compatible version. Now run `git submodule init git submodule update` to get attachment_fu, and then run `rake db:migrate:extensions radiant:extensions:update_all` from the root of your project. Going forward, we should be adding support for selecting specific tags/forks/etc from the extension installer. I'm going to reiterate my call for contributions to the extension registry. It essentially hasn't changed since I deployed it in August. Sean, I had to go back to 81124e93 to get page_attachments to work properly. The very next commit broke the ability to destroy page_attachments. I think it was the changes in the model page_attachment_associations.rb that removed both the :delete_attachments and :destroy_attachment attribute accessors. I tried a number of releases and 81124e93 was the first that worked exactly as it was supposed to. That my experience any way. I spent a lot of time trying to get this to work and nothing more recent would. ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Passing dynamic values to page_attachment tags
On Wed, Jan 7, 2009 at 3:00 PM, Keith Bingman ke...@keithbingman.comwrote: What was your problem with non image files? Paperclip handles those pretty well now and paperclipped is getting better... And Paperclipped handles Radiant 0.6.9 better than page_attachments as well. No offense to it's author, but after fighting with page_attachments to get a previous commit that won't break 0.6.9 working on my dev and production servers, I won't be using page_attachments again. Paperclipped is much easier for managing assets, eveything is much more organized, the content is searchable and you sort by media type. And on top of it all you don't have to create a content page for storing all your assets and links to images are just as simple as Adam manetioned: r:assets:image title=Standard Check Mark /. IMHO, page_attachments was good for it's time and filled a need for asset management, but with paperclipped now available I won't be using it on any future projects. ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] About Radiant Podcast podcast tags and site structure
On Tue, Jan 6, 2009 at 9:38 AM, Mohit Sindhwani t...@onghu.com wrote: Nate Turnage wrote: Mohit, you think you can get this into the Reboot docs? This is awesome! I was just about to ask the list about this. Hi Nate, A bit tied up, but I've done the next best thing - linked a new page in the documentation to Sean's message in the Mailing List Archive so that it's easy to find. Will migrate the content and extension when I get a bit more time. http://wiki.radiantcms.org/Producing_a_Podcast You are the man. I have one more thing to get out of the way and I'll start helping you out with that. Documentation is still a bit weak for Radiant and I want to help that not be the case. Cheers, Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Using SnS - why use SnS file_system extension
I am using SnS to manage my css and js files and was wondering about the benefits of using the *radiant-sns_file_system-extensionhttp://github.com/nelstrom/radiant-sns_file_system-extension/tree. *If using the extension speeds up accessing the css and js files and allows for better caching, why drop them to the file system? This is my scenario as it is: Project is managed in git, and the application (radiant-generated and extension-generated) css and js files are under version control. The extra files, like sifr-config and jquery js files are in sns. I did this to keep frequently updated files (by the user) out of source control. That way I don't end up pulling old js of css files if I need to do a pull. For other people building their apps and using git (or svn) how do you manage your css and js files if not in a way similar to this? Thanks, ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Edit History Extension
On Mon, Jan 5, 2009 at 10:52 AM, Adam van den Hoven adam.vandenho...@gmail.com wrote: You should also consider that if you're going to keep a version history that only one revision (and certainly not necessarily the current revision) should be published. This will allow you make a number of changes to a page (especially useful if you extend the page preview extension to work with versions) without affecting the current public version. This would also allow you to reduce the size of the version history by keeping all the incremental edits once this version is published collapse the version history down to the published version. This gives you a history that includes all the published versions and all the incremental changes since the last published version. The core development team may want to consider a modification to the core status properties which will (a) make it easier to do versioning as I've mentioned and (b) make things clearer. The change is to break the current status into 2 two fields. The first would be called status and would have values like draft, reviewed, published. The second field would be visibility and would have values like visible and invisible. Visible and the three status values map directly to the current status values, and published + invisible is the same as the current hidden status. This allows you separate the purpose of a page (RSS, CSS, etc) from its status. I think this simplifies the meaning of things since whether or not a page is publicly accessible is completely independent of whether or not that page appears in navigation. It will also make it easier, I think, to create a workflow extension. As long as we're in pie-in-the-sky mode, this scheme sounds really good. As someone who would not be able to help with any part of its implementation, I say go for it. I will help to document it once I figure it out how it works, though. ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Any reason not to use SQLite3?
Since Radiant is meant for more medium scale projects, is there any real drawback to using an SQLite3 database instead of the heavier-duty MySQL? Sort of thinking out loud here. I have my projects now managed with git, but to move the database content from my local machine to the production server I am doing a dump then import approach. Is there a better way? Perhaps something that can be automated into a deploy.rb file? ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Re: Extensions as submodules - one more time
On Wed, Dec 31, 2008 at 10:54 PM, Nate Turnage pixeln...@gmail.com wrote: Andrew was kind enough to document for me how to use a local branch of a git-cloned extension in a project. Sean was kind enough to explain how to set up extensions as submodules in a git-managed project. I have one more question related to git, submodules and extensions. Is it possible to create and use a local branch of an extension when it is included as a submodule? I just want to ask before I start on something that isn't possible (or the correct way to do things). I just want to add that I found an answer for my question here just in case anyone wants to know or needs to know. If you add your extensions as git submodules and you want to use an earlier commit of that extension, what you have to do is set up a run line in the after_deploy area of your deploy.rb file. For instance, your project is managed using git, you are using Radiant 0.6.9 and you want to use the page_attachments extension. Well, the page_attachements extension broke compatibility with 0.6.9 a few commits back, so you would have to put something similar to this in your after_deploy task in your Capistrano deployment recipe: run cd ~/[name_of_your_application_on_server]/current/vendor/extensions/page_attachments;git checkout f07ba4;cd ../../..;git add . 1. This will git checkout commit f07ba4, which is the last version of page_attchments that works with Radiant 0.6.9. 2. cd to the root of your project. 3. git add the changed file (.gitmodules) to your project so that it will use the new (old) version When I started out with git on this project I was a git virgin so there might be a better/easier way to do this, but after many rounds with tech support at Rails Playground and many (many, many) google searches and the git book from Pragmatic, this is what I used to make use of previous commits of the page_attachments and copy_move extensions. FYI, I used commit SHAs to reference the versions I used because the extension creators, both of them, failed to tag their extensions for pre-0.7 versions of Radiant. Thanks, guys. When things slow down for me, probably February, I will be contributing some of my processes on this and some of the other workarounds I have made to get projects working correctly using Radiant with available extensions. Some of that will cover git info for noobs (like I was), the template extension, subscriber lists and probably something on mailer. So I am in for the Spring Continuum ongoing documentation project. Cheers, Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Trouble with blog_tag
Has anybody else had a problem with the blog_tags extension since it moved to github? I can get it to work on my laptop, but no matter how I add it, as submodule or clone and remove .git folder, it just won't work on my production server. It won't even transfer to my git repo online. Anybody had similar troubles? ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Another git question with regards to extensions
On Wed, Dec 31, 2008 at 11:45 AM, Sean Cribbs seancri...@gmail.com wrote: I would suggest forking on github, pushing up your changes to your fork, and then creating the submodule from the fork. If you don't want to track other branches/forks but just keep your changes in the Radiant project, just clone the extension (not as a submodule) and then remove its .git directory. Thanks. I am really not feeling the git love right now so I am going to try and avoid adding more complexity to my situation by starting a fork. I did remove the .got directory from my locally cloned copy of the subscriber_lists extension, but when I run git submodule I keep getting this error: No submodule mapping found in .gitmodules for path 'vendor/extensions/subscriber_lists' Preceding the error, I git a list of the extensions that I have set up as submodules and there is one (tags) that should show up as a submodule as well, but nothing gets past this error. To remove the .git directory did an 'rm -rf' to remove it and a 'git rm' just to make sure it was out of git. Any ideas? ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Another git question with regards to extensions
On Wed, Dec 31, 2008 at 11:59 AM, Nate Turnage pixeln...@gmail.com wrote: On Wed, Dec 31, 2008 at 11:45 AM, Sean Cribbs seancri...@gmail.comwrote: I would suggest forking on github, pushing up your changes to your fork, and then creating the submodule from the fork. If you don't want to track other branches/forks but just keep your changes in the Radiant project, just clone the extension (not as a submodule) and then remove its .git directory. Thanks. I am really not feeling the git love right now so I am going to try and avoid adding more complexity to my situation by starting a fork. I did remove the .got directory from my locally cloned copy of the subscriber_lists extension, but when I run git submodule I keep getting this error: No submodule mapping found in .gitmodules for path 'vendor/extensions/subscriber_lists' Nevermind. I hadn't done a 'git add .' and commit to add the files to the repo. It's working now. 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] Extensions as submodules - one more time
Andrew was kind enough to document for me how to use a local branch of a git-cloned extension in a project. Sean was kind enough to explain how to set up extensions as submodules in a git-managed project. I have one more question related to git, submodules and extensions. Is it possible to create and use a local branch of an extension when it is included as a submodule? I just want to ask before I start on something that isn't possible (or the correct way to do things). 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] Another git question with regards to extensions
I am trying to get a handle on git and am having some difficulty understanding how to manage my projects. My project was built outside of version control where my extensions used were all git-cloned into my project. Two of the extensions (page_attachments and copy_move) are using previous revisions set up as local branches. The project directory was then initialized as a local git repo and the remote.upload.url variable was set up. I can 'git push upload master' to my online git server at Rails Playground. It all seems to work properly, but if I try and git-clone my project to test if it's working, none of the extensions have any files in the vendor/extensions/extensionX directories. In the past when I was using subversion to manage my projects a git-cloned extension maintained its content. How should I be adding extensions to my project so that travel with the project? ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Copy_move extension and 0.6.9
Thank you so much! I looked through the Pragmatic book and could not find any of this info. ~Nate On Mon, Dec 29, 2008 at 10:05 AM, Andrew Neil andrew.jr.n...@googlemail.com wrote: On 29 Dec 2008, at 01:15, Nate Turnage wrote: Can anybody tell me how I can git clone and older version of the copy_move extension for use with Radiant 0.6.9? I am not up with all the ins and outs of git enough to figure out how to use previous revisions. I would suggest checking out an older revision of the extension into a new git branch. That way you can keep the up-to-date version (for 0.7) in its own branch, so that if you upgrade your site to 0.7 in the future, it is still there for you. Here are the steps (note that 'co' is short for 'checkout', and 'br' for 'branch'. I have these set as aliases[1]): # from the home directory of your radiant site: $ git clone git://github.com/pilu/radiant-copy-move.gitvendor/extensions/copy_move $ cd vendor/extensions/copy_move $ git log This gives you a list of all commits, with their commit messages and 'sha' values. Find the commit that you want to revert back to (i.e. the commit prior to the one that breaks in 0.6.7). e.g.: commit b7d93af32fc8fbaa97611d0697ab33f606d2eef1 Author: Andrea Franz and...@gravityblast.com Date: Tue Dec 16 18:37:56 2008 +0100 the new radiant searches for regions under app/views/admin/pages instead of the old app/views/admin/page commit 79ee39addf4adabcf28fe77a8cb9cbf2338feda8 Merge: a904fd3... 9f3dd2a... Author: Andrea Franz and...@gravityblast.com Date: Tue Dec 16 18:33:43 2008 +0100 Merge branch 'master' of git://github.com/avonderluft/radiant-copy-move into avonderluft/master If commit 'b7d93a' introduces changes that break in 0.6.7, you want to use the commit before it: '79ee39'. So check it out: $ git co 79ee39 Note: moving to 79ee39 which isn't a local branch If you want to create a new branch from this checkout, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b new_branch_name HEAD is now at 79ee39a... Merge branch 'master' of git:// github.com/avonderluft/radiant-copy-move into avonderluft/master Now when you list the branches, you should see: $ git br * (no branch) master When you checked out the old revision, you were prompted with instructions on how to turn it into a branch of its own. Something like: $ git co -b pre-0.7 Now, when you list branches: $ git br master * pre-0.7 You can switch between your branches using `git co branch-name`. e.g. $ git co master $ git br * master pre-0.7 $ git co pre-0.7 $ git br master * pre-0.7 I hope that helps. Cheers, Drew [1]: http://git.or.cz/gitwiki/Aliases ___ 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] Jim Gay's blog extension - need install?
Does the SaturnFlyer blog extension need to be installed or migrated? There isn't any info in the readme so I am assuming not. And when I try and migrate it, I get this error uninitialized constant AuthorExtension. Looking in the rake file leads me to believe that it doesn't, but I just want to be sure. 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] Back to trying to upgrade from 0.6.7 to 0.6.9
Hey guys, I am back to trying to upgrade a stubborn app from 0.6.7 to 0.6.9 and I am having problems with the migration. I followed the directions on the website, but I am still hitting a snag on the sessions table. Can anybody give me hint about what's going on here? http://pastie.org/347175 I am running a Leopard-default Ruby version 1.8.6: ruby 1.8.6 (2008-03-03 patchlevel 114) [universal-darwin9.0] Thanks in advance, Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Re: Back to trying to upgrade from 0.6.7 to 0.6.9
On Fri, Dec 26, 2008 at 5:04 PM, Nate Turnage pixeln...@gmail.com wrote: Hey guys, I am back to trying to upgrade a stubborn app from 0.6.7 to 0.6.9 and I am having problems with the migration. I followed the directions on the website, but I am still hitting a snag on the sessions table. Can anybody give me hint about what's going on here? http://pastie.org/347175 I am running a Leopard-default Ruby version 1.8.6: ruby 1.8.6 (2008-03-03 patchlevel 114) [universal-darwin9.0] Update: Not only did the migration choke on the sessions, it wiped my database clean. No pages, no users, nada. Has anybody else had any major problems going from 0.6.7 to 0.6.9? I can't believe I am the only person to be running into these problems. ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Templates extension documentation?
On Wed, Dec 3, 2008 at 4:20 PM, Sean Cribbs [EMAIL PROTECTED] wrote: This allows my Layout to serve as a wireframe for the whole site, with many different page designs filling the content well. I would only need a single r:content / tag within the layout to accomplish this. Does this answer your question? Thanks for the description, Sean. This does clear it up for me. Something I was also having trouble with is that the parts I was creating in my template were defaulting to the Boolean type. That prevented me from getting any kind of text field in the pages based on that template. Once I changed them to plaintext, and read your description, then I grokked how it worked. Another question, is there any way, outside of modifying the extension itself, to get the plaintext boxes to be wider than about 100px? It's not a huge problem because I edit form text with It's All Text and TextMate, but I thought I would ask. Great extension, now I know how it works. You might want to put that content in the readme. Thanks, ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Templates extension documentation?
Also, Sean, there is one small problem with the Templates extension: there doesn't seem to be a way to change the page status from draft to published. I set my pages to published in the db, but that will get awfully tedious in short order. Is there any other way to set a page's status to published without setting it in the admin page view? It would be tremendous if that was possible in the page list in the admin side (wink, wink). Thanks, ~Nate ___ 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 for Blogin
On Thu, Dec 4, 2008 at 11:23 AM, Anton Aylward [EMAIL PROTECTED] wrote: I've just returned to a blogging engine to do an upgrade and realised I know and like Radiant more. What does it take to do good blogging in Radiant? Is there a convenient list of what plug-ins are required, templates and so forth? This is one of the things that is very well covered in the Summer Reboot documentation. Seriously, can we just call this the Reboot Wiki or Reboot Documentation or something? The summer is well and truly over. Just a suggestion. Anyway, here is a link to the page: http://wiki.radiantcms.org/Using_Radiant_as_a_Blog Cheers, ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Templates extension documentation?
On Thu, Dec 4, 2008 at 12:08 PM, Sean Cribbs [EMAIL PROTECTED] wrote: Of course, that should be possible. In both the projects I've used templates on, they had some other extension that handled this. Patches are welcome :). Of course. After the new year my projects will be ramping down. I'll try and contribute more then. Right now I can use the Copy/Move extension to change page status until then. ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Templates extension documentation?
Is there a tutorial or some sort of example of how the templates extension works in practice? There is some info in the readme but there aren't any examples of how it works. It looks like a way to create a page that is simply a collection of snippets. What I thought it was is a way to have nested partials, but that doesn't seem to be the case. ~Nate ___ 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
On Thu, Oct 16, 2008 at 8:18 PM, Joe Van Dyk [EMAIL PROTECTED] wrote: On a related note, I ran into this error when using the page_attachment extension. I had to remove the calls to the code that expected the authenticity token to be there. 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. Please help, my sanity is at stake. The wall and my head cannot take much more of the banging. ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Problems after updating app from 0.6.7 = 0.6.9
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] Newsletter extension questions
Hey all, I am about to add the newsletter extension to a project, but first I wanted to ask a few questions about it. 1. Can it send an email confirmation back to the person that signed up? 2. Is it set up to force them to confirm before you can email to them? 3. Are there facilities for them to unsubscribe later on if they want to? I think that's all for now. 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] Is there any kind of validation in the mailer extension?
I am using the mailer extension for the first time and was wondering if there is any kind of form validation built into the extension. I looked at the code and I cannot find anything. Did I miss something? How are other people doing form validation with mailer? Thanks, Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] SnS Requests Anyone?
On Wed, Nov 12, 2008 at 11:32 PM, Chris Parrish [EMAIL PROTECTED] wrote: I'm getting ready to roll out a new SnS version this weekend with some bug fixes and a column name change (requested and implemented by Andrew Neil to help it work with his file_system extension). I am having problems using files uploaded/created with the import_export extension. I create my apps on my laptop then use import_export to pull the db content into the file system and add that to my subversion repo. The problem is that when I cap deploy the app to the production server and use import_export to rake the db content into the production server the class info for the css and js files is set as null which means that they don't show up in the admin portion of the app. The effectively_updated_at fields are also null in the text_asset_dependencies table. I don't know if that's a SnS issue or an import_export issue, but I thought I would mention it as long as you are asking for requests. 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] Possible to put whole site behind password?
I have a client that is getting some flak from their lawyers about their site (under development) being accessible by the general web. Is there any (easy) way to put the whole site behind a login page? I seem to remember when I wrote a custom extension I had to add a magic line somewhere to keep the extension from requiring a password. Is there any way to force a user login with that same mechanism to view the site? Thanks, Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] The Forum Hunt continues...
On Thu, Oct 30, 2008 at 1:39 PM, Mohit Sindhwani [EMAIL PROTECTED] wrote: I'm still looking around for a good forum to integrate with a Radiant site that I'm working on, and I have narrowed it down to three options in the Rails world: (a) RForum - that seems to be updated less frequently, but seems quite good! (b) Altered Beast - quoted as an exemplary Rails 2 application (c) El Dorado - Seems quite nice and has nice extra features As such, my main requirements are quite simple: (a) Multiple forums, discussions and messages (b) Good spam controls and support for moderating messages, users, etc. (c) User control and registration (d) Some integration with e-mail (like watching threads) - optional. (e) Support for multi-lingual messages (UI doesn't need to be) (f) Some support for Integration: modify style sheets, simple recent messages page, a simple user model, etc. Looking around in the non-Rails world, I find that PhpBB is popular but has a bad name when it comes to security and some people say that it is quite hard to integrate with/ change. Another one I stumbled across is called Vanilla and it seems to have a good reputation for a clean UI and ease of integration and support for add-ons. URL: http://getvanilla.com/ Does anyone have any suggestions/ experience to share? It is acceptable for the BBS to run on a separate sub-domain from the Radiant site. There is no need for there to be very tight integration between the two. The last time I had the forum connundrum, I just used phpbb, but I did notice an extension in the registry last night call Beastly ( http://ext.radiantcms.org/extensions/22-beastly) for bringing Altered Beast into a Radiant app. You could try that. ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Thank you for import_export extension
On Tue, Oct 28, 2008 at 1:11 AM, Mohit Sindhwani [EMAIL PROTECTED] wrote: Nate Turnage wrote: Thank you, Sean, et. al., for the import_export extension. It works like a champ. Not only can I develop the back end of my site on my local machine, but I can now keep my content versioned. Again, thanks. Nate, what mechanism are you using for versioning? I am using svn. I just haven't taken the time to grok git yet. I clone extensions to the proper place, then svn add them. I should probably be using svn externals but I haven't taken the time to grok that one yet either. Maybe over Christmas vaca. I am using sns and haven't noticed a problem yet. I'll let ya know. I haven't tried the gallery extension. ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Captcha
On Mon, Oct 27, 2008 at 1:57 PM, Tim Gossett [EMAIL PROTECTED] wrote: I'd be willing to take this on in a few weeks if nobody else does. I suggest using reCAPTCHA (http://github.com/ambethia/recaptcha/tree/master); no reason to waste those human cycles. This would be a great addition to the mailer extension (and I think it's already on the TODO). Maybe some cross-extension action? Have mailer look for recaptcha, and make a recaptcha tag available if it does? I'll certainly help test it out when it's finished. Let us know. ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] So how did things go this weekend?
Is everybody still asleep after the long weekend? I am dying to hear how things went with the sprint. Sean? John? Anyone? ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Thank you for import_export extension
Thank you, Sean, et. al., for the import_export extension. It works like a champ. Not only can I develop the back end of my site on my local machine, but I can now keep my content versioned. Again, thanks. ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Is RadiantCMS.org down?
On Mon, Oct 20, 2008 at 1:36 PM, Mohit Sindhwani [EMAIL PROTECTED] wrote: Nate Turnage wrote: I went to the site to try and find the link to the SnS extension and all I got when I clicked on the documentation link was a server error (not responding or somtehing). Anybody know what's going on? Or could somebody maybe give me the proper link for the SnS extension? I cannot find it. Nate, works for me. Did you try Google for SnS? I found these: SnS proper: http://github.com/MrGossett/radiant_sns_extension/tree/master SnS Minifier: http://github.com/MrGossett/radiant_sns_minifier_extension/tree/master SnS SASS filter: http://github.com/MrGossett/radiant_sns_sass_filter_extension/tree/master Yes, I did try google but I couldn't find the official svn repo for it. As far as I know, MrGossett's versions are out of date. There was some discussion a few weeks back about it. I'll do a little more digging. ~Nate ___ 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: BIG problems after removing page_attachments
I was never able to get it to work. I guess I should try it again before I start spreading FUD, eh? ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Quick question about database.yml and Passenger on local machine
I have finally joined the cool kids and started using Passenger on my laptop for my development sites. But I have one tiny problem, Passenger wants to use my production db settings instead of my development settings. How can I pimp-slap Passenger to get it to use the dev settings? Relavant info: Ubuntu 8.04 Rails 2.1.1 Radiant 0.6.9 Passenger gem v. 2.0.3 Thanks, Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Quick question about database.yml and Passenger on local machine
On Tue, Oct 14, 2008 at 4:37 PM, Simon Rönnqvist [EMAIL PROTECTED] wrote: Hi! Why would you want to use Passenger in your development environment? Isn't mongrel (or maybe even webrick) the most appropriate for that? Then you don't need to have apache running either. On the one hand I want to start playing with it before I start depending on it for my production sites, on the other, I can run multiple development sites at once. I normally work on 2 or 3 sites each day and I am always forgetting to stop mongrel then go to the new site then start it up again, rinse, repeat. I was talking with somebody at a REST training session and he swore by the Passenger setup, so I figured I'd give it a try. ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Nested tags
On Sat, Oct 11, 2008 at 5:59 PM, Manuel Meurer [EMAIL PROTECTED]wrote: r:snippet name=my_snippet value=my_value / Snippet my_snippet: r:my_custom_tag value=r:var name='value' / / The changes were quite simple so I wonder why it wasn't done like that from the beginning. Did anyone else ever feel the need to do something like that? I was thinking about this kind of thing the other day. I don't have a use for it right now but it would be nice to have that available in the toolset. ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Email/subscriber validation issues with subscriber_lists extension
Hey guys, I am using the subscriber lists extension (thanks nelstrom, I love the CSV export) for creating a contact us type of form. The problem is that when somebody signs up with an email address that is already in the db, the information gets overwritten with the newly submitted data. I am not exactly sure how to add a check against the db to find out if an email address is already there, and then return an error message that tells the user so. Can anybody give me some pointers on how to add that into the form process action? Pastie with the action from the subscriber_list_page model: http://pastie.org/288758 Mucho, mucho garcias. ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Re: Need a little more newsletter_extension help
On Thu, Oct 9, 2008 at 9:38 PM, Nate Turnage [EMAIL PROTECTED] wrote: Can somebody tell me what magical incantation I need to put in my environment.rb to get the 2.2.2 will_paginate gem working? Sorry for the noise. I just used the tar archive and it worked. It looks to me like I have set things up for data collection the way I want it to work, but now I have an issue with validation. At the top of the form in the subscribe tab on the newsletter page these tags are present: r:newsletter:if_form_errors All fields are required /r:newsletter:if_form_errors Can anybody tell me where in the various files in the extension a form built on that page runs it's validation checks? I have looked in every file, except the tests, for some clue as to what would make that tag visible, but I cannot find anything. There is no mention of it in the tags available for the page. Honestly, I cannot figure out which controller and model combo even processes the form. I can figure out how the admin side of the extension works (for the most part), including where the validation happens, but I don't understand how the info is validated and processed on the client facing side. If anybody could give me some pointers on this, I promise that I will do my best to write up some documentation on the summer reboot site about how this extension works. In fact, I will also document my experience with the subscriber_list (based on newsletter) and database_form extensions as well. Adding the seemingly simple sign the guestbook type of functionality to a Radiant site is a deceptively complex task and I will do my part to try and reduce the pain in the process. But first, I must conquer this newsletter extension. Any help is of course greatly appreciated and I will light a candle in your honor. In fact, I will light two. I am a desperate man. Obiwon Kinobi, you're my only hope... ~Nate ___ 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 and RubyAmf
On Wed, Oct 8, 2008 at 12:08 PM, Marcus Blankenship [EMAIL PROTECTED]wrote: Thanks, Nate. So, to clarify because I'm dense: 1. I need to build an extension 2. The archives/docs should show me how. Will I need to learn git to do this? They should. You only really need to know git if you are manging your code in that system. The only thing you really need to know about git for installing extensions is that to add an extension to your project from git you use the clone url from the project like so: git clone http://address/of/project/name_of_extensionvendor/extensions/name_of_extension . That will clone the git repo into your extension folder. All of the rest of the info on extensions is on the radiant website. Again, specific questions will usually get answered here. As you may suspect, my end goal is to get either the content alone or the stylized content (not sure which) from Radiant and display it in Flex via AMF. I intend to do my own styling in Flex, but I would like any HTML markup that the user may have entered. Does this seem feasible? It sounds like you may want to expose your pages from radiant as xml (use the page type XML). Then you can use whatever you want on the front end to read and style that file accordingly. I don't know how that figures into RubyAmf and what it does, though. ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] New Radiant Site
On Fri, Oct 3, 2008 at 10:58 PM, Gabriel Lamounier [EMAIL PROTECTED]wrote: Hi there, This message is just to tell you about a new site powered by radiant. Looks good. Nice and bright. I can't really comment on the text. English is my only language. I have one of my own to share as well: www.goodtastewithtanji.com Cheers, Nate ___ 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: Can page_attachments store uploads in database?
On Thu, Oct 2, 2008 at 6:59 PM, Errol Siegel [EMAIL PROTECTED] wrote: Does anybody have any advice for how to go about this? I'm pretty new to Capistrano. Is there a simple way to have Capistrano tar up the files locally, upload them to the production server, then replace the existing files with the uploaded files? The last part seems easy enough -- I get that I can use 'run' to run commands on the remote server. I'm just not sure how to have it run commands locally and upload files. I too am curious about this. It would be great to have an entire copy of the production site on my laptop, but I have no idea which commands I would run to to make that happen. It was my impression, before looking into import_export and super_export, that those extensions did that kind of thing (with or without Capistrano). I was mistaken, but I am still curious how others are using those extensions on a daily basis to maintain some sort of parity between their dev and production sites. ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] How can I refresh part of a page with Ajax?
This is the code I have in the body part of my /works/ page. I would like to generate tabs for each one of the child pages, and show the body part of the /works/print/ page in the works id by default. Then have each one of the tabs refresh the works id with it's content. The code below works except for one small problem: it wants to put the entire html page into the works id. I only want the content part. In the link I cannot use double quotes because it breaks the tag. I would like to be able to specify r:content part=body / in the link where the r:url / tag is. Can anybody help me out with the correct syntax here to refresh the works id with the body part of the child pages? ... div id=works_nav ul r:children:each lia href=javascript:void loadTab( 'r:url /' )r:breadcrumb //a/li /r:children:each /ul /div div id=works /div script function loadTab( tab ) { new Ajax.Updater( 'works', tab, { method: 'get' } ); } loadTab( '/works/print/' ); /script ... Thanks, Nate ___ 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: Is there a trick to using Capistrano to deploy Radiant site?
On Wed, Oct 1, 2008 at 2:04 PM, Errol Siegel [EMAIL PROTECTED] wrote: Must have been some kind of hiccup. I rebooted, checked out a fresh copy of my app from svn, ran capify again, and now it sees all the tasks. Just to veer a little on this, is there a best practices kind of way to use content versioning with the import_export or super_export extensions? I have been developing (to a point) on my local machine then putting the whole app in subversion, cap deploy, rake production, truncate db tables, then importing a mysql dump from my local machine into the production db. From there I only do structural changes on my local machine, cap deploy, then rake any new extensions I added. Is there a better (read quicker) way to handle content versioning with a Radiant app? ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Slightly OT question about joins
On Sat, Aug 16, 2008 at 8:56 AM, Sean Cribbs [EMAIL PROTECTED] wrote: With the relationship you have set up below, you can only have one food and one sauce associated with any wine. This is why wine.foods will return nothing -- wine.food would work in the scenario you have set up. I'm sure you'd agree that doesn't properly model the desired relationship. Other than that, you are doing the mechanics of has_many :through correctly. To get the relationships you want, I would set up a three-way join table. That is, log each combination of wine, food and sauce as an individual record. It would look something like this: create_table :pairings do |t| t.integer :food_id t.integer :wine_id t.integer :sauce_id end Then you can choose any of the pairs of Food, Wine, and Sauce to create a combination, or fill in all three. Your associations in the Wine class would look like this: has_many :pairings has_many :foods, :through = :pairings has_many :sauces, :through = :pairings Your other classes would look similar. Does this help? That's exactly what I needed to know Sean. Thanks. Driving around today it hit me that I needed to set up the join model that way, I just didn't know if I could have three models joined that way. Thanks again, Nate ___ 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: Radiant Browser Support -- Drop IE6?
On Mon, Jul 21, 2008 at 2:42 PM, Tim Gossett [EMAIL PROTECTED] wrote: And where can I register my extreme disgust for IE's (lack of) CSS support, anyway? If you are talking about IE6 then you have no place. And as for IE7 you need to know that the current Internet Explorer team is completely new as Microsoft disbanded the IE team when it looked like they won The Great Browser War. There are no IE6 team members on the current IE team, so things will only get better from here. I think once IE 8 is released into the wild we (designers/developers) can finally start abandoning IE 6 in earnest. Be thankful we don't need to support 5.5 any more. ;^) ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Page_attachment extension with Flash files?
Has anybody ever used the page attachment extension with Flash files? If so, how do you place them on the page? I was able to upload the files no problem, but when trying to use SWFobject the quotation marks used for the r:attachment tag throw things out of whack. Anybody have any ideas? Code calling Flash file: notextile object classid=clsid:D27CDB6E-AE6D-11cf-96B8-44455354 width=360 height=240 param name=movie value=r:attachment name=gem_01.swf / / !--[if !IE]-- object type=application/x-shockwave-flash data=r:attachment name=gem_01.swf / width=360 height=240 !--![endif]-- pAlternative content/p !--[if !IE]-- /object !--![endif]-- /object /notextile ~Nate ___ 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_attachment extension with Flash files?
On Sat, Jul 12, 2008 at 10:59 AM, Casper Fabricius [EMAIL PROTECTED] wrote: Hi Nate, I use SWFObject (http://code.google.com/p/swfobject/) and have a custom tag to insert flash elements: http://pastie.org/232639 Which model do you add this to? And do you use it with the page_attachment extension? Thanks for the method though. It's bril. ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant