I've installed the link_roll extension and have a couple of questions.

I see in the code that the model expands the tag <r:links:each:link /> to
  %{<a href="#{link.url}" title="#{link.description}">#{link.title}</a>}

In most blogs that would be something like a bullet list in the sidebar.

But when I create a link_roll link in the admin I notice that while the
'title' is a single line, the 'url' and the 'description' are text areas.

If this was a page I can imagine long pieces of text about the link
(which is often a good idea), but not in a sidebar.

And why a text area for the URL?  Why not a scrolling single line field?

Am I missing something here?

So I went back to experiment.  What if I put multiple lines in the 'url'
text area?

Well, what I got was a 500.


Processing LinksController#edit (for 99.225.104.173 at 2008-12-07
04:23:01) [GET]
  Session ID: Ah7CBoM....e535266e8ce
  Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"admin/links"}
Rendering template within layouts/application

ActionController::MissingTemplate (Missing template
admin/links/edit.html.erb in view path

but when I check ...

$ ls -l vendor/extensions/link_roll/app/views/admin/link*/*
-rw-rw-r--  1 antonaylward pg917164 983 2008-12-05 11:58
vendor/extensions/link_roll/app/views/admin/link/edit.html.erb
-rw-rw-r--  1 antonaylward pg917164 871 2008-12-05 11:58
vendor/extensions/link_roll/app/views/admin/links/index.html.erb
-rw-rw-r--  1 antonaylward pg917164 567 2008-12-05 11:58
vendor/extensions/link_roll/app/views/admin/links/remove.html.erb


Why is there a "/link/" and a "/links/" ?


-- 
Lead and inspire people. Don't try to manage and manipulate people.
Inventories can be managed but people must be led. ~ Ross Perot
_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to