path changes for PDFFormat
authorUsha Matisson <matisson@makoa.fr>
Thu, 7 Dec 2023 17:34:04 +0000 (09:34 -0800)
committerUsha Matisson <matisson@makoa.fr>
Thu, 7 Dec 2023 17:34:04 +0000 (09:34 -0800)
CRM/Admin/Page/PdfFormats.php
CRM/Core/xml/Menu/Admin.xml

index 11c542133423e1cc55ec43f8a9cd66fdebf4b8e4..e5b06c2755725ecddb411d337fe2e65b9152e357 100644 (file)
@@ -51,13 +51,13 @@ class CRM_Admin_Page_PdfFormats extends CRM_Core_Page_Basic {
       self::$_links = [
         CRM_Core_Action::UPDATE => [
           'name' => ts('Edit'),
-          'url' => 'civicrm/admin/pdfFormats',
+          'url' => 'civicrm/admin/pdfFormats/edit',
           'qs' => 'action=update&id=%%id%%&reset=1',
           'title' => ts('Edit PDF Page Format'),
         ],
         CRM_Core_Action::DELETE => [
           'name' => ts('Delete'),
-          'url' => 'civicrm/admin/pdfFormats',
+          'url' => 'civicrm/admin/pdfFormats/edit',
           'qs' => 'action=delete&id=%%id%%',
           'title' => ts('Delete PDF Page Format'),
         ],
index 93ecf394771907bec5eef2680783efc812d85b72..7c53322912190480b1ef6a40c7e6a4c437fad468 100644 (file)
      <adminGroup>Communications</adminGroup>
      <weight>70</weight>
   </item>
+  <item>
+     <path>civicrm/admin/pdfFormats/edit</path>
+     <title>Print Page (PDF) Formats</title>
+     <page_callback>CRM_Admin_Page_PdfFormats</page_callback>
+  </item>
   <item>
      <path>civicrm/admin/options/communication_style</path>
      <title>Communication Style Options</title>