Difference between revisions of "Mconfig.pinc"

From TUTOS

m (Reverted edits by Iqelekosaba (Talk); changed back to last version by Gero)
 
Line 1: Line 1:
----
 
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
 
----
 
=[http://itygeligub.co.cc UNDER COSTRUCTION, PLEASE SEE THIS POST IN RESERVE COPY]=
 
----
 
=[http://itygeligub.co.cc CLICK HERE]=
 
----
 
</div>
 
 
mconfig.pinc is a [[module]] specific configuration files.
 
mconfig.pinc is a [[module]] specific configuration files.
 
This file will define most of the behaviour of a module.
 
This file will define most of the behaviour of a module.
Line 12: Line 4:
 
Typically you will find a section like this:
 
Typically you will find a section like this:
  
  $tutos[modulesinc]['bugtracking'][] = &quot;mytutos&quot;;
+
  $tutos[modulesinc]['bugtracking'][] = "mytutos";
  $tutos[modulesinc]['bugtracking'][] = &quot;product&quot;;
+
  $tutos[modulesinc]['bugtracking'][] = "product";
  $tutos[modulesinc]['bugtracking'][] = &quot;installation&quot;;
+
  $tutos[modulesinc]['bugtracking'][] = "installation";
  $tutos[modulesinc]['bugtracking'][] = &quot;task&quot;;
+
  $tutos[modulesinc]['bugtracking'][] = "task";
  $tutos[modulesinc]['bugtracking'][] = &quot;check&quot;;
+
  $tutos[modulesinc]['bugtracking'][] = "check";
  $tutos[modulesinc]['bugtracking'][] = &quot;scheme&quot;;
+
  $tutos[modulesinc]['bugtracking'][] = "scheme";
  
 
which will list all the parts of TUTOS that will interfere with the module (in this case the 'bugtracking' module).
 
which will list all the parts of TUTOS that will interfere with the module (in this case the 'bugtracking' module).
Line 23: Line 15:
 
Another section does the same vice versa:
 
Another section does the same vice versa:
  
  $tutos[modulesinc]['note'][] = &quot;bugtracking&quot;;
+
  $tutos[modulesinc]['note'][] = "bugtracking";
  $tutos[modulesinc]['file'][] = &quot;bugtracking&quot;;
+
  $tutos[modulesinc]['file'][] = "bugtracking";
  $tutos[modulesinc]['watchlist'][] = &quot;bugtracking&quot;;
+
  $tutos[modulesinc]['watchlist'][] = "bugtracking";
  
 
Those lines will enable the use of notes, documentmanagement and watchlists on the bugtracking pages.
 
Those lines will enable the use of notes, documentmanagement and watchlists on the bugtracking pages.

Latest revision as of 20: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.