New Day new Problem xD
First i read the Documentian from show_menu its gives me an headache but now i knew what i can do all! Very HUGE Plugin!
My Problem is now i need a static <li> in my Menu which is right floated.
The best thing i get is:
<ul>
<?php show_menu2(1, SM2_ROOT, SM2_ALL, SM2_ALL,'<li>[a][menu_title]
[if(class==menu-expand){<!--[if IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]--><ul>}]
[if(class!=menu-expand){</a>}]
[if(class!=menu-last){</li>}]
=> [if(level==root){<li style="float:right;"><a href="'.WB_URL.'/pages/kontakt/biete-wohnung.php">» Biete Wohnung «</a></li> }]
[if(class==menu-last){</li></ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->}]','','',''); ?>
</ul>
What gives me the li 2 times! And its shown on subitems also as first Item! (its an dropdown like in Multiflex 3)
I tried many several versions of this code but nothing works, the most trys shot my Template...
I think there is an foreach or something and becouse of this its shown more than ones, but why in the subitems?
Has please anybody an idea how to fix this?
I put an Image with the Problem as attachment!
Sincerly, c0de