aboutsummaryrefslogtreecommitdiffstats
path: root/doc/hook
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-11-22 18:20:19 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-11-22 18:20:19 -0800
commitae1103c5a3f3f76a0269cbb5de11a7cb96496ad3 (patch)
tree362704985df6e47cc12bbaa896cc96154187dd6b /doc/hook
parenta7e4553ea75854e9ab5d94566d0f8d0550e4205b (diff)
downloadvolse-hubzilla-ae1103c5a3f3f76a0269cbb5de11a7cb96496ad3.tar.gz
volse-hubzilla-ae1103c5a3f3f76a0269cbb5de11a7cb96496ad3.tar.bz2
volse-hubzilla-ae1103c5a3f3f76a0269cbb5de11a7cb96496ad3.zip
doco updates
Diffstat (limited to 'doc/hook')
-rw-r--r--doc/hook/nav.bb27
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/hook/nav.bb b/doc/hook/nav.bb
index 847573620..b52f90602 100644
--- a/doc/hook/nav.bb
+++ b/doc/hook/nav.bb
@@ -1 +1,28 @@
[h2]nav[/h2]
+
+Called when generating the main navigation bar and menu for a page
+
+Hook data:
+
+ array(
+ 'usermenu' => array( 'icon' => photo URL, 'name' => channel name )
+ 'nav' => array(
+ 'usermenu' => usermenu (photo menu) link array
+ (channel home, profiles, photos, cloud, chats, webapges ...)
+ 'loginmenu' => login menu link array
+ 'network' => grid link and grid-notify
+ 'home' => home link and home-notify
+ 'intros' => intros link and intros-notify
+ 'notifications' => notifications link and notifications-notify
+ 'messages' => PM link and PM-notify
+ 'all_events' => events link and events notfiy
+ 'manage' => manage channels link
+ 'settings' => settings link
+ 'register' => registration link
+ 'help' => help/doc link
+ 'apps' => apps link
+ 'search' => search link and form
+ 'directory' => directory link
+ )
+
+