Answers.Body: <p>You could try creating you own extension with your own xml file that use the same path as the one you want to change.</p>
  
  <p>You should use <a href="http://wiki.civicrm.org/confluence/display/CRMDOC/Create+a+Module+Extension" rel="nofollow">civix</a> to create the core file of the extension. The new extension needs only 3 files :</p>
  
  <ul>
  <li>info.xml (to be completed after civix has generated it)</li>
  <li>yourextension.civix.php (you don't have to touch this one)</li>
  <li>yourextension.php (only touch it if you need additionnal customization like hook call)</li>
  </ul>
  
  <p>Then you just have to add a xml file in <code>yourextensionpath/xml/Menu/</code> that contains the modified menu entry like :</p>
  
  <pre><code> &lt;?xml version="1.0" encoding="iso-8859-1" ?&gt;
   &lt;menu&gt;
     &lt;item&gt;
       &lt;path&gt;civicrm/admin/scheduleReminders&lt;/path&gt;
       &lt;title&gt;Schedule Reminders&lt;/title&gt;
       &lt;desc&gt;Schedule Reminders.&lt;/desc&gt;
       &lt;access_arguments&gt;administer CiviCRM;access CiviEvent&lt;/access_arguments&gt;
       &lt;path_arguments&gt;action=update&lt;/path_arguments&gt; (also tried with &lt;path_arguments&gt;group=scheduleReminders&lt;/path_arguments&gt;)
       &lt;page_callback&gt;CRM_Admin_Page_ScheduleReminders&lt;/page_callback&gt;
       &lt;adminGroup&gt;Communications&lt;/adminGroup&gt;
       &lt;icon&gt;admin/small/template.png&lt;/icon&gt;
       &lt;weight&gt;40&lt;/weight&gt;
     &lt;/item&gt;
   &lt;/menu&gt;
  </code></pre>
  
  <p>After activating your extension, you may have to go visit <code>civicrm/menu/rebuild&amp;reset=1</code> to clean the cache.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-08-12T15:11:55.637Z
Answers.LastActivityDate: 2015-08-12T15:11:55.637Z
Answers.UserDisplayName: samuelsov
Body: <p>I need to make a minor change to CRM/Core/xml/Menu/Admin.xml so that people that manage events can also schedule email reminders, exactly like Lobo describes the answer here: <a href="https://forum.civicrm.org/index.php?topic=28431.0" rel="nofollow">https://forum.civicrm.org/index.php?topic=28431.0</a></p>
  
  <p>I know that we can make custom changes to tpl files without changing core files, is it possible to also make a change to an XML from this particular directory?</p>
  
Tags: <civievent><best-practice>
Title: Alternative to modify Core XML
ThreadText: # Alternative to modify Core XML
  
  (Asked by: username_0 on 2015-08-11)
  
  I need to make a minor change to CRM/Core/xml/Menu/Admin.xml so that people that manage events can also schedule email reminders, exactly like Lobo describes the answer here: <https://forum.civicrm.org/index.php?topic=28431.0>
  
  I know that we can make custom changes to tpl files without changing core files, is it possible to also make a change to an XML from this particular directory?
  
  **Tags:** civievent, best-practice
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-08-12. Score: 2
  
  You could try creating you own extension with your own xml file that use the same path as the one you want to change.
  
  You should use [civix](http://wiki.civicrm.org/confluence/display/CRMDOC/Create+a+Module+Extension) to create the core file of the extension. The new extension needs only 3 files :
  
  * info.xml (to be completed after civix has generated it)
  * yourextension.civix.php (you don't have to touch this one)
  * yourextension.php (only touch it if you need additionnal customization like hook call)
  
  Then you just have to add a xml file in `yourextensionpath/xml/Menu/` that contains the modified menu entry like :
  
  ```
   <?xml version="1.0" encoding="iso-8859-1" ?>
   <menu>
     <item>
       <path>civicrm/admin/scheduleReminders</path>
       <title>Schedule Reminders</title>
       <desc>Schedule Reminders.</desc>
       <access_arguments>administer CiviCRM;access CiviEvent</access_arguments>
       <path_arguments>action=update</path_arguments> (also tried with <path_arguments>group=scheduleReminders</path_arguments>)
       <page_callback>CRM_Admin_Page_ScheduleReminders</page_callback>
       <adminGroup>Communications</adminGroup>
       <icon>admin/small/template.png</icon>
       <weight>40</weight>
     </item>
   </menu>
  
  ```
  
  After activating your extension, you may have to go visit `civicrm/menu/rebuild&reset=1` to clean the cache.
  
  
  ---
  
  