Jump to content

LordOdin

Members
  • Content Count

    13
  • Joined

  • Last visited


Reputation Activity

  1. Upvote
    LordOdin reacted to Mystery in Flux cp Navi links   
    So then what you want to do is use this code:
     
     
    <?php echo $this->url(''); ?>    
     
    Basically:
    Home URL - <?php echo $this->url(''); ?> Downloads - <?php echo $this->url('downloads'); ?> etc.  
    Keep in mind the name of your module goes in between the ' '. 
  2. Upvote
    LordOdin reacted to Mystery in Flux cp Navi links   
    Remove the drop down classes and just have
     
                                <?php foreach ($menus as $menuItem): ?>
                                    <li>
                                        <a href="<?php echo $menuItem['url'] ?>"><?php echo htmlspecialchars(Flux::message($menuItem['name'])) ?></a>
                                    </li>
                                <?php endforeach ?>
     
     
    So that it's like this:
    <?php if (!empty($menus)): ?> <?php foreach ($menus as $menuItem): ?> <li> <a href="<?php echo $menuItem['url'] ?>"><?php echo htmlspecialchars(Flux::message($menuItem['name'])) ?></a> </li> <?php endforeach ?> <?php endif ?> Basically removes the category's title and just adds the category links without the dropdown. 
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.