Currently I have two sets of tabs (see screen shot below), which I am trying to utilize as filter buttons. When I switch from Category tabs to Diet tabs it does not seem to carry over filter logic I applied to the Category tab set (highlighted in Views UI screen shot). For example, if I select the Italian tab it would filter for Italian food then when I click Pescatarian tab it would filter for only pescatarain friendly italian food.
Is your module able to do this currently? If not how would I modify your module to gain this functionality?

With this functionality how would I allow both a tab from Category and Diet to be selected? Currently only one type of tab is displayed as selected.
Lastly how would I style the tabs so each type is on a separate row? This was the case when I initially installed the module, but it suddenly changed.

I also noticed when I filter for results that do not exist the tabs disappear. For example, I do not have an entree with pork and when I check the pork filter it displays a page without the tabs (see 3rd picture). I am not sure if this is a problem, but I thought I let you know.

CommentFileSizeAuthor
Picture3.png62.25 KBchompz
Picture2.png127.09 KBchompz
Picture1.png209.26 KBchompz

Comments

chompz’s picture

Title: Linked Data Tabs » Views Display Tabs As Filters
solipsist’s picture

Have you set Views to remember your filter settings? Views needs to repopulate those fields and unless you've set it to do that, it will serve a fresh clean form every time regardless of whether you use VDT or something else. This is not a problem with AJAX views as filters are submitted and displays are switched using AJAX submits, but for non-AJAX views it won't work by itself.