Hello, Contao Community First, sorry for my awful english ops:
1.) Is there a way to put navigation menu in several containers, but level_2 menu shall not inherit this containers? I use nav_default template:
<ul class="<?php echo $this->level; ?>">
In this case both level_1 <ul> and level_2 <ul>'s would be in <div1><div2> containers. I need level_2 <ul>'s without any containers.Code:<div id='div1'> <div id='div2'> <?php foreach ($this->items as $item): ?> <?php if ($item['isActive']): ?> <li class="<?php echo $item['class']; ?>"><span class="<?php echo $item['class']; ?>"><?php echo $item['link']; ?></span><?php echo $item['subitems']; ?> <?php else: ?> <li<?php if ($item['class']): ?> class="<?php echo $item['class']; ?>"<?php endif; ?>>"<?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']; ?>><?php echo $item['link']; ?><?php echo $item['subitems']; ?> <?php endif; ?> <?php endforeach; ?>[/list] </div> </div>
2.) When i watch html-code through Firebug, i see <div class="mod_navigation block"> above <ul>. Where i can edit or remove this <div>?
Thanks :?
Bookmarks