Skip to Main Content

Simplified FIU's official website template

This template was developed based on the information from FIU's Style Guide and from the graphical elements from the FIU's Welcome page. To use this template you have to use PHP on your website but don't worry, PHP is automatically turned on if you use FIUnix. Your files have to end with ".php".

There are two usages for this template. You can use it with or without the menu bar on top. Using it without the menu bar is a little bit easier but I hope that both are straighforward.

Using without menu bar

Your PHP file has to look like this:

You want to replace only the capitalized content! Here is an example of a webpage on my website with the text "Hello!". The code of this page is below.

Using with menu bar

The menu is added as another parameter to the POST array. Each menu item has submenu containing multiple items. There can be multiple menu items and multiple submenu items. Below is the PHP file template:

You want to replace only the capitalized content! Here is an example of a webpage on my website with the text "Hello!" containing menu. The code of this page is below.

Something extra

If you want to use Google analytics then just add your gtag into the $postdata array under the key 'gtag'.

I recomend that you to make a file called 'base.php' that will contain all the PHP code before your actual website content and then you put "<?php require('base.php'); ?>" instead of this code. If you will want to add a menu item in the future, you will not have to edit all your pages but only one file - 'base.php'.

If you don't want to display "'s webpage'" in the title add 'pureTitle' into the $postdata array.