/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$url = 'index.php?option=[[option]]&view=[[view]]'; $menu = $app->getMenu(); $menuItem = $menu->getItems( 'link', $url, true ); $Itemid = $menuItem->id;
Comments
