Re: [Radiant] automated page building

2007-05-16 Thread Saji Njarackalazhikam Hameed
Sean, Thanks.. With the URL now enclosed by quotes, I get the following error ...hmmm. what could i be doing wrong? saji # Start of Ruby code #require 'config/environment' ! i commented this out parent = Page.find_by_url(/articles/) i=1 child = Page.new child.parent = parent child.title =

Re: [Radiant] automated page building

2007-05-16 Thread Daniel Sheppard
child.parts should be an array -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Saji Njarackalazhikam Hameed Sent: Wednesday, 16 May 2007 4:57 PM To: radiant@lists.radiantcms.org Subject: Re: [Radiant] automated page building Sean, Thanks..

Re: [Radiant] automated page building

2007-05-16 Thread Saji Njarackalazhikam Hameed
Dear Dan, Thanks very much. I put child.parts as an array. child.parts = [ body ] Now the error is while saving. child.save! Here is the error message. Do I need to enter pass on login and password information through the script? If so how may i do that. Or what else could be

Re: [Radiant] automated page building

2007-05-16 Thread Francesco Lunelli
Saji Njarackalazhikam Hameed ha scritto: Dear Dan, Thanks very much. I put child.parts as an array. child.parts = [ body ] Now the error is while saving. child.save! ... I think it should be child.parts body ciao -- Francesco Lunelli Ymir s.r.l. Viale Verona 190/11

Re: [Radiant] CopyMove extension

2007-05-16 Thread Artur Baldyga
I've downloaded copmove extension from: http://darcs.bigchieflabs.com/radiant/extensions/copy_move/ Followed installation instructions I've installed this extension. In my CMS in tab extensions is pointed the extension. But now how can I use it in my CMS ?? -- Posted via

Re: [Radiant] automated page building

2007-05-16 Thread Adam Williams
On May 16, 2007, at 5:16 AM, Francesco Lunelli wrote: Saji Njarackalazhikam Hameed ha scritto: Dear Dan, Thanks very much. I put child.parts as an array. child.parts = [ body ] Now the error is while saving. child.save! ... I think it should be child.parts body I prefer

Re: [Radiant] CopyMove extension

2007-05-16 Thread Andrea Franz
Il giorno 16/mag/07, alle ore 12:30, Artur Baldyga ha scritto: I've downloaded copmove extension from: http://darcs.bigchieflabs.com/radiant/extensions/copy_move/ Followed installation instructions I've installed this extension. In my CMS in tab extensions is pointed the extension. But

Re: [Radiant] CopyMove extension

2007-05-16 Thread Artur Baldyga
I supposed also something like You said... but there is no such a button. I have also reorder extension . Could this cause problems?? -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search:

Re: [Radiant] CopyMove extension

2007-05-16 Thread Andrea Franz
Il giorno 16/mag/07, alle ore 13:09, Artur Baldyga ha scritto: I supposed also something like You said... but there is no such a button. I have also reorder extension . Could this cause problems?? Yes! Both extension overwrite this file: app/views/admin/page/_node.rhtml ..but you can view

[Radiant] Creating extension

2007-05-16 Thread Artur Baldyga
I want to create my own extension. I made my extension using this link: http://dev.radiantcms.org/radiant/wiki/HowToUseMailerExtension Is there any bigger tutorial with more details what I have to do , step by step or something else?? -- Posted via http://www.ruby-forum.com/.

Re: [Radiant] Creating extension

2007-05-16 Thread Artur Baldyga
Artur Baldyga wrote: I want to create my own extension. I made my extension using this link: http://dev.radiantcms.org/radiant/wiki/HowToUseMailerExtension Is there any bigger tutorial with more details what I have to do , step by step or something else?? Sorry that was:

Re: [Radiant] YAML filter borks Radiant

2007-05-16 Thread John W. Long
Bruno wrote: I've written a filter to interpret pages written in YAML. Radiant won't run it -- it seems that it chokes on the 'require' statement. Remove the statement and it seems to choke on the rest of it. Can anyone advise? What is the error message? (Look in your logs.) -- John Long

Re: [Radiant] Creating extension

2007-05-16 Thread John W. Long
Artur Baldyga wrote: I want to create my own extension. I made my extension using this link: http://dev.radiantcms.org/radiant/wiki/HowToUseMailerExtension Is there any bigger tutorial with more details what I have to do , step by step or something else?? I'm working on one, but it is

Re: [Radiant] Creating extension

2007-05-16 Thread Artur Baldyga
Do You have some links to this unfinished tutorial ?? -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site:

[Radiant] Routing Problems

2007-05-16 Thread Fabrizio Taddei
Hi everybody, I've developed an extension that display a list of links, taken from a database table, in a page of my site called links. By clickking on the title of a link a singlelink page will be opened. In this page is displayed a description of the link. To select the

Re: [Radiant] Creating extension

2007-05-16 Thread Jonathan Métillon
Wow, very much needed. Can't wait to see it finished! Thank you John. On 5/16/07, John W. Long [EMAIL PROTECTED] wrote: Artur Baldyga wrote: I want to create my own extension. I made my extension using this link: http://dev.radiantcms.org/radiant/wiki/HowToUseMailerExtension Is there

[Radiant] Extension Development - Getting a stylesheet included for the admin interface

2007-05-16 Thread James Thompson
It is wholly possible I have missed something in the archives or am just too stupid to figure this out but I need to include a stylesheet with my extension for the admin side of it. I have tried to write a mixin that appends to the @stylesheets variable but I'm obviously not doing it

Re: [Radiant] page_attachments extension

2007-05-16 Thread Artur Baldyga
I have such a problem with those extension. I've installed the extension and it's visible on admin/extensions page. But on Edit page there is no UI for uploading some file or anything... What can be wrong?? -- Posted via http://www.ruby-forum.com/.

Re: [Radiant] Extension Development - Getting a stylesheet included for the admin interface

2007-05-16 Thread Andrea Franz
Add a line like this below in your views: % include_stylesheet 'admin/gallery/gallery' -% Il giorno 16/mag/07, alle ore 15:52, James Thompson ha scritto: ntioned on th - Andrea Franz [EMAIL PROTECTED] http://bigchieflabs.com/blog/ http://think.bigchief.it

Re: [Radiant] YAML filter borks Radiant

2007-05-16 Thread Bruno
On 2007-05-16 13:45:36 +0100, John W. Long [EMAIL PROTECTED] said: Bruno wrote: I've written a filter to interpret pages written in YAML. Radiant won't run it -- it seems that it chokes on the 'require' statement. Remove the statement and it seems to choke on the rest of it. Can anyone

[Radiant] script/console error

2007-05-16 Thread Robert Kirschner
With the gem version (0.6.1) of radiant, i get the following error if i try firing up script/console. The svn version (rel_0-6-1) works fine. http://pastie.caboo.se/62062 Am I missing a gem or what is going on? Any help would be appreciated. -- Posted via http://www.ruby-forum.com/.

[Radiant] Dynamic extension

2007-05-16 Thread Andrea Franz
http://darcs.bigchieflabs.com/radiant/extensions/dynamic/rdoc/ With this extension you can create a page of Dynamic type that will be updated every time that one of its children will be saved/created/ destroyed. I use this page type for pages with content like this: ul r:children:each

Re: [Radiant] YAML filter borks Radiant

2007-05-16 Thread John W. Long
Bruno wrote: Well, nothing useful in the production.log or fastcgi.crash log. But running from the command line produced the following: eggnog% ./dispatch.fcgi /home/cadhas/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- YAML

Re: [Radiant] page_attachments extension

2007-05-16 Thread Matt Bauman
Do you have any other extensions that modify your edit-page page? I believe that a current limitation is that only one extension can modify the page. Matt On May 16, 2007, at 9:12 AM, Artur Baldyga wrote: I have such a problem with those extension. I've installed the extension and

Re: [Radiant] automated page building

2007-05-16 Thread Sean Cribbs
+1 for model.association_name.build Sean On 5/16/07, Adam Williams [EMAIL PROTECTED] wrote: On May 16, 2007, at 5:16 AM, Francesco Lunelli wrote: Saji Njarackalazhikam Hameed ha scritto: Dear Dan, Thanks very much. I put child.parts as an array. child.parts = [ body ] Now

Re: [Radiant] YAML filter borks Radiant

2007-05-16 Thread Bruno
Shouldn't that be in lowercase: require 'yaml' ? Umm..so it should. :-% I had never realised the requires were case-sensitive. That's three hours of my life gone for ever, and several more saved. So thank you. :-) Bruno ___ Radiant

Re: [Radiant] page_attachments extension

2007-05-16 Thread Sean Cribbs
Matt, You're almost right. I updated page_attachments to use the hooks available in 0.6.x to place a section just above the form buttons. However, if any other extensions directly override the interface, this could be broken. Artur, Make sure you run `rake

Re: [Radiant] page_attachments extension

2007-05-16 Thread Sean Cribbs
P.S. Make sure you do `rake radiant:freeze:edge` as well. 0.6.1 doesn't allow multi-part forms on the page-edit interface, which are needed for file uploads. See r436: http://dev.radiantcms.org/radiant/changeset/436 Sean On 5/16/07, Sean Cribbs [EMAIL PROTECTED] wrote: Matt, You're almost

[Radiant] [TIP] Managing images in Radiant

2007-05-16 Thread Bruno
This may be an obvious suggestion to many of you, but I thought I'd share the image management system I've constructed for my first Radiant site. I used Zenphoto, a PHP image gallery. Zenphoto automatically constructs galleries from images dropped in its 'albums' directory. I set up that

Re: [Radiant] page_attachments extension

2007-05-16 Thread Artur Baldyga
Matt Bauman wrote: Do you have any other extensions that modify your edit-page page? I believe that a current limitation is that only one extension can modify the page. Matt On edit page I have only tiny_mce editor... -- Posted via http://www.ruby-forum.com/.

[Radiant] Rails Conf

2007-05-16 Thread John W. Long
Well, I'm about to leave for the airport for Rails Conf. I would be delighted to meetup with any of you, so feel free to drop me an e-mail or call me (http://wiseheartdesign.com/contact/). We are planning to do a general meetup at the Doug Fir on Thursday at 7:00pm. So be sure to meet us

Re: [Radiant] Rails Conf

2007-05-16 Thread John W. Long
John W. Long wrote: We are planning to do a general meetup at the Doug Fir on Thursday at 7:00pm. So be sure to meet us there. http://www.dougfirlounge.com/ http://maps.google.com/maps?q=830+E+Burnside+Rd,+Portland+OR -- John Long http://wiseheartdesign.com

Re: [Radiant] Rails Conf

2007-05-16 Thread Matthew Parrish
I'd like to see you guys there. How are people planning to get there? I won't have a car and I'm staying at the Red Lion Hotel near the conference center. Google Maps tells me it's about 0.8 miles away. I could probably walk. But is there a better way? Thanks, Matt Parrish On May 16,

Re: [Radiant] Rails Conf

2007-05-16 Thread Sean Cribbs
I'm staying near the convention center too and planning to walk. Please email me or John privately if you want to come to Doug Fir; I'd like to get a headcount and possibly a reservation. Sean On 5/16/07, Matthew Parrish [EMAIL PROTECTED] wrote: I'd like to see you guys there. How are people

Re: [Radiant] Rails Conf

2007-05-16 Thread chris
I'd like to go too, and am also without car (and also at the Red Lion). Maybe we can share a cab. Doug Fir's web site has a show on Thursday with $8 admission, but it looks to be separate from the restaurant. Chris ___ Radiant mailing list Post:

Re: [Radiant] Rails Conf

2007-05-16 Thread Matthew Parrish
I think I'm going to walk there. If anyone else is interested, we can meet at the lobby of the Red Lion and head out around 6:30. Respond to the list (or me directly) if you'd like to tag along. On May 16, 2007, at 12:33 PM, [EMAIL PROTECTED] wrote: I'd like to go too, and am also

Re: [Radiant] Rails Conf

2007-05-16 Thread Ryan Heneise
I'd love to come if I can make it. My flight gets in at 6pm, so I might swing by a little late. Hope to see you all there! - Ryan Heneise www.artofmission.com On May 16, 2007, at 11:05 AM, John W. Long wrote: Well, I'm about to leave for the airport for Rails Conf. I would be delighted to

[Radiant] page_attachment extension help

2007-05-16 Thread Luigi Rizzo
**Hi. I've not found an example of usage of the page_attachment extension. Sean's site seems down. How do I practically use it inside a page? For example, if I enter this statements (textile filter): r:attachment name='pasticcio' / r:attachment:url name='ciccio' / I get the following error:

Re: [Radiant] page_attachment extension help

2007-05-16 Thread Sean Cribbs
It would give you the nil error if you give an incorrect filename. Try giving the full filename, like 'ciccio.jpg' or whatever type it is. You can see the filenames next to the thumbnail in the page-edit interface. Apologies about my website. If it's down, wait about 30 minutes and check again

[Radiant] children sorting

2007-05-16 Thread David Minor
r:children:each order=asc order doesn't seem to be working for me. is my code old? has something changed during the mental=0.6.2 morph? dm ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: