Re: [Radiant] Re: Possible to disable cache for a single page?

2008-08-04 Thread Mohit Sindhwani
Hi Sean Sean Cribbs wrote: The typical solution is to make a page subclass that adds this method: def cache? false end I'm just thinking of putting this down as the starting point for one of the pages in the 'Summer Reboot' but I have a couple of questions to understand this slightly b

Re: [Radiant] Re: Possible to disable cache for a single page?

2008-08-04 Thread Sean Cribbs
The typical solution is to make a page subclass that adds this method: def cache? false end Then make the page that you want uncached to be of that type. Before you do that, however, take into consideration why you need the page uncached. It may be that the need for it to be uncached is secon

[Radiant] Re: Possible to disable cache for a single page?

2008-08-04 Thread Nicholas Henry
I'm doing some similar and would love to know how to achieve this! -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/ma

[Radiant] Multi_site restrict access to radiant

2008-08-04 Thread Marc Abouchacra
Hello everybody! I've recently discover the multi_site extension which appears to be really interesting. But there is some things that I still don't know if it is possible and how to do them. 1-Imagine I have a radiant site called marc.com. I install the multi-site and then I create site1.marc.co

[Radiant] Test failure in 0.6.9, postgresql

2008-08-04 Thread Joe Van Dyk
1) ActiveRecord::StatementInvalid in 'Radiant::ExtensionMigrator should migrate successfully' PGError: ERROR: current transaction is aborted, commands ignored until end of transaction block : CREATE TABLE people ("id" serial primary key) /Users/joe/projects/psrc/vendor/rails/activerecord/lib/activ

Re: [Radiant] next question: db bootstrap failure problem

2008-08-04 Thread Bjørn Michelsen
On Mon, Aug 4, 2008 at 6:17 PM, Tom Cloyd <[EMAIL PROTECTED]> wrote: Hello, I have a project - "radiant-test" started. I'm running Kubuntu Linux 8.04.1 > and Ruby 1.8.6. > > Console output: > [EMAIL PROTECTED]:~/Ruby-work/radiant-test$ rake development db:bootstrap > (in /home/tomc/Ruby-work/radi

Re: [Radiant] automatic thumbnail generation?

2008-08-04 Thread Keith Bingman
Oli, paperclipped definitely does about 80% of this. Importantly it makes very good looking thumbnails and you can customize the crop and size. It also does not require rmagick, so it is a bit lighter weight on RAM. I have been recently doing some drag and drop work as well, when you drag

Re: [Radiant] automatic thumbnail generation?

2008-08-04 Thread Jim Gay
Oli, I believe that some of the features you want can be found here http://github.com/radiant/radiant-page-attachments-extension/tree/master or http://github.com/kbingman/paperclipped/tree/master One could start with either of those and add your missing features, but I don't know of any extens

Re: [Radiant] next question: db bootstrap failure problem

2008-08-04 Thread Mohit Sindhwani
Tom Cloyd wrote: Following along at http://wiki.radiantcms.org/Installation, the "Bootstrap the Database" section: I have a project - "radiant-test" started. I'm running Kubuntu Linux 8.04.1 and Ruby 1.8.6. Just to confirm: 1. You've installed Radiant 2. You've done something like > radia

[Radiant] Possible to disable cache for a single page?

2008-08-04 Thread Gert Jørgensen
Hi, I have a list of thumbnails and when clicked they open a larger image in a popup window. I have a page in radiant with a tag for the popup and supply an img-parameter to the page that I use in the tag that looks like this: tag 'press_image' do |tag| html = "" img = tag.globals.page.requ

[Radiant] Re: Haml and textareas in custom extension

2008-08-04 Thread Gert Jørgensen
Hi, just wanted to let everybody know that this is fixed in 0.6.9, maybe also in 0.6.8 but I skipped that version. Thanks again. -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcm

[Radiant] next question: db bootstrap failure problem

2008-08-04 Thread Tom Cloyd
First, following from my previous post: the Summer Reboot project is a very exciting prospect. Its very nice to see the outline laid out as it is. I'll stay in close touch with this effort. Now...my next problem - Following along at http://wiki.radiantcms.org/Installation, the "Bootstrap the

Re: [Radiant] newbie questions: comments to pages? location of extensions? etc.

2008-08-04 Thread Mohit Sindhwani
Tom Cloyd wrote: Tom Cloyd wrote: I'm in the process of getting a test CMS launched, with Radiant. Welcome aboard! * 1. I have very little knowledge of Rails. I don't expect to have time to fix that substantially any time soon. Will this preclude my using Radiant to contain a site I already

Re: [Radiant] newbie questions: comments to pages? location of extensions? etc.

2008-08-04 Thread Tom Cloyd
Tom Cloyd wrote: I'm in the process of getting a test CMS launched, with Radiant. (You may be amused to know that the first thing I did after installing the gem was enter to the console: "radiant help". That produced a rather unexpected result!) I've been working for a number of months with

[Radiant] newbie questions: comments to pages? location of extensions? etc.

2008-08-04 Thread Tom Cloyd
I'm in the process of getting a test CMS launched, with Radiant. (You may be amused to know that the first thing I did after installing the gem was enter to the console: "radiant help". That produced a rather unexpected result!) I've been working for a number of months with Webby, which is si

Re: [Radiant] automatic thumbnail generation?

2008-08-04 Thread Kunal Shah
attachment_fu , a rails plugin, handles this well. Kunal On Aug 4, 2008, at 10:06 AM, Oli Studholme wrote: Hi All, I‘d like the ability to generate thumbnails of images automatically, for example to create thumbnails for a list view of photo articles. Maybe something like a tag to call th

[Radiant] automatic thumbnail generation?

2008-08-04 Thread Oli Studholme
Hi All, I‘d like the ability to generate thumbnails of images automatically, for example to create thumbnails for a list view of photo articles. Maybe something like a tag to call the image where I can specify attributes for: * resize longest image dimension to x pixels * resizes to whole