List Info

Thread: TextFilter error




TextFilter error
user name
2006-09-01 13:14:42
Before I went to put in an api key and give that a whirl I move from migration 49 to 50 through gems and on restart of services when I pull admin or pull an article I get these errors.

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="&lt;%= 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


--
it's my island : http://andy.ciordia.info



TextFilter error
user name
2006-09-02 00:23:56
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 : andyciordia.info

_______________________________________________
Typo-list mailing list
Typo-listrubyforge.org
http:
//rubyforge.org/mailman/listinfo/typo-list
TextFilter error
user name
2006-09-05 18:50:01
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 : andyciordia.info
>
> _______________________________________________
> Typo-list mailing list
> Typo-listrubyforge.org
> http:
//rubyforge.org/mailman/listinfo/typo-list

_______________________________________________
Typo-list mailing list
Typo-listrubyforge.org
http:
//rubyforge.org/mailman/listinfo/typo-list
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )