examples:plugincoding:add_sidemenu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
examples:plugincoding:add_sidemenu [2021/03/26 17:11]
pdsci-admin [How to add a side menu item to a plugin]
examples:plugincoding:add_sidemenu [2021/03/27 15:48] (current)
pdsci-admin [How to add a side menu item to a plugin]
Line 7: Line 7:
  
 <sxh php> <sxh php>
 +<?php
 +...
  
 public function boot() public function boot()
Line 19: Line 21:
                 'label'       => 'Books',                 'label'       => 'Books',
                 'icon'        => 'icon-book',                 'icon'        => 'icon-book',
-                'code'        => 'item_book',+                'code'        => 'side-menu-books',
                 'owner'       => 'Pds.Library',                 'owner'       => 'Pds.Library',
                 'url'         => Backend::url('Pds/Library/Books'),                 'url'         => Backend::url('Pds/Library/Books'),