Views provides a way to setup tab menus but it can be difficult to set it up so it works properly.
For example if a view has two pages: "foo/info" and "foo/news" with each of them to show as tab menu items and the first as the default that will also show on the path "foo".
The information at https://docs.backdropcms.org/documentation/advanced-views-configuration is not very clear on how to do this.
The way to make this work seems to require following the steps described in a very old Drupal forum post, https://www.drupal.org/forum/support/post-installation/2008-06-20/views-menu-tab-and-default-menu-tab#comment-1695056
you still need to create one more page tab:
parent page: path = profile and no menu entry
tab1(default): path = profile/members and checked default menu tab. Then checked parent item already exists.
tab2: path = profile/members1 and checked menu tab.Then checked parent item already exists.
Doing it this way, with an extra view page with the path "foo" and no menu entry and another view page "foo/info" with default menu tab along with the view page with path "foo/news" as a menu tab, works and the tab menu items are displayed.
It just seems messy having an extra view page just to make the tab menus work. Hopefully, there is a better way that someone can explain. Thank you.
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
I could request hashing support, but that's the lazy way 🤣 I would appreciate it if you as an active maintainer would 'officially' add a hashing support...
File hashing uploads made through TinyMCE
Hi, i understand the updating obstacle - not worth mentioning - hence it is a wacky (but working) patch until i know what to do. :-) One of my biggest wishes is to understand the hook...
File hashing uploads made through TinyMCE