Re: [Radiant] Using the gallery extension

2008-05-22 Thread Andrea Franz
On Thu, May 22, 2008 at 12:15 PM, Ollivier Robert <[EMAIL PROTECTED]> wrote: > On Tue, May 20, 2008 at 12:59 AM, Marshal Linfoot <[EMAIL PROTECTED]> wrote: >> Hi Ollivier. ...some of this you might have already figured out. > > Thanks a lot for the explanations. I manage to get running by creating

[Radiant] New Howto: Deploy on Bluehost

2008-05-22 Thread Nevin Freeman
I've seen this one asked a number of times on the mailing list. It was a headache for me, but I came up with a step-by-step to hopefully save the headache for others (and probably myself the next time :) This is with 0.6.7. http://wiki.radiantcms.org/How_To_Deploy_on_Bluehost Best, Nevin _

Re: [Radiant] Using the gallery extension

2008-05-22 Thread Ollivier Robert
On Tue, May 20, 2008 at 12:59 AM, Marshal Linfoot <[EMAIL PROTECTED]> wrote: > Hi Ollivier. ...some of this you might have already figured out. Thanks a lot for the explanations. I manage to get running by creating an empty page with the Gallery Cached type and it works fine. It is looking quite

[Radiant] Re: YAML css templates

2008-05-22 Thread Patxi
Thanks Jean for the fast reply! Patxi Sean Cribbs schrieb: Patxi, You could create children of your style pages and include their contents directly in the parent like so: Or if you want to cherry-pick individual style pages, you could do something like this: Sean Patxi wrote: Hi,

[Radiant] Re: multi_site extension and 0.6.7

2008-05-22 Thread Patxi
I´ve seen the haml plugin is in core and in the extension! removed the one in the extension and then the error did not show up: \vendor\extensions\multi_site\vendor\plugins\haml Patxi Keith Bingman schrieb: I realize that this does not yet work, but I thought I would give it a try. Unfortunat

[Radiant] Re: multi_site extension and 0.6.7

2008-05-22 Thread Patxi
Hi, could someone explain me how to config the multi_site extension? -- I would like to organize 2 domains for example: http://www.site1.com http://www.site2.com SITES config: Name: Site1 Domain pattern??? Base domain name: http://www.site1.com Hompage ID: 1 Name:

Re: [Radiant] Re: multi_site extension and 0.6.7

2008-05-22 Thread Rob Kuhr
Name: Site1 Domain pattern: site1 Base domain name: http://www.site1.com Hompage ID: 1 Name: Site2 Domain pattern: site2 Base domain name: http://www.site2.com Hompage ID: (let this figure it out) That should do it. On Thu, May 22, 2008 at 10:48 AM, Patxi <[EMAIL PROTECTED]> wrote: > Hi, > > cou

Re: [Radiant] Re: multi_site extension and 0.6.7

2008-05-22 Thread Keith Bingman
Wonderful! I haven't tested it out completely, but I can log in again. Thanks, very good idea... I should have thought about that. Keith On May 22, 2008, at 4:09 PM, Patxi wrote: I´ve seen the haml plugin is in core and in the extension! removed the one in the extension and then the erro

[Radiant] Re: multi_site extension and 0.6.7

2008-05-22 Thread Patxi
Hi Keith, what have you changed to get it running? I have changed 'clear_cache' to 'clear_model_cache' 2 times in \vendor\extensions\multi_site\lib\multi_site\page_controller_extensions.rb Otherwise the server does not start. - Have you done the same? - Is this correct? I still get some errors

Re: [Radiant] Re: multi_site extension and 0.6.7

2008-05-22 Thread Keith Bingman
Hi Patxi, just comment the whole block at the top of module Multisite out. It is not needed anymore, as the made cache clear itself with every save. Like this: def self.included(base) base.class_eval { alias_method_chain :index, :root alias_method_chain :clear_model_cache,

[Radiant] Migrating my Extension

2008-05-22 Thread Chris Parrish
What's the secret to creating a migration for my extension that changes the data yet doesn't trigger the UserActionObserver? I already figured out that I need to set MyClass.record_timestamps = false so that I don't artificially change the updated_at field, but changing a value and saving that re

Re: [Radiant] Migrating my Extension

2008-05-22 Thread Sean Cribbs
If it's something that can be updated wholesale (i.e. the same for every record, or derived on the same attributes), you can use MyClass.update_all, which will not cause them to be loaded with ActiveRecord. Sean Chris Parrish wrote: What's the secret to creating a migration for my extension

Re: [Radiant] Migrating my Extension

2008-05-22 Thread Chris Parrish
It can't - it's a calculation based on each record. I just don't want to clobber people's data. I'm looking into an alternate approach right now so I may get around the need altogether. Still, it seems like something AR would allow during a migrate... -Chris Sean Cribbs wrote: If it's som