[Radiant] Adding-Custom-Radius-Tags

2010-12-16 Thread rcz
I'm trying to write my own extension. I've followed this article https://github.com/radiant/radiant/wiki/Adding-Custom-Radius-Tags. I've written first spec files custom_tags_spec.rb. Now whenever I call rake spec I get this error (in F:/Work/Rails/Radiant/Blogg/vendor/extensions/custom_tags) rak

Re: [Radiant] Re: deploying radiant 0.9.1 with capistrano

2010-12-16 Thread Fima Leshinsky
Thanks for all the helpful posts. So I've got capistrano deploying my github-hosted application to my staging server. Works great! I'm not using bundler yet as I'm not sure of the benefits there. One of the problems I'm running into is deploying migrations (capistrano complains that it's not able t

Re: [Radiant] Adding-Custom-Radius-Tags

2010-12-16 Thread Joshua Danger French
On Dec 16, 2010, at 3:17 AM, rcz wrote: > no such file to load -- spec/rake/spectask What version of RSpec do you have installed? "spec/rakespectask" is the include for RSpec 1. If you're on RSpec 2, try "rspec/core/rake_task".

Re: [Radiant] Re: deploying radiant 0.9.1 with capistrano

2010-12-16 Thread Joshua Danger French
On Dec 16, 2010, at 3:58 AM, Fima Leshinsky wrote: > I'm curious why none of your deploy.rb scripts contained any reference to the > database config file. How are you guys deploying migrations? That's a general concern for all Rails apps, not specific to Radiant. AFAIK common practice is still t

[Radiant] Kramdown vs. markdown filter

2010-12-16 Thread Wes Gamble
Radiant 0.9.1 I see that the kramdown_filter extension just got updated to the kramdown 0.12 gem. If I want to use the kramdown_filter, should I remove the existing markdown_filter extension? Thanks, Wes

Re: [Radiant] Kramdown vs. markdown filter

2010-12-16 Thread john muhl
i can't remember for sure but i think you can have both installed and kramdown will appear as a distinct filter alongside markdown in the menu. On Thu, Dec 16, 2010 at 4:24 PM, Wes Gamble wrote: > Radiant 0.9.1 > > I see that the kramdown_filter extension just got updated to the kramdown > 0.12 g

Re: [Radiant] Kramdown vs. markdown filter

2010-12-16 Thread Wes Gamble
Thanks John, I installed the kramdown filter, took a page and switched it from "markdown" to "kramdown" and got this error: undefined method `parse_infos' for # with the following stack trace: |/Users/weyus/Documents/workspace/koached-content/vendor/radiant/vendor/extensions/markdown_filter/

Re: [Radiant] Kramdown vs. markdown filter

2010-12-16 Thread john muhl
On Thu, Dec 16, 2010 at 6:42 PM, Wes Gamble wrote: > Thanks John, > > I installed the kramdown filter, took a page and switched it from "markdown" > to "kramdown" and got this error: apparently i guessed wrong. disable markdown and see if it works.

[Radiant] Stripping HTML from ?

2010-12-16 Thread Oli Studholme
Hi All, I noticed that if I use HTML elements in a title, they’re escaped and added to the article’s page title ( element). I can’t seem to find any mention of an attribute to strip HTML from a Radiant tag, or a regex plugin that I could use to do this. I’m sure I’m missing something obvious, so d

[Radiant] Duplicate 'slug' and 'breadcrumb' fields after adding page_fields extension

2010-12-16 Thread Todd
Hi All, After adding the page fields extension a second set of slug and breadcrumb fields are appearing on the edit page screen. I wouldn't mind except they aren't getting auto-populated so validation is failing. Any ideas what is causing this? What there something I should have configuring pri