I'm trying to build an intall profile that implements a number if features. I am running into some issues because although features allows me to require menus, it seems there is no way to also include the links (most of the link are simple aliases to add content or edit views). Is there a way to add menu items from within the install profile?
You can follow the example from the profiles/standard/standard.install file and use code like this inside your implementation of
// Create a Home link in the main menu. $item = array( 'link_title' => st('Home'), 'link_path' => '<front>', 'menu_name' => 'main-menu', ); menu_link_save($item);