Hassan Schroeder wrote:
> On Mon, Aug 16, 2010 at 10:02 AM, Sam Kong <[email protected]> wrote:
> 
>> The problem is that @product.categories is multiple.
>> I need to highlight only 1 category for the product and show only 1
>> breadcrumb.
>> If there's some path that the user took, I can select the category but
>> if there's no such context, I don't know what to do.
>> I can make my own policy but I want to know how other developers are
>> doing.
> 
> So instead of
>   _products_ > _category_ > product
> 
> you could do
>   _products_ > { multiple categories } > product
> 
> where the { multiple categories } is a mouseover dropdown to show
> the list of relevant category links.
> 

Yes, that will do.
Our top menus are categories.
I need to highlight the category.
Do you have any good idea for that?

Thanks.
Sam
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to