> For the complete documentation index, see [llms.txt](https://xoops.gitbook.io/moduleadmin-tutorial/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xoops.gitbook.io/moduleadmin-tutorial/addition-of-a-navigation.md).

# Addition of a navigation

The navigation feature allows to put a picture with the title of the section where we are. The image and title are automatically created.

To add navigation we use `addNavigation()`:

```php
$variable_name->addNavigation($file);
```

`$file`: Page title with extension (note, put the same names as those in menu.php).

**Example :**&#x20;

```php
$variable_name = new ModuleAdmin(); $variable_name->addNavigation("fist_menu.php"); 
echo $variable_name -> renderLabel();
```

**The Result:**&#x20;

![](https://1747761662-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LD6Mk6k8gawuhT2PptD%2F-LD6MtsIRpsCvanbXwlt%2F-LD6N0OhjqQgQLv4Nd7F%2Fimg_7.jpg?generation=1526984612082776\&alt=media)
