Skip to content

Inclusion

Include the library and execute global changes on the navigation bar of User's Area in AppGini applications.

Get variable for navbar-changes

1
2
3
4
var navbar = AppGiniHelper.common.getNavbar();

// or
// var navbar = AppGiniHelper.common.navbar;

This code can be added to hooks/header-extras.php:

1
2
3
4
5
<!-- file: /hooks/header-extras.php -->
<script>
  var navbar = AppGiniHelper.common.getNavbar();
  // ...
</script>

See also