Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am trying to achive something like explained in this article - http://www.leveltendesign.com/blog/tom/quick-enhancements-make-drupal-co... - though I want to do it via panels and views.
I have created a page on admin/dashboard and another page on admin/dashboard/short_courses
They work when I go to the different urls. However, I cannot get it to show them with tabs and subtabs, so I could have one page with an overview and tabs switching to other contexts.
Comment | File | Size | Author |
---|---|---|---|
#1 | Screenshot-3.png | 158.96 KB | lsolesen |
enterprise_base_admin_screenshot2.png | 46 KB | lsolesen |
Comments
Comment #1
lsolesen CreditAttribution: lsolesen commentedSee also this attached screenshot where it has been created as tabs?
Comment #2
lsolesen CreditAttribution: lsolesen commentedExport of the dashboard main page.
Export of the subpage
Comment #3
merlinofchaos CreditAttribution: merlinofchaos commentedChange the path on the 'admin/dashboard' page to 'admin/dashboard/default' (or something, the 'default' keyword will be invisible and is your choice). Change the menu type to 'default tab'. Save everything. Short of bugs in the core menu system, that should work okay.
Comment #4
lsolesen CreditAttribution: lsolesen commentedThat worked like a charm.
Comment #5
lsolesen CreditAttribution: lsolesen commentedHow can I create the subtabs (the small grey tabs beneath the tabs). In views I tried just making a menu tab and putting the path like this. I choose the menu tab (not the standard menu tab).
/admin/dashboard/default/subtab-name
Comment #6
lsolesen CreditAttribution: lsolesen commentedTried all sorts of combinations.
1) Found out that I needed to create at least two views as subtabs to get the subtabs showing. That makes little sense on a panels page, as it is rendered with something completely different. But that is probably how Drupal works internally?
2) Could not find any way to add the subtabs to the default tab for some reason.
Is that about right?
Comment #7
lsolesen CreditAttribution: lsolesen commentedClosing old support questions. If this is still important to you, please reopen.