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
I believe those hook suggestions that were removed were all used for theming individual fields. I think this could work to bring them back: function MYMODULE_preprocess_views_view_field...
Which hook to reintroduce removed views templates?
Thanks for the input: I'd like to just re-add all the ones that were removed because this isn't to fix one particular view, but to ensure all the templates I was using in D7 work in Backdrop.
Which hook to reintroduce removed views templates?
This really depends on which type of view display you want to add this template suggestion to. Can you post a photo of the D7 views configuration > Theme: Information screen and circle the...
Which hook to reintroduce removed views templates?
I had similar issue when creating or updating a custom blocks not being saved. Problem stopped when I turned off 'Cache pages for anonymous users' and 'Aggregate JavaScript files' at Admin...
update block doesn't work ( bug ? )
Hi Colbycat. There are a lot of unclear, potentially problematic, aspects in your function. To start with, the first parameter received by the hook implementation you pasted (...
Edit Node fields