# Default Filter?

**URL:** <https://www.ruby-forum.com/t/default-filter/114163>\
**Category:** Radiant CMS\
**Created:** [September 8, 2007, 10:27pm UTC](https://www.ruby-forum.com/t/default-filter/114163 "2007-09-08T22:27:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hotgazpacho](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/a587f6/32.png) [@hotgazpacho](https://www.ruby-forum.com/u/hotgazpacho)\
**Post date:** [September 8, 2007, 10:27pm UTC](https://www.ruby-forum.com/t/default-filter/114163/1 "2007-09-08T22:27:55Z")

</div>

Is there a way to configure the default filter for page parts? I’d like  
to default it to Markdown (one less thing for editors to worry about).  
I’m sure I could edit the Radiant source to force it, but this should be  
a configuration variable, not hard coded.

Thanks!

–  
Will G.

Find out why this email is 5 sentences or less at [http://five.sentec.es/](http://five.sentec.es/)

---

<div class="post-metadata">

**Author:** ![hotgazpacho](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/a587f6/32.png) [@hotgazpacho](https://www.ruby-forum.com/u/hotgazpacho)\
**Post date:** [September 8, 2007, 10:43pm UTC](https://www.ruby-forum.com/t/default-filter/114163/2 "2007-09-08T22:43:58Z")

</div>

Will G. wrote:

> Is there a way to configure the default filter for page parts? I’d like  
> to default it to Markdown (one less thing for editors to worry about).  
> I’m sure I could edit the Radiant source to force it, but this should be  
> a configuration variable, not hard coded.

Unfortunately, there is not support for this right now. You could write  
a simple extension that would do this.

–  
John L.  
[http://wiseheartdesign.com](http://wiseheartdesign.com)

---

<div class="post-metadata">

**Author:** ![hotgazpacho](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/a587f6/32.png) [@hotgazpacho](https://www.ruby-forum.com/u/hotgazpacho)\
**Post date:** [September 8, 2007, 10:46pm UTC](https://www.ruby-forum.com/t/default-filter/114163/3 "2007-09-08T22:46:58Z")

</div>

John W. Long wrote:

> Unfortunately, there is not support for this right now. You could  
> write  
> a simple extension that would do this.
> 
> –  
> John L.  
> [http://wiseheartdesign.com](http://wiseheartdesign.com)

Looks like I’ll be doing that, then. I’ll post the code when I’m done.

Thanks!

–  
Will G.

Find out why this email is 5 sentences or less at [http://five.sentec.es/](http://five.sentec.es/)

---

<div class="post-metadata">

**Author:** ![hotgazpacho](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/a587f6/32.png) [@hotgazpacho](https://www.ruby-forum.com/u/hotgazpacho)\
**Post date:** [September 9, 2007, 2:01pm UTC](https://www.ruby-forum.com/t/default-filter/114163/4 "2007-09-09T14:01:02Z")

</div>

Maybe you can use the DefaultPageParts for your root page specifying  
filter in the config parts.  
Take a look here:

[http://darcs.bigchieflabs.com/radiant/extensions/default\_page\_parts/rdoc/](http://darcs.bigchieflabs.com/radiant/extensions/default_page_parts/rdoc/)

---

<div class="post-metadata">

**Author:** ![hotgazpacho](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/a587f6/32.png) [@hotgazpacho](https://www.ruby-forum.com/u/hotgazpacho)\
**Post date:** [September 9, 2007, 4:19pm UTC](https://www.ruby-forum.com/t/default-filter/114163/5 "2007-09-09T16:19:23Z")

</div>

That looks like it will do what I’m looking for/ Perhaps I’ll give it a  
try!

Thanks!

Andrea F. wrote:

> Maybe you can use the DefaultPageParts for your root page specifying  
> filter in the config parts.  
> Take a look here:
> 
> [http://darcs.bigchieflabs.com/radiant/extensions/default\_page\_parts/rdoc/](http://darcs.bigchieflabs.com/radiant/extensions/default_page_parts/rdoc/)

–  
Will G.

Find out why this email is 5 sentences or less at [http://five.sentec.es/](http://five.sentec.es/)
