Re: [Radiant] Restricting access to select pages

2009-10-13 Thread Petrik de Heus
You might want to look at: http://github.com/spanner/radiant-reader-extension It works on 0.8 and later and has some extra extension build on top of it. On Oct 12, 2009, at 18:44 , James Britt wrote: Hey all. I'm setting up a Radiant site, and in addition to having to add some custom

Re: [Radiant] Changing page layout on-the-fly?

2009-07-16 Thread Petrik de Heus
On Jul 16, 2009, at 13:01 , Mamed Mamedov wrote: Hi everybody! I have a little question: how can I change page's layout from within my extension? Something like this: def activate Page.class_eval do def process_with_session_layout(request, response) self.layout =

[Radiant] Radiant Tags Extension

2009-06-30 Thread Petrik de Heus
I had some trouble with the page ordering not working properly (with the radiant-reorder-extension). Turns out it was caused by the radiant-tags-extension which adds a setter for meta_tags to Page: def meta_tags= tags self.save if self.new_record? ... The problem with this is

Re: [Radiant] User Registration for a School

2009-06-23 Thread Petrik de Heus
On Jun 23, 2009, at 4:06 , Sean Cribbs wrote: Yes, rename them (making sure to change any references to them elsewhere). And I suggest making a parent controller for any of your controllers that use your generated auth that contains the 'no_login_required' line and includes

Re: [Radiant] Extensions with 0.8

2009-06-23 Thread Petrik de Heus
On Jun 22, 2009, at 15:50 , Josh French wrote: Not obvious, but Josh French has committed changes for the next release that will allow extension developers to configure dependencies from the extension which might help with the installation process as far as things like error messages go.

Re: [Radiant] multi_site extension and mysql error

2009-06-15 Thread Petrik de Heus
Hi Daniel, I've fixed these problems in a fork: http://github.com/p8/radiant-multi-site-extension/tree/master Your probably want to comment out the following line since a previously failed migration already created the column. Line 3 in vendor/extensions/multi_site/db/

[Radiant] Re: adding tags to paperclipped?

2009-04-20 Thread Petrik de Heus
I had tagging on a earlier version of paperclipped, it was actually very to add. You could install the tagging extension, which I believe is based on has_many_polymorphs. Then just tell the tag model to reference assets as well as pages. Let me know if you need any pointers. I've created