I've used almost all of the Wordpress example code but it still doesn't work. I've put the php file under wp-content/plugins/menuitem/ .The code is simple
<?php add_action('admin_menu', 'donations_overview_menu');
function donations_overview_menu() {
add_options_page('Donations overview', 'Donations overview', 'manage_options', 'donations-overview', 'donations_overview');}
function donations_overview() {
if (!current_user_can('manage_options')) {
wp_die( __('You do not have sufficient permissions to access this page.') );
}
echo '<div class="wrap">';
echo '<p>Here is where the form would go if I actually had options.</p>';
echo '</div>';
}
?>