Do we have a Menu and Sitemap Component for RoR?
on 2007-04-03 21:21
on 2007-04-04 18:16
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. <email@example.com>
on 2007-04-05 19:52
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
on 2007-04-05 19:53
More info on acts_as_tree here: http://wiki.rubyonrails.org/rails/pages/ActsAsTree
on 2007-04-06 00:28
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 ...