Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-22052

No variable for Hook's body ( $hooks['hookContent'] )

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 15.0.16.78
    • Fix Version/s: None
    • Component/s: Core - Trunks/Routing
    • Labels:
      None
    • ToDo:
    • Asterisk Version:
      13.36
    • Distro Version:
      15.0.16.78
    • Distro:
      FreePBX Distro

      Description

      No variable for Hook's body

      When creating an extension that adds new Tabs to Core / Did and Core / Routing found a problem.

       

      In the Core/Did module when editing the Incoming route new tab is added correctly (Tab title and tab body)

      In the Core/Routing module, when editing the Outbound Route, only the Tab Header is created. The body is not added.

       

      I found out that template Core / Routing does not contain the line “<? Php echo $ hooks ['hookContent']?>”

       

      The content output file var/www/html/admin/modules/core/views/did/advanced_form.php has this variable.

      The /var/www/html/admin/modules/core/views/routing/form.php new tab display file does not contain this variable. Because of this, extensions are not displayed.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                YaRosh Stanislav
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.