Re: [Radiant] Radiant for Bloging - related content

2008-12-09 Thread Anton J Aylward
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 refernces to both in the head of the template.

ZIP.

What else am I mising that isn't mesntioned in the README?

-- 
Information is the currency of democracy.
--Thomas Jefferson
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Radiant for Bloging - related content

2008-12-09 Thread Anton J Aylward
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:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Radiant for Bloging - related content

2008-12-09 Thread Joe Van Dyk
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:   Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Radiant for Bloging - related content

2008-12-09 Thread Sean Cribbs
That is a hold-over from Rails 1.x days.  The autocomplete stylesheet is 
really simple (see: http://pastie.org/335402).  Removing that dependency 
would be nice (PDI).


Sean

Anton J Aylward wrote:

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:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

  


  


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Radiant for Bloging - related content

2008-12-09 Thread Anton J Aylward
Sean Cribbs said the following on 12/09/2008 06:25 PM:
 That is a hold-over from Rails 1.x days.  The autocomplete stylesheet is 
 really simple (see: http://pastie.org/335402).  Removing that dependency 
 would be nice (PDI).

OK, so what should I do?
  Remove the line %= auto_complete_stylesheet %
  Include the stylesheet as per your example.

??


-- 
The older you get, the better you realize you were.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Radiant for Bloging - related content

2008-12-09 Thread Anton Aylward
Anton J Aylward said the following on 12/09/2008 07:04 PM:
 Sean Cribbs said the following on 12/09/2008 06:25 PM:
 That is a hold-over from Rails 1.x days.  The autocomplete stylesheet is 
 really simple (see: http://pastie.org/335402).  Removing that dependency 
 would be nice (PDI).
 
 OK, so what should I do?
   Remove the line %= auto_complete_stylesheet %
   Include the stylesheet as per your example.

That line now reads
% stylesheet_link_tag(admin/auto_complete) %

The UI is #$%^-ing awful!  Its unclear and comes down over other
buttons.  Perhaps I have that link tag done incorrectly.



-- 
We'll give you your money back if not satisfied, but we do suspect that
we will be quite satisfied with your money.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant