Hi I I'm still in the process of learning Drupal 6 and I am having difficulties figuring out how to put a tab one the user profile page. I created a view and it works fine, but I want to put that view on the user profile page. Can someone give me some direction?

Moved per Forum Guidelines by VM

Comments

ocamp’s picture

you create a page view.

when you edit the view look under page settings,
give it a url like user/%/viewname
under menu enable menu tab, and just fill in the menu title etc,

younggun’s picture

ocamp thanks for the reply. I did exactly as you said but there was no change. The menu tab is not showing up on the profile page.

nevets’s picture

If you have done so add a 'page' display to your view.

Set the path to something like user/%/something (replace something with what you want, the view needs to expect user id as an argument).

Under 'Menu' set 'Type' to 'Menu tab' and 'Title' to what you want to tab to read.

younggun’s picture

Sorry I made a simple mistake I works now. I forgot to put a / after user. I do have one more question. How can I put a line of text that says this user did not post any content yet if the view is empty?

ocamp’s picture

under basic settings, near the bottom, it says empty text, put it in there

younggun’s picture

Thanks for the help this worked just fine.