Nabend,
so wie ich es verstanden habe kannst Du nun die Navigation über die Module erweitern.
Lege dazu im Verzeichnis "core" in Deinem Modul Verzeichnis die DAteien
- user.visitmenu.php
bzw.
- user.navbar.php
an.
Beispiel user.visitmenu.php
<?php
defined('mxMainFileLoaded') or die('access denied');
$thismodname = basename(dirname(dirname(__FILE__)));
mxGetLangfile($thismodname);
if (mxModuleActive($thismodname) && mxModuleAllowed($thismodname)) {
$item[] = array(/* Attribute */
'link' => 'modules.php?name='.$thismodname,
'caption' => 'Titel',
'image' => PMX_MODULES_PATH . $thismodname . '/images/userbutton.gif',
'tabname' => 'Tabname',
);
}
?>
Beispiel user.navbar.php
<?php
if (!defined("mxMainFileLoaded")) die ("You can't access this file directly...");
global $prefix;
$thismodname = basename(dirname(dirname(__FILE__)));
mxGetLangfile($thismodname);
if (mxModuleActive($thismodname) && mxModuleAllowed($thismodname)) {
$item[] = array(/* Attribute */
'link' => 'modules.php?name='.$thismodname,
'caption' => 'Titel',
'image' => PMX_MODULES_PATH . $thismodname . '/images/userbutton.gif',
'tabname' => 'Tabname',
);
}
?>
http://www.pragmamx.org/Downloads-pragmaMx-Programmer-Guide-view-821.htmlmfg