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 Ruby on

[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] 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 not

[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] 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:

[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

[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?

[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

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] wrote:

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 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] 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 hidden

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, would you

[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] 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 back to

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

[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.

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 and

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 r:content / into

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 is

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 you'll find

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

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 use it

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 issue

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

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 the

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.content