WBCE CMS – Way Better Content Editing.
Du bist nicht angemeldet.
Hi. How can I remove the mouseover
<li class="menu-sibling"><a href="/pages/mitgliedschaft.php" target="_top" title="Mitgliedschaft">Mitgliedschaft</a>
tag (title="Mitgliedschaft") from the menu2? Thank you.
Offline
Use a custom menu call in your template, sth. like this:
show_menu2(
$aMenu = 1,
$aStart = SM2_ROOT,
$aMaxLevel = SM2_ALL,
$aOptions = SM2_ALL|SM2_PRETTY|SM2_BUFFER,
$aItemOpen = '<li><a href="[url]" class="[class]" target="[target]">[menu_title]</a>',
$aItemClose = '</li>',
$aMenuOpen = '<ul>',
$aMenuClose = '</ul>',
$aTopItemOpen = false,
$aTopMenuOpen = '<ul>'
);
Please note: it depends on your template how the customized call has to look like, see https://sm2.wbce-cms.org/media/README.en.txt for details.
The default [a] placeholder always generates the title tag.
Another option might be changing the include.php of SM2, just comment out lines 231 and 235, but this modification gets lost on each update.
Beitrag geändert von florian (20.01.2018 10:41:02)
Code allein macht nicht glücklich. Jetzt spenden!
Offline
Thank you!
Offline
florian
Another way would be, to use "SM2_NO_TITLE" in $aOptions:
$aOptions = SM2_ALL|SM2_PRETTY|SM2_BUFFER|SM2_NO_TITLE,
... nein in Europa verwenden wir beim Programmieren nicht € statt $ ...
Offline
Seiten: 1