Browse Source

#6 Now custom client-side nav items can be added

merge-requests/2/head
Mike Koch 8 years ago
parent
commit
b1e54eb52a
  1. 19
      inc/custom/header-custom.inc.php
  2. 1
      inc/header.inc.php

19
inc/custom/header-custom.inc.php

@ -0,0 +1,19 @@
<!-- Here you can insert additional links and dropdowns to the top navigation bar on the client-side of the help desk. You can insert anything you like.
Some example code has been included below, and is commented out so it will not appear on the page. It is recommended to copy & paste the code you
want to use so you still have the samples included. You can use PHP code as well, by using the <?php //and ?> tags
-->
<!-- Use this block of code for a single link (such as the "Home" link) -->
<!-- <li><a href="link_here">Text to Display</a></li> -->
<!-- Use this block of code for a dropdown menu (such as the "ticket" dropdown) -->
<!-- <li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown Text<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="#">Text to Display</a></li>
<li><a href="#">Text to Display</a></li>
</ul>
</li> -->

1
inc/header.inc.php

@ -144,6 +144,7 @@ include(HESK_PATH . 'header.txt');
<?php if ($hesk_settings['kb_enable'])
{ ?>
<li><a href="<?php echo HESK_PATH; ?>knowledgebase.php"><?php echo $hesklang['kb_text'] ?></a></li> <?php } ?>
<?php include ('custom/header-custom.inc.php'); ?>
</ul>
</div><!-- /.navbar-collapse -->
</nav>

Loading…
Cancel
Save