shortcut to content

Minnesota State University, Mankato

Minnesota State University, Mankato

Left Menu Navigation Example

Page address: http://www.mnsu.edu/its/web/template/navigationexample.html

Everything to be included in this page goes between <?php place('content');?> and <?php place('content-end');?>

This is an example of the three levels of navigation available on the left menu. The only code that needs to be modified from the example below are the italicized portions that reference the name of the link, and the URL.

$leftmenu[]='*Link Name Goes Here[/link/url/goes/here/]';

The Three Levels of Navigation

The other options with the left menu are different levels of navigation. The number of asterisks used denotes which level the link falls under, as shown below.

$leftmenu[]='*Link Name Goes Here[/link/url/goes/here/]'; – First Level
$leftmenu[]='**Link Name Goes Here[/link/url/goes/here/]'; – Second Level
$leftmenu[]='***Link Name Goes Here[/link/url/goes/here/]'; – Third Level

Category and Selected Links

In the menu to the left, Template Samples is the current category, while Navigation Example is the currently selected document. In order to designate the link as a category, add {category} to the end of the link as shown it italics below.

$leftmenu[]='*Link Name Goes Here[/link/url/goes/here/]{category}';

To designate the link as the currently selected document, add {selected} to the end of the link as shown it italics below.

$leftmenu[]='*Link Name Goes Here[/link/url/goes/here/]{selected}';

Full Example

The full code for the left menu on this page is as follows:

$leftmenu[]='*Web Template Home[/its/web/template/]';
$leftmenu[]='*Template Samples[/its/web/template/samples.html]{category}';
$leftmenu[]='**Zip File of Template Examples[/its/web/template/template.zip]';
$leftmenu[]='**Navigation Example[/its/web/template/navigationexample.html]{selected}';
$leftmenu[]='***Link One[/its/web/template/navigationexample.html]';
$leftmenu[]='***Link Two[/its/web/template/navigationexample.html]';
$leftmenu[]='***Link Three[/its/web/template/navigationexample.html]';
$leftmenu[]='*Documentation [/its/web/template/navigationexample.html]';
$leftmenu[]='*Web Development Home [/its/web/]';

Template Samples

Download a Zip file of these samples

Sample H2 Heading

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam nec est id velit iaculis imperdiet. Fusce in ligula vitae nisl ornare vulputate. Integer varius, sem eget tincidunt ullamcorper, nulla ligula placerat justo, eget euismod erat nibh nec wisi. Curabitur purus. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. In hac habitasse platea dictumst. Suspendisse lacus magna, mattis nec, egestas et, commodo non, risus. Integer adipiscing rutrum velit. Cras dolor augue, tempor faucibus, pharetra ac, gravida vitae, turpis. Etiam elit dolor, posuere quis, aliquet sed, imperdiet in, elit. Morbi ultricies, orci non porta dictum, felis diam scelerisque tortor, sit amet tempus justo ipsum eleifend diam.

Sample H3 Heading

Nulla ut nisl. Morbi semper augue id ipsum vulputate aliquet. Maecenas felis orci, scelerisque vitae, sagittis vitae, sagittis eu, nibh. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Integer euismod mauris vel velit. Morbi facilisis ipsum elementum risus. Vivamus ipsum. Phasellus metus. Sed libero enim, suscipit non, ornare quis, faucibus nec, enim. Aliquam erat volutpat. Nam luctus, est quis convallis malesuada, justo nisl tristique orci, et tincidunt dolor nibh eu ante. Donec pulvinar. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Suspendisse congue. Maecenas fringilla condimentum quam. Phasellus ut diam sed nulla auctor dapibus.

Sample H4 Heading

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam nec est id velit iaculis imperdiet. Fusce in ligula vitae nisl ornare vulputate. Integer varius, sem eget tincidunt ullamcorper, nulla ligula placerat justo, eget euismod erat nibh nec wisi. Curabitur purus. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. In hac habitasse platea dictumst. Suspendisse lacus magna, mattis nec, egestas et, commodo non, risus. Integer adipiscing rutrum velit. Cras dolor augue, tempor faucibus, pharetra ac, gravida vitae, turpis. Etiam elit dolor, posuere quis, aliquet sed, imperdiet in, elit. Morbi ultricies, orci non porta dictum, felis diam scelerisque tortor, sit amet tempus justo ipsum eleifend diam.

Sample H5 Heading

Nulla ut nisl. Morbi semper augue id ipsum vulputate aliquet. Maecenas felis orci, scelerisque vitae, sagittis vitae, sagittis eu, nibh. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Integer euismod mauris vel velit. Morbi facilisis ipsum elementum risus. Vivamus ipsum. Phasellus metus. Sed libero enim, suscipit non, ornare quis, faucibus nec, enim. Aliquam erat volutpat. Nam luctus, est quis convallis malesuada, justo nisl tristique orci, et tincidunt dolor nibh eu ante. Donec pulvinar. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Suspendisse congue. Maecenas fringilla condimentum quam. Phasellus ut diam sed nulla auctor dapibus.