Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-30332

Global settings link for blocks does not appear on Manage Block screen when it does appear in the menu tree

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • 2.1
    • Blocks
    • Any
    • MOODLE_21_STABLE
    • Hide

      Either just access the settings function from the menu, or add a 'has_config' function to the block code.

      Show
      Either just access the settings function from the menu, or add a 'has_config' function to the block code.
    • Hide

      Install a block with a "settings.php" file but no "has_config" method.
      Verify that the settings link is in one or both places.

      Show
      Install a block with a "settings.php" file but no "has_config" method. Verify that the settings link is in one or both places.

      If you have a "settings.php" file in your block's directory, the settings link will be available from the main "Plugins / Blocks" menu tree but will not show up on the main "Manage blocks" page. This is true unless there is a "has_config" function defined within the block that returns true. I believe this inconsistency is unintended.
      One of two things should be true:

      1. Presence of the "settings.php" generated the setting link in both places, or
      2. Presence of the "has_config" function is required to generate the setting link in both places.

            Unassigned Unassigned
            mchurch Mike Churchward
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.