[typo] TextFilter error

Matt Rose mattrose at folkwolf.net
Tue Sep 5 14:50:01 EDT 2006


I've hit this before, I think.

Just go to your admin console and make sure you have a default  
textfilter defined in your settings page.  Sometimes this doesn't get  
defined by default.  I have no idea why, but IIRC there's a ticket  
for it in trac.

On 1-Sep-06, at 8:23 PM, Andy Ciordia wrote:

> I'm not having much luck figuring this out on my own.  I've  
> searched the
> archives and those with this problem (or similar) don't seem to  
> post what
> they do to fix it, or they've left typo.  Anyone got a clue?
>
> -a
>
> On Fri, September 1, 2006 9:14 am, Andy Ciordia wrote:
>> Did TextFilter's handling change?
>>
>> ####
>> ActionView::TemplateError (uninitialized constant TextFilter) on line
>> #12 of app/views/articles/read.rhtml:
>> 9: <% end -%>
>> 10:     dc:title="<%=h @article.title.gsub(/-+/, '-') %>"
>> 11:     dc:identifier="<%= article_url(@article, false) %>"
>> 12:     dc:description="<%=h strip_html(@article.full_html
>> [0..255]).gsub(/-+/, '-') %>"
>> 13:     dc:creator="<%= h @article.author %>"
>> 14:     dc:date="<%= @article.updated_at.xmlschema %>" />
>> 15: </rdf:RDF>
>>
>> ####
>> ActionView::TemplateError (uninitialized constant
>> Admin::BaseHelper::TextFilter) on line #125 of app/views/admin/
>> general/index.rhtml:
>> 122:         <p class="note">Typo supports a number of text filtering
>> options.  To add new filters, see the "filters" tab on the toolbar
>> above.</p>
>> 123:       <p>
>> 124:         <select name="setting[text_filter]" id="text_filter">
>> 125:           <%= options_for_select text_filter_options,
>> TextFilter.find_by_name(this_blog.text_filter) %>
>> 126:         </select>
>> 127:         <label for="text_filter">Article filter</label>
>> 128:       </p>
>>
>>
>> -a
>>
>>
>> --
>> Andy Ciordia : andy at ciordia.info
>
> _______________________________________________
> Typo-list mailing list
> Typo-list at rubyforge.org
> http://rubyforge.org/mailman/listinfo/typo-list



More information about the Typo-list mailing list