Hello there,

I am running Durpal 6.x on WAMP. I use the views.
Everything was working fine until I choose the menu entry as the menu tab or Default menu tab.

I set all the options properly but can't get the tab displayed any way.

Is there any thing that I need to consider?

Thank you.

Comments

beautifulmind’s picture

I think no one has ever used the views with 6.x. Okay! I accept that.

Beautifulmind
Know more

Regards.
🪷 Beautifulmind

Anonymous’s picture

I'm try to follow this tutorial [http://views-help.doc.logrus.com/help/views/menu]
I can't set tabs of views module. drupal6.10+views6.x.2.5

Thanks to views modules I've created:
page1 (path=site/tab/A - menu=Default menu tab)
page2 (path=site/tab/B - menu=Menu tab)

I don't understand why no tab shows up.
Should I put any code somewhere?

henrijs.seso’s picture

read instructions carefully, it didn't work for me but now it does (thanks for link) -

1) create page with path "parent" and with content that you would normally have for default tab, don't set up menu settings
2) create page with path "parent/child1" and with content that you would normally have for default tab (SAME as "parent"), set it to be default tab and tell views Parent menu item: Already exists
3) create page with path "parent/child2" and with content you want, set it to be menu tab
4) repeat step 3

Visit path parent and enjoy tabs.

Anonymous’s picture

thank you very much

sagar ramgade’s picture

Hi,
I have create a page view and path is profile and no menu entry
Then one more view with page display (path = profile/members) and checked default menu tab.
Then checked parent item already exists.
Still i am not able to get menu tabs for both the views.
Could anyone please help me with this.

Acquia certified Developer, Back end and Front specialist
Need help? Please use my contact form

Anonymous’s picture

I suppose 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.

sagar ramgade’s picture

Hi,

Thanks a lot for your help, i got it actually it quite similar to views 1,
If anyone needs the help regarding views tab can post here, we will give a step procedure to achieve it.

Cheers
Keep Drupaling :-)

Acquia certified Developer, Back end and Front specialist
Need help? Please use my contact form

momper’s picture

thanks - real basic stuff - you saved me ...

gawas.sachin’s picture

thanx it worked for me... Saved my time

dadderley’s picture

aac’s picture

Subscribing!!!

---~~~***~~~---
aac

rwilson0429’s picture

I'm using D7.9 and the method shown at http://tewson.com/content/creating-tabbed-views-drupal-6 worked for me too. Thanks dougzilla for providing the link.

For faster referencing I'm copying the steps here.
http://tewson.com/content/creating-tabbed-views-drupal-6

Well, the way is:

  1. Create a view.
  2. Name the path (url) to be what you want the default tab to be, for example, 'document/all'.
  3. Configure your view with sorting, filtering, etc.
  4. Choose 'Default menu tab' in Menu option and name it.
  5. Choose 'Normal menu item' to be the parent, since this tab is linked directly from a menu, i.e. 'document'
  6. Finish this first tab.
  7. Create another display.
  8. Name the path of this one as a tab option, like 'document/homework'.
  9. Configure it.
  10. Choose 'Menu tab' for this one.
  11. Finish this tab.
  12. Repeat (8) - (11) for more tabs.

thanks to tewson for breaking it down for me. Hope it helps someone else as well.

ReggieW

koppie’s picture

There's actually an easier way to set up the tabs.

When you create the first tab, make it the default tab and it will give you three options: "Already exists," "Normal menu item," or "Menu tab." If you choose "Normal menu item," then you can create a normal menu item that will refer to your default tab. Then create the other tabs.

This way, you don't have to have an extra "parent" item that never shows up. Interestingly, the parent path is still defined, and points to your default tab. For example, I've got /directory/cards, /directory/compact, and /directory/full. I want /directory/cards to be my default tab so I set it up as described above. When I enter the path /directory, it takes me to /directory/cards as the default tab.

Thanks to the previous posters on this thread; I never would have figured all this out without their help first!

leebroozlee’s picture

1. default page setup:
path: my/view/url/defaultstuff (or for paths with args: my/view/url/%/defaultstuff)
menu: default menu tab
parent: normal menu item

2. other tabs page setup:
path: my/view/url/somethingelse (or for paths with args: my/view/url/%/somethingelse)
menu: menu tab

gawas.sachin’s picture

Hi all,

I have a view,which takes a default argument.
I want to show this view in /user page along with "View"&"Edit" profile tabs.
I have given path as user/%/myarticles. Tab displays ! but it treats "%" as an argument and displays the Articles related to taxonomy term %(the argument). Which is wrong.

I don't want to pass path as "user/%/myarticles". My default argument will automatically fetch expected result.

Can anyone help me to display tab in user page with such "view" built.

sagar ramgade’s picture

Hi,

You need to pass the uid as the argument not taxonomy term. So it will take the user uid as the argument and filter your view accordingly. Hope this helps.

Regards
Sagar

Acquia certified Developer, Back end and Front specialist
Need help? Please use my contact form

jonathanshaw’s picture