Hi, I appreciate your help but I am rather a novice. I created a plugin called: ManagerManager and copied this EXACT code into it:
//<?php
/**
* ManagerManager
*
* Customize the MODx Manager to offer bespoke admin functions for end users.
*
* @category plugin
* @version 0.3.8
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License (GPL)
* @internal @properties &config_chunk=Configuration Chunk;text;mm_demo_rules; &remove_deprecated_tv_types_pref=Remove deprecated TV types;list;yes,no;yes &which_jquery=jQuery source;list;local (assets/js),remote (google code),manual url (specify below);local (assets/js) &js_src_type=jQuery URL override;text;
* @internal @events OnDocFormRender,OnDocFormPrerender,OnPluginFormRender,OnTVFormRender
* @internal @modx_category Manager and Admin
* @internal @legacy_names Image TV Preview, Show Image TVs
*/
// You can put your ManagerManager rules EITHER in a chunk OR in an external file - whichever suits your development style the best
// To use an external file, put your rules in /assets/plugins/managermanager/mm_rules.inc.php
// (you can rename default.mm_rules.inc.php and use it as an example)
// The chunk SHOULD have php opening tags at the beginning and end
// If you want to put your rules in a chunk (so you can edit them through the Manager),
// create the chunk, and enter its name in the configuration tab.
// The chunk should NOT have php tags at the beginning or end
// ManagerManager requires jQuery 1.3+
// The URL to the jQuery library. Choose from the configuration tab whether you want to use
// a local copy (which defaults to the jQuery library distributed with ModX 1.0.1)
// a remote copy (which defaults to the Google Code hosted version)
// or specify a URL to a custom location.
// Here we set some default values, because this is a convenient place to change them if we need to,
// but you should configure your preference via the Configuration tab.
$js_default_url_local = $modx->config[’site_url’]. ’/assets/js/jquery-1.3.2.min.js’;
$js_default_url_remote = ’http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js’;
// You don’t need to change anything else from here onwards
//-------------------------------------------------------
// Run the main code
$asset_path = $modx->config[’base_path’] . ’assets/plugins/managermanager/mm.inc.php’;
include($asset_path);
I then created a chunk called: mm_demo_rules Then copied this EXACT code into it:
// PHP *is* allowed
// $news_role and $news_tpl will not apply to demo content but are left as a demonstration of what can be done
// For everyone
mm_default(’pub_date’);
mm_renameField(’introtext’,’Summary’);
mm_changeFieldHelp(’alias’, ’The URL that will be used to reach this resource. Only numbers, letters and hyphens can be used’);
mm_widget_tags(’documentTags’,’ ’); // Give blog tag editing capabilities to the ’documentTags (3)’ TV
mm_widget_showimagetvs(); // Always give a preview of Image TVs
// mm_widget_colors(’color’, ’#666666’); // make a color selector widget for the ’colour’ TV
// For everyone except administrators
mm_hideFields(’link_attributes’, ’!1’);
mm_hideFields(’loginName ’, ’!1’);
// mm_renameField(’alias’,’URL alias’,’!1’);
// News editors role -- creating a variable makes it easier to manage if this changes in the future
$news_role = ’3’;
mm_hideFields(’pagetitle,menutitle,link_attributes,template,menuindex,description,show_in_menu,which_editor,is_folder,is_richtext,log,searchable,cacheable,clear_cache’, $news_role);
mm_renameTab(’settings’, ’Publication settings’, $news_role);
mm_synch_fields(’pagetitle,menutitle,longtitle’, $news_role);
mm_renameField(’longtitle’,’Headline’, $news_role, ’’, ’This will be displayed at the top of each page’);
// News story template
$news_tpl = ’8’;
// mm_createTab(’Categories’,’HrCats’, ’’, $news_tpl, ’’, ’600’);
// mm_moveFieldsToTab(’updateImage1’, ’general’, ’’, $news_tpl);
// mm_hideFields(’menuindex,show_in_menu’, ’’, $news_tpl);
mm_changeFieldHelp(’longtitle’, ’The story\’s headline’, ’’, $news_tpl);
mm_changeFieldHelp(’introtext’, ’A short summary of the story’, ’’, $news_tpl);
mm_changeFieldHelp(’parent’, ’To move this story to a different folder: Click this icon to activate, then choose a new folder in the tree on the left.’, ’’, $news_tpl);
I then proceeded to change around the fileds to see if any of the titles changes but nothing.