Tabbed Node

manmachineandcode - June 17, 2009 - 03:55
Project:Tabs-Auto
Version:5.x-2.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:active
Description

I've created a content-type 'product'.
Also, I've created so many a products. And 'm trying to put it in a new...way.
I've also created a view of the list of products I've created with the content-type 'product'.
I tried it with a custom module ( product_menu...)
By giving the normal tabbing rules and codes...
i.e. MENU_DEFAULT_LOCAL_TASK & MENU_LOCAL_TASK, etc.. and all...
But whenever i click the products link...
Instead of showing the tabbed page, It shows the add PRODUCT page...(node..) without any tabs.
Actually I want to show all the products (view) in the default tab and second tab should show new product (add product).
My vision is this format :-

____| View | Add Product |______

In here the default-one should show the list and the next one should be able to give the form for entering the new product details...
Can anybody give me idea how to accomplish my task.
Thanx in Advance.

Ann.

 
 

Drupal is a registered trademark of Dries Buytaert.