我使用 ansess 模块，它提供了各种视图，如图所示图片下面。但它不提供我们可以作为链接提供这些视图的任何东西。 我的意思是我希望一行中的所有这四个视图作为页面的菜单选项卡，
I using the Answers module, which provide the various set of views as shown in the image below. But it does not provide anything where we can provide these views as a link. I mean I want all these four views in one line as a menu tabs on page,
So, it should be like this:
When this Q&A tab is clicked, it should show all these 4 tabs with first tab as default:
All Questions | Unanswered Questions | Search Questions | Search & Add Page
I am surprised this option is not available by default.
Have a look at the (new) demo site of the Answers module (disclosure: I'm a co-maintainer of it). Consider this demo site link as the equivalent of what you named "main menu Q&A". Visiting that link will show various menu options within the block with title Answers Menu, i.e.:
node/add/question), which is only shown for authenticated users though.
These views also use the dataTables format, but you could easily replace that with any views display format you'd want. And because of the search box that comes with dataTables, there is no need for extra menu links to search within questions, answers or rankers.
These new/enhanced views were created starting from the 7.x-4.x-rc2 release of Answers, and will be included in the next release of it also (together with various other enhancements not yet visibile in the demo site). Which should address your "I am surprised this option is not available by default" also, no?
The Panels module allows you to create "pages" of blended content at an URL or URL with a context argument (like a node ID). For example an arbitrary node, 4 views, a custom text panel and a block. It's extremely flexible and fairly easy to learn. Once you've learned the basics you'll never build a site without it.
After doing some try and error, I myself found the answer, but do not know this is the right way to do or not, but it is working.
Search Question and
Search & Add Page does not have any menu link in the Menu option under the
Page setting for their views, So, just provided
Menu tab and provided the title, hence now it is showing the all four tabs in one line.
Main Menu tab: I just added the tab in the main menu as Q&A and provided the path
/questions which is the path of first tab, hence when person clicks
Q&A, it just lead to first page of
Please correct if there is a better way to do this.