Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-13473

Migrations: Adding a Module in an existing category

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Invalid
    • 3.1.2
    • None
    • Extensions
    • None

    Description

      I tried to add a new Kategory at the "Extension" tab and adding a module there. Instead of using a new language variable I used the already existing 'BOARD_CONFIG'. The installation of the extension is working fine, but everything is kind of messed up afterwards. The module and the category are displayed correctly but the module is "not accessable". The module apears a second time at General -> BOARD_CONFIG there it can't be accessed correctly.

      Here is my migration file:
      [CODE]
      public function update_data()

      { global $user; $user->add_lang_ext('dave/seourls', 'common'); return array( array('config.add', array('seourls_convert_umlauts', '1')), // Add ACP module array('module.add', array('acp', 'ACP_CAT_DOT_MODS', 'BOARD_CONFIG' )), array('module.add', array( 'acp', 'BOARD_CONFIG', array( 'module_basename' => '\dave\seourls\acp\seourls_module', 'modes' => array('settings'), ), )), ); }

      [/CODE]

      I'm not sure if this is a bug, or if there is a convention that forbids using existing but it seems so.

      Attachments

        Activity

          People

            Marc Marc
            D@ve Dave Remmel [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: