Posted by miaoulafrite on December 26, 2011 at 8:53am
2 followers
Jump to:
| Project: | Ubercart Marketplace |
| Version: | 6.x-1.0-beta1 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
hello there,
many thanks for the module
in mp_products.module, you define a menu entry for sellings:
<?php
$items['user/%user/selling'] = array(
'title' => 'Selling',
'description' => 'View and manage your products and orders.',
'page callback' => 'mp_products_selling_overview',
'page arguments' => array(1),
'access callback' => 'mp_products_can_view_seller',
//'access arguments' => array(1),
'type' => MENU_LOCAL_TASK,
'file' => 'mp_products.admin.inc',
);
?>i would like to make a shortcut out of this hook menu so that the Selling page (user/%user/selling) would be accessible from the navigation menu (first level).
i have tried registering the same path in a dedicated module without success.
any help would be much appreciated.
thanks a lot
Comments
#1
I just done this using the menu token and menu per role modules... :)
Hope that helps...
Guy