I was wondering if this was some kind of post Rail2-2.0 version of
"stylesheet_link_tag".
There isn't any method like this in the package, and I wonder about some
shorthand for assets with a syntax simular to link URLs in 2.0
In the 'related_content.css' there is a refernce to 'div.auto_complete'
so I think there is/should-be a 'auto_complete' style sheet.
Joe Van Dyk said the following on 12/09/2008 05:15 PM:
> I don't know what the problem is, but it doesn't have anything to do
> with a missing stylesheet. Look at the error:
>
> ActionView::TemplateError (undefined local variable or method
> `auto_complete_stylesheet' for #<ActionView::Base:0x429727b8>) on line
>
> It's trying to find the method auto_complete_stylesheet and can't. I
> don't know why that is, but you should have some code somewhere that
> defines that method. It's probably provided by an extension.
>
> On Tue, Dec 9, 2008 at 10:14 AM, Anton J Aylward <[EMAIL PROTECTED]> wrote:
>> Next up: related content function for blog postings
>>
>> I get this error
>>
>>
>> ActionView::TemplateError (undefined local variable or method
>> `auto_complete_stylesheet' for #<ActionView::Base:0x429727b8>) on line
>> #60 of admin/page/_related_content.rhtml:
>> 57: '#related_content': RelatedContentSelector
>> 58: });
>> 59: <% end %>
>> 60: <%= auto_complete_stylesheet %>
>> 61: <%= sortable_element 'related_content_container' ,
>> 62: :url => { :action => "sort", :id => @page.id },
>> 63: :handle => 'reorder' ,
>>
>> I have stylesheet 'related_content.css' under sns.
>> ZIP
>>
>> Its also installed by the installer under
>> public/stylesheets/admin/related_content.css
>>
>> but not under
>> public/stylesheets/
>>
>> Is this poor design - hard-coding the location of the stylesheet so sns
>> can't use it, or something else?
>>
>> Anyway, I tried moving it into that location, which elimiates the error,
>> but still not working. I also moved the javascript to the file system
>> location and put references to both in the <head> of the template.
>>
>> ZIP.
>>
>> What else am I missing that isn't mentioned in the README?
>>
>> --
>> How come wrong numbers are never busy?
>> _______________________________________________
>> Radiant mailing list
>> Post: [email protected]
>> Search: http://radiantcms.org/mailing-list/search/
>> Site: http://lists.radiantcms.org/mailman/listinfo/radiant
>>
--
When languishing for solutions, don't ask "Have I got the correct answer?"
The correct question is "Have I got the correct question?"
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant