Hallo zusammen,
ich versuche gerade ein Menü in einer eigenen Ext auszugeben. Versuche es so, aber es tut sich nix...
function main($content, $conf) {
$this->conf = $conf;
$this->pi_setPiVarDefaults();
$this->pi_loadLL();
$this->pi_USER_INT_obj = 1; // Configuring so caching is not expected. This value means that no cHash params are ever set. We do this, because it's a USER_INT object!
$menu["menu"] = 'HMENU';
$menu["menu."]["special"] = 'directory';
$menu["menu."]["special."]["value"] = '57';
$menu["menu."]["entryLevel"] = '1';
$menu["menu."]["1"] = 'TMENU';
$menu["menu."]["1."]["NO"] = '1';
$menu["menu."]["1."]["NO."]["linkWrap"] = ' | | |*| | | |*| |';
$menu["menu."]["1."]["NO."]["ATagParams"] = 'class="toplinks"';
$content = $this->cObj->HMENU($menu);
//return $this->pi_wrapInBaseClass($content);
return $content;
}
}
Bin ich auf dem richtigen Weg?
Danke schon mal 🙂