Difference between revisions of "Mconfig.pinc"

From TUTOS

m
 
m (Reverted edits by Iqelekosaba (Talk); changed back to last version by Gero)
 
(One intermediate revision by one other user not shown)
(No difference)

Latest revision as of 19:50, 9 December 2010

mconfig.pinc is a module specific configuration files. This file will define most of the behaviour of a module.

Typically you will find a section like this:

$tutos[modulesinc]['bugtracking'][] = "mytutos";
$tutos[modulesinc]['bugtracking'][] = "product";
$tutos[modulesinc]['bugtracking'][] = "installation";
$tutos[modulesinc]['bugtracking'][] = "task";
$tutos[modulesinc]['bugtracking'][] = "check";
$tutos[modulesinc]['bugtracking'][] = "scheme";

which will list all the parts of TUTOS that will interfere with the module (in this case the 'bugtracking' module).

Another section does the same vice versa:

$tutos[modulesinc]['note'][] = "bugtracking";
$tutos[modulesinc]['file'][] = "bugtracking";
$tutos[modulesinc]['watchlist'][] = "bugtracking";

Those lines will enable the use of notes, documentmanagement and watchlists on the bugtracking pages.