Hab eine andere Lösung wenn man trotzallem ein Individuelles Menü möchte.
Erstelle hierfür ein eigenes Template und kopiere den inhalt vom default menü und ändere es wie folgt um.
Code:
<?php $pageLanguage = $GLOBALS['TL_LANGUAGE']; ?>
<ul class="<?php echo $this -> level; ?>" role="<?php echo ($this->level == 'level_1') ? 'menubar' : 'menu'; ?>">
<?php foreach ($this->items as $item): ?>
<?php
$itemlang = $item['language'];
if($pageLanguage == $itemlang):
?>
<li<?php if ($item['class']): ?> class="<?php echo $item['class']; ?>"<?php endif; ?>><a href="<?php echo $item['href']; ?>" title="<?php echo $item['pageTitle'] ? : $item['title']; ?>"<?php if ($item['class']): ?> class="<?php echo $item['class']; ?>"<?php endif; ?><?php if ($item['accesskey'] != ''): ?> accesskey="<?php echo $item['accesskey']; ?>"<?php endif; ?><?php if ($item['tabindex']): ?> tabindex="<?php echo $item['tabindex']; ?>"<?php endif; ?><?php if ($item['nofollow']): ?> rel="nofollow"<?php endif; ?><?php echo $item['target']; ?> role="menuitem"<?php if (!empty($item['subitems'])): ?> aria-haspopup="true"<?php endif; ?>><?php echo $item['link']; ?></a><?php echo $item['subitems']; ?></li>
<?php endif; ?>
<?php endforeach; ?>
</ul>
Lesezeichen