Re: [Radiant] Comments behaviors released (Sean Cribbs)

2006-09-01 Thread Nicholas Mulder [Mulder Consulting]
Sean, Behavior looks good! I quickly put it into a plugin since i dont have an expanded radiant install going at the moment. It seems to be having a problem with comments.parts.create! :name => "config", :content => (@page.part("config").content || "") line 29 commentable_behavior.rb nil.c

Re: [Radiant] Radiant Content-Type problem on TextDrive

2006-09-01 Thread Alexander Horn
> Oliver Baltzer has sent me a patch, which I have been meaning to polish > up. I've got another project I'm on for the next one to two weeks, but > after that I should have time to focus on it pretty much full time for a > couple of weeks. That sounds very promising. I'd be happy to assist as muc

Re: [Radiant] Asset Manager Mephisto Style => Plugin system

2006-09-01 Thread Luis Lavena
On 9/1/06, dror tirosh <[EMAIL PROTECTED]> wrote: > Hey Nicholas, > Look at the page_part_type in the trac system for an implementation of > something similar to what you are talking about. > The only thing is that this doesn't come instead of behaviors, it is a > compliment, and they work together

Re: [Radiant] Asset Manager Mephisto Style => Plugin system

2006-09-01 Thread dror tirosh
Hey Nicholas,Look at the page_part_type in the trac system for an implementation of something similar to what you are talking about.The only thing is that this doesn't come instead of behaviors, it is a compliment, and they work together very well. For example an event page_part allows you to choos

Re: [Radiant] Sorting order

2006-09-01 Thread Ollivier Robert
On 9/1/06, Ollivier Robert <[EMAIL PROTECTED]> wrote: > I'm now getting repeatable ruby/mongrel crashes while rendering my > pages. Only the "test" one but instant mongrel death with > > zsh: illegal hardware > instruction (core dumped) mongrel_rails start -e production > -B Wit

Re: [Radiant] Radiant Content-Type problem on TextDrive

2006-09-01 Thread John W. Long
Alexander Horn wrote: > Is there someone taking on an active role for designing the new plugin > system? I know we both were exchanging ideas but maybe we need someone > explicitly working on the implementation (i.e. volunteer other than us > both). I think a forth person in the game could allow us

Re: [Radiant] Asset Manager Mephisto Style => Plugin system

2006-09-01 Thread Nicholas Mulder [Mulder Consulting]
> Once we have a robust plugin system going I would love to see someone > create an asset management solution similar to Mephisto's. I'm not sure > if buckets trump the idea for attachments, but it is definitely causing > me to rethink my previous ideas about assets. > That would probably be up

Re: [Radiant] [ANN] Comments behaviors released

2006-09-01 Thread Sean Cribbs
Woops... sorry about that! It's fixed now.SeanOn 9/1/06, dror tirosh <[EMAIL PROTECTED]> wrote: Hi Sean,The Zip file links goes to a page not found.Dror On 9/1/06, Sean Cribbs < [EMAIL PROTECTED] > wrote: I've bugged John and everyone on the list enough with my questions.  Now it's time for me to s

Re: [Radiant] [ANN] Comments behaviors released

2006-09-01 Thread dror tirosh
Hi Sean,The Zip file links goes to a page not found.DrorOn 9/1/06, Sean Cribbs <[EMAIL PROTECTED] > wrote:I've bugged John and everyone on the list enough with my questions.  Now it's time for me to share. I have implemented behaviors that allow visitor-submitted comments on pages.  Please read all

[Radiant] [ANN] Comments behaviors released

2006-09-01 Thread Sean Cribbs
I've bugged John and everyone on the list enough with my questions.  Now it's time for me to share.I have implemented behaviors that allow visitor-submitted comments on pages.  Please read all about and download them here: http://seancribbs.com/tech/2006/09/01/return-of-the-comments/In the article

Re: [Radiant] Radiant Content-Type problem on TextDrive

2006-09-01 Thread Alexander Horn
Dear John,Is there someone taking on an active role for designing the new plugin system? I know we both were exchanging ideas but maybe we need someone explicitly working on the implementation (i.e. volunteer other than us both). I think a forth person in the game could allow us to review and more

Re: [Radiant] Radiant Content-Type problem on TextDrive

2006-09-01 Thread John W. Long
Jake wrote: > ARG! the more link, never forget the to check the more link on any of > your radiant pages. Three days wasted and I think I have made myself an > enemy of the textdrive support staff. Three days?!! It looks like you found the answer within 20 min of asking for help. Perhaps your e

Re: [Radiant] Asset Manager Mephisto Style

2006-09-01 Thread Luis Lavena
On 9/1/06, Nathan Wright <[EMAIL PROTECTED]> wrote: > I believe that Mephisto uses the acts_as_attachment plugin (which > works *great* by the way), and you can set this plugin to store > attachments in either the file system or in the database. While > waiting for a real solution for the images is

Re: [Radiant] Asset Manager Mephisto Style

2006-09-01 Thread John W. Long
Luis Lavena wrote: > The Mephisto style for assets sounds good, but plain or direct use of > their code could be difficult. > > They store the assets on the file system, on contrary that your desire > to leverage only on DB to distribute everything for Radiant. > > Maybe the way they choose to us

Re: [Radiant] Asset Manager Mephisto Style

2006-09-01 Thread Nathan Wright
I believe that Mephisto uses the acts_as_attachment plugin (which works *great* by the way), and you can set this plugin to store attachments in either the file system or in the database. While waiting for a real solution for the images issue in Radiant, I hacked together a rich text version of Rad

Re: [Radiant] Asset Manager Mephisto Style

2006-09-01 Thread Luis Lavena
On 9/1/06, John W. Long <[EMAIL PROTECTED]> wrote: > Nicholas Mulder [Mulder Consulting] wrote: > > For fun I installed Mephisto yesterday. Wow is it cool for a blogging > > app. (http://mephistoblog.com/) > > > > Mephisto's Asset management systems is as they claim it is, 'probably > > the best

Re: [Radiant] Asset Manager Mephisto Style

2006-09-01 Thread John W. Long
Nicholas Mulder [Mulder Consulting] wrote: > For fun I installed Mephisto yesterday. Wow is it cool for a blogging > app. (http://mephistoblog.com/) > > Mephisto's Asset management systems is as they claim it is, 'probably > the best you'll find in any CMS/Bloggin application'. All I can say

Re: [Radiant] Radiant Content-Type problem on TextDrive

2006-09-01 Thread Jake
ARG! the more link, never forget the to check the more link on any of your radiant pages. Three days wasted and I think I have made myself an enemy of the textdrive support staff. Anyway if you run into this problem it is because you were to dumb to set the content-type for the layout, it is in

Re: [Radiant] Radiant Content-Type problem on TextDrive

2006-09-01 Thread Sean Cribbs
On the Layouts page in the admin interface, open the layout you are currently using.  Click the "more" link and type "text/html" into the Content-type box, then Save.If you're not using a layout at all, create one and name it HTML or something.  Then do the same as above but also type into the lar

Re: [Radiant] Radiant Content-Type problem on TextDrive

2006-09-01 Thread Jake
Sean Cribbs wrote: > Jake, > > I get that too on your page, even in IE7. Make sure your layout sets > the > content-type correctly. > > Sean Sean I am using Is there something I need to do in code to set the correct content-type? -- Posted via http://www.ruby-forum.com/. __

Re: [Radiant] Radiant Content-Type problem on TextDrive

2006-09-01 Thread Sean Cribbs
Jake,I get that too on your page, even in IE7.  Make sure your layout sets the content-type correctly.SeanOn 9/1/06, Jake < [EMAIL PROTECTED]> wrote:I am a new radiant user and really love the app, simple elegent etc. I have deployed radiant to my shared textdrive hosting account runninglighttpd an

[Radiant] Radiant Content-Type problem on TextDrive

2006-09-01 Thread Jake
I am a new radiant user and really love the app, simple elegent etc. I have deployed radiant to my shared textdrive hosting account running lighttpd and everything works great in firefox but when I try and pull the site up in IE6 I get an unknown file type prompt and it asks me to download. The

Re: [Radiant] Redirect hell

2006-09-01 Thread Sean Cribbs
Sorry, I don't mean to spam the list, but my second method worked. Rock on!Sean Cribbsseancribbs.comOn 9/1/06, Sean Cribbs <[EMAIL PROTECTED]> wrote: Thanks, John.I guess I'll have to settle for not caching the page.  I wanted to be able to cache the page that displayed the comments (Commentable b

Re: [Radiant] Redirect hell

2006-09-01 Thread Sean Cribbs
Thanks, John.I guess I'll have to settle for not caching the page.  I wanted to be able to cache the page that displayed the comments (Commentable behavior), but have it create the child page (CommentBucket behavior, whose children are individual comments) if it doesn't exist, and then only cache w

Re: [Radiant] Redirect hell

2006-09-01 Thread John W. Long
Sean Cribbs wrote: > John et al, > > I think I'm in the final step of creating my Commentable/CommentBucket > behaviors before releasing them into the wild, but I've found that I'm > getting into an endless redirect loop after most of my process method > finishes (I want to potentially redirect ba

[Radiant] Redirect hell

2006-09-01 Thread Sean Cribbs
John et al,I think I'm in the final step of creating my Commentable/CommentBucket behaviors before releasing them into the wild, but I've found that I'm getting into an endless redirect loop after most of my process method finishes (I want to potentially redirect back to the same page, but without

Re: [Radiant] Markdown + Smarty Pants

2006-09-01 Thread John W. Long
Sean Santry wrote: >>> Having a standalone SmartyPants filter would be great, especially for >>> those who want to write HTML yet still educate their quotes. I'll >>> submit a patch with tests if you like. >> That sounds good. > > http://dev.radiantcms.org:9007/radiant/ticket/362 Awesome. Bodhi,

Re: [Radiant] nested layouts?

2006-09-01 Thread dror tirosh
Can you not have the same result simply by having a "body" page_part in the \, and then not have a "body" page_part in the actual pages. Radiant will look for the page_part either in the page you are trying to show or in its parent. If you need a different "body" for your root, then just create a h

Re: [Radiant] Sorting order

2006-09-01 Thread Ollivier Robert
On 9/1/06, Sean Cribbs <[EMAIL PROTECTED]> wrote: > You can specify by="attribute" on the children:each tag, which lets you pick > the attribute to sort by, which I'm assuming are any attributes of the Page > model. Found that by looking at the code but... I'm now getting repeatable ruby/mongrel

Re: [Radiant] Markdown + Smarty Pants

2006-09-01 Thread Sean Santry
> Since Textile curls quotes automatically, my first thought is to just > add the SmartyPants functionality to the existing Markdown filter. http://dev.radiantcms.org:9007/radiant/ticket/363 - Sean ___ Radiant mailing list Radiant@lists.radiantcms.org

Re: [Radiant] Markdown + Smarty Pants

2006-09-01 Thread Sean Santry
>> Having a standalone SmartyPants filter would be great, especially for >> those who want to write HTML yet still educate their quotes. I'll >> submit a patch with tests if you like. > > That sounds good. http://dev.radiantcms.org:9007/radiant/ticket/362 - Sean _

Re: [Radiant] Sorting order

2006-09-01 Thread Sean Cribbs
Ollivier,You can specify by="attribute" on the children:each tag, which lets you pick the attribute to sort by, which I'm assuming are any attributes of the Page model.Sean Cribbs seancribbs.comOn 9/1/06, Ollivier Robert <[EMAIL PROTECTED]> wrote: On 9/1/06, Ollivier Robert <[EMAIL PROTECTED]> wrot

[Radiant] Asset Manager Mephisto Style

2006-09-01 Thread Nicholas Mulder [Mulder Consulting]
For fun I installed Mephisto yesterday. Wow is it cool for a blogging app. (http://mephistoblog.com/) Mephisto's Asset management systems is as they claim it is, 'probably the best you'll find in any CMS/Bloggin application'. All I can say is wow, they have Buckets! Looking at both Radiant

Re: [Radiant] Sorting order

2006-09-01 Thread Ollivier Robert
On 9/1/06, Ollivier Robert <[EMAIL PROTECTED]> wrote: > When using such code as > > - > - Make that - - Sorry. -- Ollivier Robert - ___ Radiant mailing list Radiant@lists.radiantcms.org http://lists.radiantcms.org/mailman/listi

[Radiant] Sorting order

2006-09-01 Thread Ollivier Robert
When using such code as - - I can specify order="asc" or order="desc" but what if I want an arbitrary order? In the admin section, pages are ordered according to what I guess is the order of creation (page ID). I can not change the order itself (which would solve my problem). Any idea?

Re: [Radiant] Redirecting in Radiant

2006-09-01 Thread Sean Cribbs
A short behavior could do the trick, since you have direct access to the response object.  This might work:class RedirectBehavior < Behavior::Base  register "Redirect Permanently"  description %{ Redirects to another page. }   def process(request, response)    response.headers["Status"] = "301 Move

[Radiant] Redirecting in Radiant

2006-09-01 Thread Sean Santry
Having moved one of my sites to Radiant, I needed to implement permanent (301) redirects on some old URLs. Since I'm running under Mongrel behind Apache's mod_proxy (on TextDrive), I needed to do something at the Radiant level. (This was before mongrel could do redirects.) I decided to pat

Re: [Radiant] Caching

2006-09-01 Thread John W. Long
Tim Perrett wrote: > How is the caching set up in radiant? As it uses its own caching system > doesn't it, I am looking at doing something similar in another project, > however probably serving HTML rather than YAML but I cant fathom how radiant > custom caching has been set up? Look at: http://d

[Radiant] Caching

2006-09-01 Thread Tim Perrett
Hey all How is the caching set up in radiant? As it uses its own caching system doesn't it, I am looking at doing something similar in another project, however probably serving HTML rather than YAML but I cant fathom how radiant custom caching has been set up? Can anyone help? Cheers Tim ___

Re: [Radiant] nested layouts?

2006-09-01 Thread Sean Cribbs
Ollivier,Did you consider creating two layouts, one plain and one two-column?  I understand it's not the prettiest answer, but the 80% rule might apply in this case.Another alternative would be to use some branching tags like "if_content" or "if_url" to determine which sub-layout to use, and use a

Re: [Radiant] nested layouts?

2006-09-01 Thread Ollivier Robert
On 9/1/06, John W. Long <[EMAIL PROTECTED]> wrote: > I'm having trouble visualizing how that would work. Can you show me how >you would visualize a layout which used another layout? I'm more looking at a way to render partials or template. For the moment, I have / -- (layout: plain) | +

Re: [Radiant] nested layouts?

2006-09-01 Thread John W. Long
Ollivier Robert wrote: > Is it possible to have some kind of nested layouts (like partials in > Rails proper)? I'm having trouble visualizing how that would work. Can you show me how you would visualize a layout which used another layout? -- John Long http://wiseheartdesign.com __

Re: [Radiant] custom status

2006-09-01 Thread John W. Long
Keith Bingman wrote: > I need to add a status "Archived", so that a page with not show up in > the original tree, but will show up in the archive when the user > changes the status. I have easily added the status in the status.rb > Model and it works just great on the archive page. Was does n

[Radiant] nested layouts?

2006-09-01 Thread Ollivier Robert
Hello, Is it possible to have some kind of nested layouts (like partials in Rails proper)? Example: I have a page with a given layout. it has 3 parts, Body with - - and the two other parts (Main & Left) being the ones with content. The thing is, if I want to have another page

[Radiant] custom status

2006-09-01 Thread Keith Bingman
I need to add a status "Archived", so that a page with not show up in the original tree, but will show up in the archive when the user changes the status. I have easily added the status in the status.rb Model and it works just great on the archive page. Was does not work is the link to the

Re: [Radiant] Another question - Entering metadata

2006-09-01 Thread jeroen janssen
The style part should go in the options hash, so it should probably be like this: <%= text_area "page", "keywords", { :style => "width: 100%; height: 5em;'"} %> On Sep 1, 2006, at 7:26 AM, Bryan wrote: > I received the following error when I made the changes suggested. > > I am new to Ru