Change navigation/EN

From UltraStats WIKI

Jump to: navigation, search

So, when u have an homepage, it's was great, when the users can go back to the homepage from UltraStats. U must simply edit a little bit of code. Let's do it!

Change Navigation

  • 1. Open the include_menu.htm. U will find this file in the following folder:
src/templates
  • 2. Search, in the include_menu.htm, for the following code:
<td class="topmenu1" nowrap align="center" width="75">
<a class="topmenu1_link" href="{BASEPATH}index.php?{additional_url}" target="_top">
<img align="left" src="{MENU_HOMEPAGE}" width="16" height="16" vspace="0">{LN_MENU_HOME}</a></td>

Add before the following code. But, u must edit the link, to ur homepage:

<td class="topmenu1" nowrap align="center" width="75">
<a class="topmenu1_link" href="LINK TO UR HOMEPAGE" target="_top">
<img align="left" src="{MENU_HOMEPAGE}" width="16" height="16" vspace="0">{LN_MENU_HOME}</a></td>
  • 3. That was all, now, u have an button to ur Homepage ;)
  • 4. When u want change the name of the button, u must edit the following code:
{LN_MENU_HOME}
  • 5. Have fun with ur new button ;)
  • To add your own custom button icon to your new home page button. you should upload an image to your ultrastats/images/icons folder its should be 16x16 pixels and in .png format.

then edit the code.. to show new src=

<td class="topmenu1" nowrap align="center" width="75">
<a class="topmenu1_link" href="LINK TO UR HOMEPAGE" target="_top">
<img align="left" src="http://www.ultrastats/images/icons/MYHOMEPAGEICON.png" width="16" height="16" vspace="0">{LN_MENU_HOME}</a></td>

this will provide you with your custom icon for you new home button.

Personal tools
infos and more
installation and more