Page 1 of 1

creating a new plugin

Posted: 15 Nov 2012, 20:12
by Snooops
Hi,
my php skills arent the best and I'm going away where the oop starts :)
so i need a little help to start developing a plugin.
All i need to know is how do i create a new link the main menu bar where "create new issue" and "roadmap" etc. are placed. i tried to get the getting started guide for developers on how to create a new plugin... but i event dont see it in the plugin list as available for install :D - as i said: me and oop arent best friends ;)

could you help me?

short:
i want a new link in the mantis main navigation ;)

thx a lot
snooops

Re: creating a new plugin

Posted: 16 Nov 2012, 16:43
by atrol
You dont have to write a plugin
There is also a customization option for it

Code: Select all

	/****************
	 * Custom Menus *
	 ****************/
	/**
	 * Add custom options to the main menu.  For example:
	 * $g_main_menu_custom_options = array(	array( "My Link",  MANAGER,       'my_link.php' ),
	 *					array( "My Link2", ADMINISTRATOR, 'my_link2.php' ) );
	 * Note that if the caption is found in custom_strings_inc.php, then it will be replaced by the
	 * translated string.  Options will only be added to the menu if the current logged in user has
	 * the appropriate access level.
	 * @global array $g_main_menu_custom_options
	 */
	$g_main_menu_custom_options = array();

Re: creating a new plugin

Posted: 16 Nov 2012, 20:10
by Snooops
wow thats great thx ;-)