Re: [Radiant] How To add Search to your Radiant site

2007-10-24 Thread Richard Hurt
OK, now I feel a little better. :) Thanx! Richard On 10/23/07, Andrew Neil [EMAIL PROTECTED] wrote: On 23 Oct 2007, at 13:03, Richard Hurt wrote: Excellent! Man, where were you last week when I learned all this info. the hard way - by looking at the source code?!? :) That's how I

Re: [Radiant] Names of months in Archive Extension

2007-10-24 Thread Erik van Oosten
Artur, I am using a Rails plugin called Dutchify. Its code may help you develop a Polify, or someting like that. Dutchify is quite dirty as it overrides the Ruby date and time classes. Works well though. Don't forget to restart Radiant after you install this plugin ;) Regards, Erik.

[Radiant] Using the TextFilters to filter text in an extension

2007-10-24 Thread Hans-Christian Fjeldberg
Hello. I am currently extending the comments extension with some extra functionality, and trying to finish some of Ryan's todos. One of these is that also the text in the comments should be filtered through a text filter, at the moment only textile is used, but only needs to add a drop

[Radiant] How to get access to variables in partials?

2007-10-24 Thread Hans-Christian Fjeldberg
This is probably a stupid question, but please bear with me! I am currently removing the admin_parts dependency from the comments extension, and replacing this with shards instead, as I feel this will make all happy, and will be better supported in the future. I am also trying to add some

Re: [Radiant] How to get access to variables in partials?

2007-10-24 Thread Hans-Christian Fjeldberg
That worked, thank you. I'll try to release my patches for the comments extension tomorrow Norwegian time... As I do not know exactly how the site-map works, I don't have any great ideas, but I do agree _node.rhtml has a lot of code that should rather be in a helper or something.

[Radiant] Adding images using textile

2007-10-24 Thread Maggie Patrick
I am trying to add images to a web page using textile but the image is not showing up. I put the image in my public folder/images then I used the following link: !http://(mywebsite)/photo.jpg! Nothing happened - where did I go wrong?? Should I add the complete url?? HELP!!! -- Posted via

Re: [Radiant] Adding images using textile

2007-10-24 Thread Will Green
It should be: !http://(mywebsite)/images/photo.jpg! If its in your public/images folder. == Will Green Maggie Patrick wrote: I am trying to add images to a web page using textile but the image is not showing up. I put the image in my public folder/images then I used the following link:

Re: [Radiant] Adding images using textile

2007-10-24 Thread Maggie Patrick
Will Green wrote: It should be: !http://(mywebsite)/images/photo.jpg! If its in your public/images folder. == Will Green Will Thanks for responding yes it is in my public images folder should I list ther entire string - ie !http://(mywebsite)/work/public/images/photo.jpg! or should

Re: [Radiant] Adding images using textile

2007-10-24 Thread Will Green
The latter. The public directory in a Rails app (which Radiant is) roughly maps to http://(mywebsite)/ (of course except for Rails routes, which are not actually part of the file system, per se). Will Green Maggie Patrick wrote: Will Green wrote: It should be:

Re: [Radiant] Adding images using textile

2007-10-24 Thread Jim Gay
Give either one a shot and find out, but it should be the full path to the image starting with the public directory. So you can assume that (mywebsite) is the same as public (mywebsite)/path/to/image is the same as: public/path/to/image On Oct 24, 2007, at 7:06 PM, Maggie Patrick wrote:

Re: [Radiant] Adding images using textile

2007-10-24 Thread Maggie Patrick
Jim Gay wrote: Give either one a shot and find out, but it should be the full path to the image starting with the public directory. So you can assume that (mywebsite) is the same as public (mywebsite)/path/to/image is the same as: public/path/to/image thanks it worked - part of the

Re: [Radiant] Adding images using textile

2007-10-24 Thread Mohit Sindhwani
Maggie Patrick wrote: Jim Gay wrote: Give either one a shot and find out, but it should be the full path to the image starting with the public directory. So you can assume that (mywebsite) is the same as public (mywebsite)/path/to/image is the same as: public/path/to/image

Re: [Radiant] [PREVIEW] Snapshot extension: serve Radiant sites statically

2007-10-24 Thread Mohit Sindhwani
Aitor Garay-Romero wrote: Hi!, Find it attached to this message. The basic idea of the snapshot extension is to generate a local copy of all pages in Radiant's database. This allows to deploy a complete site as static files to the web server, where it can be served statically by