Re: [Radiant] Newsletter extension config

2008-06-01 Thread Andrew Neil
Thanks for a swift reply Andrea. I know that server_settings was renamed to smtp_settings with rails 2. Aha! With this in my environment.rb: config.action_mailer.smtp_settings = { :address = smtp.gmail.com :port = 587, :domain = westportbookfestival.org, :authentication = :plain,

Re: [Radiant] any way to dynamically populate r:random?

2008-06-07 Thread Andrew Neil
On 6 Jun 2008, at 01:01, john muhl wrote: I'd like to insert part of a random subpage into the sidebar and figured it'd be a good fit for the r:random tag but so far am having very little luck. I've tried: r:random r:children:each r:optionr:title//r:option /r:children:each /r:random

Re: [Radiant] Which extension to use?

2008-06-15 Thread Andrew Neil
Nate, Glad you like it. You are my frickin' hero! :-) Andrea is the hero. I just took a hatchet to his code! can I add additional columns in extension migrations or will it somehow break the extension? Give it a go. I don't think it should break anything. If you want the extra fields

Re: [Radiant] Which extension to use?

2008-06-16 Thread Andrew Neil
On Mon, Jun 16, 2008 at 12:58 PM, Andrea Franz [EMAIL PROTECTED] wrote: Thank you for contributing to the extension. Did you fork it from github? I'd like to fetch you changes. Send me a pull request! I actually generated the Subscriber Lists extension from scratch, and plagiarized the bits

Re: [Radiant] Which extension to use?

2008-06-16 Thread Andrew Neil
Nate, Did you make any headway on this? Try running this in script/console: s = Page.find_by_class_name(SubscriberListPage) = #SubscriberListPage id: 11, title: Newsletter, slug: newsletter, breadcrumb: Newsletter, class_name: SubscriberListPage, status_id: 100, parent_id: 1, layout_id:

Re: [Radiant] Which extension to use?

2008-06-16 Thread Andrew Neil
that right away. Drew Sean Andrew Neil wrote: Nate, Did you make any headway on this? Try running this in script/console: s = Page.find_by_class_name(SubscriberListPage) = #SubscriberListPage id: 11, title: Newsletter, slug: newsletter, breadcrumb: Newsletter, class_name: SubscriberListPage

Re: [Radiant] Which extension to use?

2008-06-16 Thread Andrew Neil
Sean, Rails 2.0.x allows you to use hashes in conditions, even for nil attributes, so you could refactor that like so: count(:conditions = {:unsubscribed_at = nil, :subscriber_list_id = subscriber_list.id }) Is there a way to say NOT NULL?, e.g. :condition = [unsubscribed_at IS NOT ?

[Radiant] Import Export forked

2008-06-24 Thread Andrew Neil
Hi, I was trying out the import_export extension, and I noticed that it wasn't backing up records from my subscribers table. (The subscribers table was added by a migration in the subscriber_lists extension[1]). Looking at the source, I could see an easy way of fixing this, changing:

Re: [Radiant] Import Export forked

2008-06-25 Thread Andrew Neil
. Drew -Alex http://beautifulpixel.com On Jun 24, 2008, at 3:57 PM, Andrew Neil wrote: Hi, I was trying out the import_export extension, and I noticed that it wasn't backing up records from my subscribers table. (The subscribers table was added by a migration in the subscriber_lists

Re: [Radiant] Import Export forked

2008-07-20 Thread Andrew Neil
-extension/tree [1]: http://github.com/ihoka/radiant-import-export-extension/tree [2]: http://lists.radiantcms.org/pipermail/radiant/2008-June/009330.html On 24 Jun 2008, at 23:57, Andrew Neil wrote: Hi, I was trying out the import_export extension, and I noticed that it wasn't backing up records

[Radiant] New Site: West Port Book Festival

2008-07-22 Thread Andrew Neil
Announcing a new site built on Radiant: http://westportbookfestival.org/ Designed by Will Brady, built by myself. I was determined to keep it simple, so kept the number of extensions to a minimum: * Reorder[1] * Sass[2] * Subscriber lists[3] * Wrappits[4] * Markdown I considered

Re: [Radiant] New Site: West Port Book Festival

2008-07-22 Thread Andrew Neil
it as an extension. Drew [1]: http://dev.radiantcms.org/ticket/611 On Tue, Jul 22, 2008 at 1:27 AM, Andrew Neil [EMAIL PROTECTED] wrote: Announcing a new site built on Radiant: http://westportbookfestival.org/ Designed by Will Brady, built by myself. I was determined to keep

Re: [Radiant] New Site: West Port Book Festival

2008-07-22 Thread Andrew Neil
original patch included tests, but now that Radiant has moved on to specs I guess it has gone stale. I will try forking Radiant, and translating my tests into specs. Does anyone know a rough schedule for the next release? Cheers, Drew On Jul 22, 2008, at 5:11 AM, Andrew Neil wrote: having just

Re: [Radiant] Re: Layouts, snippets and site assets on the file system?

2008-07-31 Thread Andrew Neil
On 14 Jun 2008, at 18:51, Sean Cribbs wrote: Jonathan McCoy wrote: Highly unlikely. FUSE is a modular file system API - basically a simple means to build your own file system without actually having to do anything majorly complex. Although yes, what you linked to would be a cool

Re: [Radiant] new concurrent_draft extension

2008-08-08 Thread Andrew Neil
This looks excellent. I'm eager to try it out. But pray tell, what did Haydn have to do with it? On 8 Aug 2008, at 18:22, Sean Cribbs wrote: Just to do a little shameless promotion, we're very happy with the results of this extension -- it cleanly and simply deals with the 'working copy'

Re: [Radiant] 500 Error on page update.

2008-08-09 Thread Andrew Neil
On 9 Aug 2008, at 19:04, Alan Peabody wrote: I seem to be getting a 500 error no matter how I deploy my radiant site. That is an internal server error. You might get an idea of what is going on if you can look at the log files on your server. I had a similar problem recently, and when I

[Radiant] Summer reboot article

2008-08-13 Thread Andrew Neil
Hey folks, This is far from finished, but I hope that by shouting about it, I can provide some impetus for others to get their docs rolling: http://wiki.radiantcms.org/Using_the_built-in_tags Pitched at beginner level. Regards, Drew ___

Re: [Radiant] File-based Snippets/Layouts with Support for Radiant Tags?

2008-08-25 Thread Andrew Neil
The file_system extension exists for this purpose. Check it out: http://github.com/nelstrom/radiant-file-system-extension/tree/master I should warn you that it is still under development, so if you do use it, take care! I would appreciate feedback on any problems you encounter. Drew On

Re: [Radiant] Re: File-based Snippets/Layouts with Support for Radiant Tags?

2008-08-25 Thread Andrew Neil
On 25 Aug 2008, at 14:13, Arik Jones wrote: Andrew Neil wrote: The file_system extension exists for this purpose. Check it out: http://github.com/nelstrom/radiant-file-system-extension/tree/master I should warn you that it is still under development, so if you do use it, take care! I

[Radiant] new extension: Sibling Tags

2008-08-27 Thread Andrew Neil
Announcing a new extension for Radiant: Sibling tags. This provides tags allowing you to refer to the neighbouring siblings of a page. An example usage: r:siblings r:previousPrevious article: r:link//r:previous r:nextNext article: r:link//r:next /r:siblings I've added it to the

Re: [Radiant] Re: 0.6.9 sass_filter Extension

2008-08-29 Thread Andrew Neil
On 29 Aug 2008, at 20:35, Chuck Barr wrote: Sean Cribbs wrote: Haml has been included in Radiant since 0.6.7. We need to remove it from the sass_filter extension. Sean I realize there's potential confusion for the new user but sass_filter should come stock like textile or markdown. +1

Re: [Radiant] Search for a relative item

2008-08-30 Thread Andrew Neil
On 30 Aug 2008, at 18:25, Sean Cribbs wrote: Maybe a simple tag is in order here: r:sibling slug=hashr:link//r:sibling Where the sibling tag is defined as: tag 'sibling' do |tag| tag.locals.page = tag.locals.page.siblings.find {|s| s.slug == tag.attr['slug'] }; tag.expand if

[Radiant] Summer reboot Radius articles

2008-09-01 Thread Andrew Neil
Hello all (and especially Mohit), A couple of weeks ago I started work on the article Using the built- in tags for the Summer Reboot. My intention was to go over a handful of Radius tags which carry out 'typical' functions, such as inserting content, changing scope, showing content on

Re: [Radiant] Summer Reboot

2008-09-19 Thread Andrew Neil
On Fri, Sep 19, 2008 at 10:59 AM, Casper Fabricius [EMAIL PROTECTED]wrote: Well, I'm not. Feel free to write it, just make sure it doesn't overlap too much with other Creating an extension articles. Perhaps you could restructure things a bit, I'm not sure the current division and order is

Re: [Radiant] How does one keep track of GitHub?

2008-09-30 Thread Andrew Neil
On Tue, Sep 30, 2008 at 8:05 AM, Pacifists [EMAIL PROTECTED] wrote: Hello, It's really nice idea, I've subscribed to it and I can see a bunch of not radiant related posts in there (all 2 days old). Maybe this was before filtering rules were applied ? Yeah, I got that as well, and I guess

[Radiant] New wiki article: removing scaffolding from the Link Roll

2008-10-02 Thread Andrew Neil
I've written a new article for the wiki, which follows on from the original Creating Radiant Extensions[1] tutorial. It demonstrates how to remove the scaffolding from your extension, and style it so that it looks more like it belongs in Radiant. Find it here:

Re: [Radiant] Wacky version control idea for content

2008-10-05 Thread Andrew Neil
On 5 Oct 2008, at 00:30, Jay Levitt wrote: Just a thought I had in the shower: Most attempts at CMS version control end up reinventing large parts of subversion/git/etc. inside the database. Instead... Why not use something like FuseFS to implement a filesystem that maps the Radiant

Re: [Radiant] Wacky version control idea for content

2008-10-05 Thread Andrew Neil
On 5 Oct 2008, at 12:32, Jay Levitt wrote: The file_system extension was designed for this purpose. Check it out here: http://github.com/nelstrom/radiant-file-system-extension/tree/master Ah hah! I saw that yesterday, but (so far, at least) it looks like it's targeted at explicit

Re: [Radiant] Wacky version control idea for content

2008-10-05 Thread Andrew Neil
On 5 Oct 2008, at 14:59, Sean Cribbs wrote: At the moment, the extension doesn't play very well with subversion, so be aware of this if you choose to add the design directory to a svn repository. The reason has to do with subversion placing a hidden .svn directory inside every directory

Re: [Radiant] New wiki article: removing scaffolding from the Link Roll

2008-10-05 Thread Andrew Neil
On 3 Oct 2008, at 00:17, John W. Long wrote: On Oct 2, 2008, at 6:52 PM, Andrew Neil wrote: I've written a new article for the wiki, which follows on from the original Creating Radiant Extensions[1] tutorial. It demonstrates how to remove the scaffolding from your extension, and style

Re: [Radiant] Email/subscriber validation issues with subscriber_lists extension

2008-10-09 Thread Andrew Neil
On 9 Oct 2008, at 18:24, Nate Turnage wrote: Hey guys, I am using the subscriber lists extension (thanks nelstrom, I love the CSV export) for creating a contact us type of form. I'm not sure if I understand you correctly, but Contact us is not the use case I had in mind when I made the

Re: [Radiant] file_system extension (was Wacky version control idea for content)

2008-10-11 Thread Andrew Neil
Sorry I couldn't respond to this sooner. It has been a busy time for me lately. I've been meaning to write to the list about file_system for a while now. I wrote to Drew and praised him for it and he let me know that it was Sean's invention. Cheers to both of you, nice work. I played

[Radiant] Rake census:layouts

2008-10-12 Thread Andrew Neil
I just wrote a rake task for showing stats about how many pages are using each Layout. I'm spring cleaning a site which uses unique layouts for quite a few pages. There are a few old drafts which are no longer in use, so I wanted to know which layouts I could discard. I thought it might be

[Radiant] Audio extension

2008-10-16 Thread Andrew Neil
Hi folks, I'm thinking of writing a Radiant extension to add a flash audio player to your site. My plan is to use the Audio Player Wordpress plugin: http://www.1pixelout.net/code/audio-player-wordpress-plugin/ in a similar fashion to the plugin for Textpattern:

Re: [SOLVED] Re: [Radiant] Paperclipped + flash video files.

2008-10-21 Thread Andrew Neil
I'm very interested to hear of your experience with MIME types and browsers. I've just written an audio_player extension[1], which uses paperclip to deal with attaching audio files. The flash player that I'm using can only play mp3s, so I want to limit the MIME type to that format. I've

[Radiant] Abstract and Resource controllers

2008-10-25 Thread Andrew Neil
Hi folks, I recently updated the Creating Radiant Extensions tutorial[1], by removing the references to Scaffolding (dead since Rails 2). Instead of using scaffolding, I suggested making the LinksController inherit from the AbstractModelController: class Admin::LinksController

[Radiant] Conditions in r:children

2008-10-25 Thread Andrew Neil
Today is the Radiant sprint day. I made a proposal for an enhancement to the standard Radius tags: http://pastie.org/300372 I've implemented this now in my own fork of Radiant. Check it out here: http://github.com/nelstrom/radiant/tree/master I'd be interested to hear of any

Re: [Radiant] Conditions in r:children

2008-10-27 Thread Andrew Neil
On Mon, Oct 27, 2008 at 9:44 AM, Simon Josi [EMAIL PROTECTED] wrote: Absolutel great! That's what I was looking for since quite some time. Glad to hear I wasn't the only one! Drew ___ Radiant mailing list Post: Radiant@radiantcms.org Search:

Re: [Radiant] Using textile inside of snippets

2008-10-30 Thread Andrew Neil
Joe, Interesting... I think that could be a bug in the implementation of the r:snippet and r:yield tags. I'm not sure how this should be addressed. A snippet could be called from a page part, layout, or from another snippet, each of which could be using a different filter. I suppose that

Re: [Radiant] file_system extension (was Wacky version control idea for content)

2008-11-07 Thread Andrew Neil
Jim's experience has revealed a fairly serious bug in the current implementation of the extension though: if you run file_system:load, it will delete all models which have not been saved to the FS. So if you ran file_system:save:layouts, you would have no pages or snippets on the FS, and

Re: [Radiant] file_system extension (and other import/export tools)

2008-11-08 Thread Andrew Neil
1. There are a couple of other extensions that appear similar (Sean's Import/Export and and Istvan Hoka's Super Import Export come to mind). How is yours different? The file_system extension does not attempt to back up the entire database representation of your Radiant website,

Re: [Radiant] Wrap will_paginate helper in a radius tag for public view

2008-11-09 Thread Andrew Neil
On 7 Nov 2008, at 16:14, Roberto Basso wrote: Hi, I would wrap the follow helper %= will_paginate @posts % in a radius tag like this r:books:paginate / on my extension. How can render will_paginate helper in my public view ? There is a paginate extension for Radiant:

Re: [Radiant] Importing Exporting

2008-11-13 Thread Andrew Neil
Chris, The import_export extension[1] captures every model in the database within one big yaml file. By default this is saved as db/export.yml. Pros: * very portable Cons: * if you want to edit the records captured in the yaml, they can be quite difficult to find The super_export

Re: [Radiant] SnS Requests Anyone?

2008-11-13 Thread Andrew Neil
I'm getting ready to roll out a new SnS version this weekend with some bug fixes and a column name change (requested and implemented by Andrew Neil to help it work with his file_system extension). As Chris says, I have been working on integrating file_system functionality into SnS

Re: [Radiant] Importing Exporting

2008-11-14 Thread Andrew Neil
Adam ...the super_export (which is the only one of the two that will work for this) will put its files there too. The import_export extension can provide a custom path to a yaml file, so could also be used for this. e.g.: rake db:export TEMPLATE=db/path/to/export.yml rake db:import

Re: [Radiant] Re: Automating navigation?

2008-11-17 Thread Andrew Neil
On Mon, Nov 17, 2008 at 4:53 PM, Little Known [EMAIL PROTECTED] wrote: Little Known wrote: Mohit Sindhwani wrote: Little Known wrote: Is there a way to automate the nav such that it shows a list of every page, or must you make a snippet and manually code all of the links? Like a site

Re: [Radiant] [ANN] Styles 'n Scripts v0.7

2008-11-24 Thread Andrew Neil
Thanks Chris, This means that it is time for me to announce my sns_file_system extension: http://github.com/nelstrom/radiant-sns_file_system-extension/tree/master Also on the Radiant extensions repository: http://ext.radiantcms.org/extensions/69-sns-file-system You will need the latest

Re: [Radiant] Newsletter extension questions

2008-11-25 Thread Andrew Neil
On Tue, Nov 25, 2008 at 5:01 PM, Nate Turnage [EMAIL PROTECTED] wrote: Hey all, I am about to add the newsletter extension to a project, but first I wanted to ask a few questions about it. 1. Can it send an email confirmation back to the person that signed up? Yes 2. Is it set up to

Re: [Radiant] Copy_move extension and 0.6.9

2008-12-29 Thread Andrew Neil
On 29 Dec 2008, at 01:15, Nate Turnage wrote: Can anybody tell me how I can git clone and older version of the copy_move extension for use with Radiant 0.6.9? I am not up with all the ins and outs of git enough to figure out how to use previous revisions. I would suggest checking out an

Re: [Radiant] Phantom code when Radiant is deployed

2008-12-29 Thread Andrew Neil
Sounds like it could be caused by a filter. Are you using Markdown or Textile for any of the snippets or page parts? Be aware that whitespace is significant to both (?) of these filters. e.g. in Markdown[1], if you end a line with 2 or more spaces, it is interpreted as a line-break (i.e.

[Radiant] Multi site wiki entry

2008-12-29 Thread Andrew Neil
Hi, I've just written up a piece for the wiki on the multi-site extension. Here it is: http://wiki.radiantcms.org/Multi-site_Extension The Summer reboot[1] suggested the title Multi-site Extension (why and how). I've gone into some depth on the 'how', but only dashed out a

Re: [Radiant] About Radiant Podcast podcast tags and site structure

2009-01-05 Thread Andrew Neil
Luigi, I've written an audio player extension[1] for radiant, which you might find useful. It allows you to upload mp3 files, without requiring any other asset management extensions (e.g. page_attachments or paperclipped). It also provides radius tags for embedding a flash mp3 player.

Re: [Radiant] Conditions in r:children

2009-01-06 Thread Andrew Neil
someone else is now though! If my patch doesn't pass the quality controls for inclusion in core, let me know why not, and I'll try and improve it. Cheers, Drew greetings, /simon On Sat, 25 Oct 2008 21:23:43 +0100 Andrew Neil andrew.jr.n...@googlemail.com wrote: Today is the Radiant sprint

Re: [Radiant] Editing Styles in Radiant CMS

2009-01-08 Thread Andrew Neil
On 9 Jan 2009, at 03:26, Mark Muskardin wrote: Hello, I'm a newb to Radiant CMS :) I'd like to edit the HTML structure of my Radiant CMS entries. Inside of the Articles parent page, I've added a div around r:content. But after I click save, this new markup does not display in source.

Re: [Radiant] file system extension and reorder

2009-01-18 Thread Andrew Neil
On 16 Jan 2009, at 14:47, Keith Bingman wrote: Has anyone gotten the reoder extension to work with the file_system extension? It seems to be dumping the position column of the pages, but on reimport they are no longer there. A quick look (very quick...) didn't reveal anything to me. It

Re: [Radiant] Building a yearly archive index whose pages are the children of children

2009-01-20 Thread Andrew Neil
Your current sitemap implies that the 'Reports' and 'Dissertations' pages are publications themselves. They probably have paths such as: /publications/2009/01/20/reports With sub-pages like this: /publications/2009/01/20/reports/report-1 I think that you intend for the 'Reports' and

Re: [Radiant] Radiant Tags, Etc

2009-01-21 Thread Andrew Neil
On 22 Jan 2009, at 00:53, Susan Chouinard wrote: I'm nearly completely lost when trying to build something using Radiant because I don't understand the tags like r:content /, what they are for and why we have to use them. Can anyone point me to another source of information, because the

Re: [Radiant] Re: Stuck on Creating Radiant Extensions tutorial

2009-01-28 Thread Andrew Neil
Roman, Sorry, my bad. I updated the tutorial a few months back, replacing the scaffolding (which was deprecated in Rails) with Radiant's own AbstractModelController. I made alterations to the tutorial after modifying my local copy of the LinkRoll controller, but I didn't try running

Re: [Radiant] Abstract and Resource controllers

2009-01-28 Thread Andrew Neil
On 27 Jan 2009, at 22:15, Andrew Neil wrote: I am planning on updating the Creating Radiant Extensions tutorial[1] to reflect these changes. I hesitate, because I think the current tutorial should continue to exist, as long as Radiant 0.6.9 and below are still in usage. Would

Re: [Radiant] SnS Extension - 500 Error

2009-01-28 Thread Andrew Neil
From your log: ActiveRecord::StatementInvalid (Mysql::Error: Table 'reliveministry.text_assets' doesn't exist: SHOW FIELDS FROM `text_assets`) it appears that the text_assets table is missing. Perhaps you need to run the migrations for sns? Make sure you do it in both dev and

Re: [Radiant] Abstract and Resource controllers

2009-01-29 Thread Andrew Neil
Thanks Jeroen, for taking the time to do this. I'm pleased that you have a working link_roll extension, at the end of it. That was my main concern. If you could update the errors you've pointed out too, that would be a great help. the first thing I've noticed is that the text uses I and my in

Re: [Radiant] Rake census:layouts

2009-01-31 Thread Andrew Neil
On 12 Oct 2008, at 16:32, Andrew Neil wrote: I just wrote a rake task for showing stats about how many pages are using each Layout. I'm spring cleaning a site which uses unique layouts for quite a few pages. There are a few old drafts which are no longer in use, so I wanted to know which

Re: [Radiant] Customizing Radiant's command line behaviour

2009-01-31 Thread Andrew Neil
I wonder if rails templates could be used for setting up a fresh Radiant site to taste: http://m.onkey.org/2008/12/4/rails-templates That would be very nice. Drew On 31 Jan 2009, at 06:03, Mohit Sindhwani wrote: Adam van den Hoven wrote: Absolutely. I'm talking about tailoring

Re: [Radiant] Customizing Radiant's command line behaviour

2009-01-31 Thread Andrew Neil
On 31 Jan 2009, at 06:48, Adam van den Hoven wrote: I was talking about editing radiant directly and bending to my will but writing a script to handle it is probably smarter. Sigh I do hate it when lofty ideas are shot down. :) Now if I could only bypass the interactive portions of the

Re: [Radiant] Counting Articles

2009-02-04 Thread Andrew Neil
On Wed, Feb 4, 2009 at 5:07 AM, Sean Cribbs seancri...@gmail.com wrote: r:children:count / should use the default find options for page children, which is to exclude virtual pages. Just to be sure, add virtual=false and see if you get a different result. Are you sure? Looking at the code

Re: [Radiant] Counting Articles

2009-02-04 Thread Andrew Neil
it would be best if count had the option to exclude virtual pages and only include published pages. I think Drew's method would do that. But there must be more to it then just changing out that code and restarting Mongrel. Steven On Feb 4, 2009, at 3:21 AM, Andrew Neil wrote: On Wed

[Radiant] Radiant 0.7.0 gem dependencies

2009-02-07 Thread Andrew Neil
Great to see Radiant 0.7.0 out the door, after all that hard work. Thanks guys! I've installed the radiant-0.7.0 gem, and just tried creating a project with it. It bailed out with the following error: $ radiant seven /Library/Ruby/Site/1.8/rubygems.rb:578:in

Re: [Radiant] Using Design Templates (CSS and Images)

2009-02-10 Thread Andrew Neil
On 10 Feb 2009, at 20:51, Tony Davis wrote: I would like to use a design template that consists of a number of image files and a few css files in my radiant project. I am used to regular rails programming and I would add them to the publc/css directory (and similar for images). How do I

Re: [Radiant] Announcing the Shortcut Extension

2009-02-18 Thread Andrew Neil
On Wed, Feb 18, 2009 at 5:06 PM, Jim Gay j...@saturnflyer.com wrote: Announcing the Shortcut Extension Looks good Jim! http://ext.radiantcms.org/extensions/104-shortcut It provides a way to take a page found at /a-very/long/url-for/this-page and access it at /this-page and it will cache

Re: [Radiant] Index at top of page ??`

2009-03-16 Thread Andrew Neil
You could try this: * Create each bio page separately as you suggested I agree. This is a good way to go. * Create a special page part called 'anchor' in the bio page You could then write a special tag that creates a link to that anchor using r:children:each and a special tag similar to

Re: [Radiant] page attachments

2009-04-16 Thread Andrew Neil
Steven, Attachments can be inherited from parent pages. So if you attach an image to your Home page, then it will be available to all pages, layouts and snippets. Page attachments is a bit fussy: when you ask for a file that doesn't belong to the current page (or its ancestors) it raises

Re: [Radiant] rspec 1.2.2 | radiant 0.7.1 anybody?

2009-05-27 Thread Andrew Neil
I've just ran into this problem too, whilst trying to upgrade a site from Radiant 0.6.9 to 0.7.1. I found that I could not run `rake radiant:update`. I kept getting a message like: can't activate rspec (= 1.1.12, runtime), already activated rspec-1.2.6 I found that uninstalling all

Re: [Radiant] rspec 1.2.2 | radiant 0.7.1 anybody?

2009-05-28 Thread Andrew Neil
On 28 May 2009, at 05:20, Mohit Sindhwani wrote: Mohit Sindhwani wrote: Andrew Neil wrote: I've just ran into this problem too, whilst trying to upgrade a site from Radiant 0.6.9 to 0.7.1. I found that I could not run `rake radiant:update`. I kept getting a message like: can't

[Radiant] How do you turn page caching off in 0.7.1?

2009-05-28 Thread Andrew Neil
Hi, I have a line in my config/environments/development.rb file as follows: ResponseCache.defaults[:perform_caching] = false In version 0.6.9 of Radiant, this turned caching off in development mode. I've just upgraded a site to run on 0.7.1, and I now find that page caching is

Re: [Radiant] rspec 1.2.2 | radiant 0.7.1 anybody?

2009-05-28 Thread Andrew Neil
Mohit Sindhwani wrote: Andrew Neil wrote: On 28 May 2009, at 05:20, Mohit Sindhwani wrote: Mohit Sindhwani wrote: Andrew Neil wrote: I've just ran into this problem too, whilst trying to upgrade a site from Radiant 0.6.9 to 0.7.1. I found that I could not run `rake radiant:update`. I

Re: [Radiant] Re: Possible to disable cache for a single page?

2009-06-11 Thread Andrew Neil
This is an old thread that I have been meaning to follow up. Sean suggested: that one should focus on the _why_ you need an uncached page in the first place, and address that need first Indeed! I created a route: map.with_options(:controller = 'site') do |site| site.connect

Re: [Radiant] Radiant Extension

2009-07-06 Thread Andrew Neil
Hi, You might like to have a look at these extensions: http://github.com/pilu/radiant-newsletter/tree/master http://github.com/nelstrom/radiant-subscriber-lists-extension/tree/master I wrote the subscriber_lists extension to gather email addresses through a form on the

Re: [Radiant] Routes and Custom Pages Types

2009-08-25 Thread Andrew Neil
On Tue, Aug 25, 2009 at 2:13 PM, Sean Cribbs seancri...@gmail.com wrote: Johannes, Your TripPage should override Page#find_by_url and return itself or an appropriate child page for URLs that match your scheme. Way back in the day we did that for KCKCC's syllabus pages - wish I still had

Re: [Radiant] How can I create a fork of an extension at Github?

2009-09-15 Thread Andrew Neil
If you are logged in to github, you should see a button labelled fork when you visit the home page for a repository. Just hit that button, and github will create your own fork of the project in question. Once that's done, you can clone your fork of the repository onto your local machine: click the

Re: [Radiant] Is the RedCloth extensions known not to work with 0.8.1?

2009-10-18 Thread Andrew Neil
Nate, Sorry I can't answer your question directly, but as an alternative you might consider applying the alternating classes to list elements using javascript. Some of the appeal in offering Textile or markdown for content editors is that they have a simple syntax to learn, e.g. asterisks create

Re: [Radiant] Blog extension usage

2009-11-17 Thread Andrew Neil
The README is a bit sparse for the blog extension. As it says: The Blog ... is a conglomeration of multiple extensions and new features. It includes my 'sibling_tags' extension, which provides tags for linking to next/previous articles. Documentation for the sibling tags extension can be found

[Radiant] Images in extension registry

2010-01-26 Thread Andrew Neil
Hi folks, I've just got round to posting images for each of my entries in the extension registry. You should do the same! http://ext.radiantcms.org/authors/18-drew-neil That's all. Drew ___ Radiant mailing list Post: Radiant@radiantcms.org

[Radiant] URL format for archive extension

2010-04-01 Thread Andrew Neil
Is it possible to modify the URL format for child pages of an Archive section? I would prefer just year+month: //mm/:slug rather than the full year+month+day /yyy/mm/dd/:slug I'm hoping that this can be configured through Radiant::Config settings, but if I have to hack