Twitter
Fri
30
Apr
'10
PDF
Print
Send
 
Hits (1066) | Comments (0) | Favorited (0) | Votes (0)

Require basic community integartion plugin knowlige.

Some may want to add permanent link to User dropdown menu of Touch. This is simple. In you integration plugin add new event onUserSlideMenu($user)

function onUserSlideMenu($user)
{
    $menu->link = "index.php?option=com_123&task=something";
    $menu->icon    = "plugins/community/icons/something.png";
    $menu->alt     = JText::_("Do something");
    return $menu;
}

$user is an object of JFactory::getUser($id) of user for whom you add menu link. So you may use it to get needed information and so on.


Comments

There are no comments for this item

Be the first to leave a comment

Add New Comment
Name:
Email:
Comment:
Attachment
Hide Comment
Security code:
Enter text as you see on image
 
 
What is best way for Download/Installation MightyExtensions?
 


Member Area



Member Activity

We have 1891 guests and 9 members online


MightyTemplate - Professional Joomla Templates