Active
Project:
lm_paypal
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Apr 2012 at 17:29 UTC
Updated:
27 Apr 2012 at 17:29 UTC
I'm using panel to display my user pages so the items added to the account page by this module are not visible. I would like to link to the donation and subscription items in a tab or menu. How do I do this?
I tried to create a menu link for it but it's not working.
<?php
/*Add Lm PayPal user deposit page to drupal menu system*/
function my_menus_menu(){
$items['deposit'] = array(
'title' => t('My deposits'),
'page callback' => 'lm_paypal_my_donations',
'page arguments' => array(1),
'access arguments' => array('view lm_paypal_my_donations'),
'description' => t('PayPal view my Deposits'),
'type' => MENU_NORMAL_ITEM,
'menu_name' => 'user-menu',
);
return $items;
}
?>