Menu and Sitemap Component for RoR


#1

Do we have a Menu and Sitemap Component for RoR?


#2

If you mean “Component” as in a Rails feature, it’s my understanding
that Components are deprecated and will be removed soon.

If you mean “component” in the generic sense, I’ve seen most Menus
done primarily thru CSS; easiest way to find out is to go look at some
code. There are lots of free CSS/XHTML templates out there that are
nicely done. Do a google search; or go look at
http://www.minimalistic-design.net/.
I’m not pushing their site; it’s just that I got one of their free
templates and I am quite happy with it.

HTH…jon

On Apr 3, 10:21 am, Ken A. removed_email_address@domain.invalid


#3

I think he’s interested in more of a tree structure that could be used
to generate breadcrumbs, site maps, site menus automatically etc.
Something that would setup an entire site in such a way that you could
traverse the tree to find parents, children etc.

I’m interested in this as well.

If there is not already a solution it seems like you could put
something together with acts_as_tree.

Wes


#4

More info on acts_as_tree here:
http://wiki.rubyonrails.org/rails/pages/ActsAsTree


#5

hi Wes … you´re right … i´m primarily a .net developer and i use a
Menu/Sitemap control which is auto-filtered by my Membership/Role
provider … this is .Net jargon … but I was wondering whether the
guys in rails have something similiar or not … not that i couldn´t do
it without any component … i did it in the old asp days … i just
don´t want to re-invent the wheel …