See the example of the createSubMenuOfPage() method
Show Example<?php
/* *** CODE ***
--------------------------------------------------------------------------------
This example uses no extra properties. To see an example using all the properties, see the createMenu() method example.
*/
// a session will be started in the "feindura.include.php",
// therefor you have to include this file before the header of the HTML page is sent,
// which means before any HTML Tag.
require('cms/feindura.include.php');
// creates a new Feindura instance
?>
<!DOCTYPE html>
<html>
...
<?php
// will create a <ul> menu from the current page, when it has a subcategory or the current subcategory
echo $item['menuItem'];
}
*** RESULT ***
--------------------------------------------------------------------------------
<ul>
<li>
<a href="?category=1&page=1" title="Example Page 1">
Example Page 1
</a>
<ul>
<li>
<a href="?category=2&page=4" title="Example Page in SubCategory 1">
Example Page in SubCategory 1
</a>
</li>
<li>
<a href="?category=2&page=5" title="Example Page in SubCategory 2">
Example Page in SubCategory 2
</a>
</li>
</ul>
</li>
<li>
<a href="?category=1&page=2" title="Example Page 2">
Example Page 2
</a>
</li>
<li>
<a href="?category=1&page=3" title="Example Page 3">
Example Page 3
</a>
</li>
</ul>
?>