When the search results are more than a couple of dozen (even in a big screen), it makes no sense scrolling down...
- The effect of expanding the respective menu/submenu where the result is found looses its value as you scroll down and the admin bar disappears.
- Making the admin bar "sticky" could be a solution, but the results would then have to not "follow" along.
Could (and should) we make the list of results scrollable instead of expanding the whole page height? I mean is there a way to have the scrollbar in the list of results instead of the page? This would keep the admin bar within view at all times.
Should we simply start presenting results after the 3rd letter typed (instead of the 2nd as we do now)? That should limit the chances of getting a long list of results and not cause the issue in the first place I guess.
Recent comments
Thanks Alejandro. That was the clues I needed.
Ubercart - Programmatically add product to cart and straight to Checkout
Have you tried uc_cart_add_item()? You need to provide the nid of the product. Then you can use backdrop_goto('cart/checkout'); to send the user to the checkout screen. uc_cart_add_item...
Ubercart - Programmatically add product to cart and straight to Checkout
No problem, let's see how it evolves. I'd be happy to provide a suggested version if i could. I will keep that in mind and try learn this hook chain hopefully very soon. I will...
File hashing uploads made through TinyMCE