Jump to content


- - - - -

Problem with header menu


No replies to this topic

#1 PeteA (guest)

PeteA (guest)
  • Guests

Posted 30 September 2014 - 07:24 AM

Just uncovered a small hiccup in the CMS menu, in that it doesn't perform any link checking before outputting the menu link.  Discovered this by disabling the News vQmod :)

 

Suggested change:

        <ul>
<?php if (isset($information)) : ?>
          <li><a href="<?php echo $information; ?>"><?php echo $information_pages; ?></a></li>
<?php endif; if (isset($news)) : ?>
          <li><a href="<?php echo $news; ?>"><?php echo $text_news; ?></a></li>
<?php endif; if (isset($text_blocks)) : ?>
          <li><a href="<?php echo $text_blocks; ?>"><?php echo $text_modules; ?></a></li>
<?php endif; if (isset($contact)) : ?>
          <li><a href="<?php echo $contact; ?>"><?php echo $text_contact; ?></a></li>
<?php endif; ?>
        </ul>

  • 0



Reply to this topic



  



 

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Community Skin by Fredson Nunes Junior