Skip to content

Commit

Permalink
add accountadmin to test App
Browse files Browse the repository at this point in the history
  • Loading branch information
nworr committed Mar 15, 2024
1 parent 0db7e81 commit 9f6283b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/testapp/app/system/mainconfig.ini.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
authloginpass.enabled=on
account.enabled=on

accountadmin.enabled=on
[coordplugins]
sessionauth=on

Expand Down
2 changes: 2 additions & 0 deletions test/testapp/app/system/urls.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@
<url pathinfo="/auth" module="authcore" include="urls.xml"/>
<url pathinfo="/authlogin/" module="authloginpass" include="urls.xml"/>
<url pathinfo="/test/yes/signin" module="test" action="alwaysyes:signin"/>
<url pathinfo="/accounts/" module="accountadmin" include="urls.xml"/>

</classicentrypoint>
</urls>
1 change: 1 addition & 0 deletions test/testapp/modules/test/classes/adminui.listener.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ function onAdminUILoading($event) {
}

$navigation = new SubMenu('nav', 'Navigation', 10);
$navigation->addJelixLinkItem('account', 'accountadmin~default:index', array(), 'users');
$navigation->addJelixLinkItem('index test', 'test~default:index', array(), 'circle-o');
$uim->sidebar()->addMenuItem($navigation);
}
Expand Down

0 comments on commit 9f6283b

Please sign in to comment.