Non-core contributed modules

Convert MRBS to use the settings.php file in place of config_global.html

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.9
  • Fix Version/s: None
  • Component/s: Block: Mrbs
  • Labels:
    None
  • Environment:
    Windows Server 2003
    Apache 2.0.58
    PHP 5.2.5
    MySQL 5.0.51
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_19_STABLE

Description

Attached is the settings.php for the MRBS block.

This will address two issues with the current implementation of MRBS.

1. The settings for MRBS will appear when using the search option in the site administration block
2. It will populate the path to for the MRBS installation with http://<your web site>/blocks/mrbs/web (where <your web site> is the value stored in $CFG->wwwroot)

I've also attached an updated language file.
(The only new string is for the server path I've inserted it below)
$string['serverpath'] = 'MRBS Installation path';

Once the settings.php file is installed, the config_global.html can be removed (Moodle will use the settings.php file instead of the config_global.html file)

  1. block_mrbs.php
    10/May/08 4:27 AM
    0.6 kB
    Stephen Bourget
  2. settings.php
    10/May/08 4:27 AM
    0.3 kB
    Stephen Bourget

Activity

Hide
Anthony Borrow added a comment -

Stephen - Thanks for the suggestion and for providing the files. Definitely a good idea to use settings.php. I have changed this in the 19STABLE and HEAD branches of the MRBS block. I also created a 18STABLE branch the continues to use the older global config file since settings.php does not work with 1.8 (AFAIK). Let me know if I messed anything up. Peace - Anthony

Show
Anthony Borrow added a comment - Stephen - Thanks for the suggestion and for providing the files. Definitely a good idea to use settings.php. I have changed this in the 19STABLE and HEAD branches of the MRBS block. I also created a 18STABLE branch the continues to use the older global config file since settings.php does not work with 1.8 (AFAIK). Let me know if I messed anything up. Peace - Anthony
Hide
Anthony Borrow added a comment -

Closing all of my resolved issues. Peace - Anthony

Show
Anthony Borrow added a comment - Closing all of my resolved issues. Peace - Anthony

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: