We're upgrading our support forum. Replies are currently closed. Please view our Documentation and FAQ using the menu above.

I’ve followed documentation here: http://ultimateclientmanager.com/support/faq-knowledge-base/faq-item/52/add-custom-link-to-menu-or-a-new-page/

I do not need sub menu so I removed everything from the elseif statement

I cannot add more than one menu link though, anytime I try it breaks the site. I’d like to add about 5 or more custom menu links, I dont even need custom pages, really I just need them to link to an external site.

<?php
class module_custom_link extends module_base{
public function init(){ }
public function get_menu($holding_module=false,$holding_page=false,$type=false){
$links=array();
if(!$holding_module){
// rendering the main menu:
$links[]=array(
‘m’=>’custom_link’,
‘p’=>’your_custom_page’,
‘name’=>’Main Menu Link’,
‘order’=>000000,
);
}else if($holding_module == ‘customer’){

);
}
return $links;

}
}

cuj90Reply To: More than 1 custom menu item