# Patch to add a defauls.page.filter config

**URL:** <https://www.ruby-forum.com/t/patch-to-add-a-defauls-page-filter-config/141218>\
**Category:** Radiant CMS\
**Created:** [June 23, 2008, 7:29pm UTC](https://www.ruby-forum.com/t/patch-to-add-a-defauls-page-filter-config/141218 "2008-06-23T19:29:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![squeegy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/dec6dc/32.png) [@squeegy](https://www.ruby-forum.com/u/squeegy)\
**Post date:** [June 23, 2008, 7:29pm UTC](https://www.ruby-forum.com/t/patch-to-add-a-defauls-page-filter-config/141218/1 "2008-06-23T19:29:11Z")

</div>

I sent a pull request to the GitHub “radiant” user, but I’m not sure  
that goes anywhere just yet.

I have whipped up a quick and simple patch to allow you set a default  
filter for pages. On a freshly bootsrapped intance, you will see a new  
value on the config table named “defaults.page.filter”. Its blank by  
default. Setting that to any one of:

- Textile
- Markdown
- SmartyPants

Will cause all new pages to have that filter selected by default.  
Handy. Anyone else want to +1 this if they find it useful?

[http://github.com/Squeegy/radiant/commit/318687e9be167f5b6549a28557ea039bd4651241](http://github.com/Squeegy/radiant/commit/318687e9be167f5b6549a28557ea039bd4651241)

---

<div class="post-metadata">

**Author:** ![squeegy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/dec6dc/32.png) [@squeegy](https://www.ruby-forum.com/u/squeegy)\
**Post date:** [June 23, 2008, 7:39pm UTC](https://www.ruby-forum.com/t/patch-to-add-a-defauls-page-filter-config/141218/2 "2008-06-23T19:39:26Z")

</div>

+1

---

<div class="post-metadata">

**Author:** ![squeegy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/dec6dc/32.png) [@squeegy](https://www.ruby-forum.com/u/squeegy)\
**Post date:** [June 23, 2008, 7:45pm UTC](https://www.ruby-forum.com/t/patch-to-add-a-defauls-page-filter-config/141218/3 "2008-06-23T19:45:29Z")

</div>

Alex W. wrote:

> I have whipped up a quick and simple patch to allow you set a default  
> filter for pages. On a freshly bootsrapped intance, you will see a new  
> value on the config table named “defaults.page.filter”.

+1

---

<div class="post-metadata">

**Author:** ![squeegy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/dec6dc/32.png) [@squeegy](https://www.ruby-forum.com/u/squeegy)\
**Post date:** [June 23, 2008, 8:05pm UTC](https://www.ruby-forum.com/t/patch-to-add-a-defauls-page-filter-config/141218/4 "2008-06-23T20:05:12Z")

</div>

Alex (et al),

Pull requests to the ‘radiant’ user will go to me for now, through an  
email alias. They tell me they will have “group” accounts soon,  
primarily for the open-source projects. In the meantime you can send  
pull requests to any of:

- radiant
- seancribbs
- jlong
- jfrench
- mislav
- lorenjohnson
- aiwilliams

Sean
