New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple IIAB menus or only home (default) menu ? [menu of menus ?] #2110
Comments
reopen |
@llovemixo the behavior you want is the expected behavior for the reasons you give and has worked for quite some time
means just what it says, something unexpectedly went wrong. When this was first reported I tried to reproduce and couldn't: If you want to troubleshoot do the following as root after ssh into iiab:
this will put you in debug mode where errors are not trapped and you should see python errors |
Tim, |
I didn't mean to say there is a any limit as to how many of these child directories you may have. The help doesn't explicitly mention the creation of a directory as I didn't want to confuse people. I have added a note to that effect now. |
@llovemixo I think @tim-moody is talking about the help pages here: If so, it might take a few days for these help page clarifications to be published, i.e. when PR's (pull requests) like the following become official: iiab/iiab-admin-console#278 |
or could be sooner |
@llovemixo are there further questions to help you out here? (Or if not let's close this, Thanks!) |
The menu structure appears to support a menu of menu's. Execution of the "child" has not been tested yet. I can see 3 possible ways: 1) copy /library/www/html/child/ directory to my en-child ; 2) place index.html in en-child/ to point to /library/www/html/child/ ; or use execution URL field in menu item for "child". Thanks Tim Closing this question. |
Expected behavior and actual behavior.
Version 7.0, Pi 4 (August 21, 2019) and Pi Zero W (fresh install of Buster and IIAB)
Admin Console, Menu Save only accepts one name, the default of "home ". Any other name fails with error: SAVE-MENU-DEF FAILED and reported unexpected error in Command SAVE-MENU-DEF .
Is this the expected behavior ?
The structure seems to imply multiple menu's might be possible and do become possible with a little terminal work.
In /library/www/html is the directory home/ with files menu.json and index.html .
If one copies the home/ to child/, the Menu Save with name "child" will be saved and can be run with http:/box.lan/child . The index file remains the same . If desired, ,only the Title line needs to be changed from "Home" to "Child" in the index.html .
One can construct the directory using terminal with owner/user = www-data, but only the menu.json file gets save when Admin Console>Menu.>MenuSave.is executed.
Why multiple menu's ? Different age groups may need different parts of a large menu and big menu's are awkward. So a menu for kindergarten, elementary, etc. .
Also, a simple index.html replacement for that in home, can be imagined that would provide a simple menu calling : http:/box.lan/ child , etc. .
Nathan Riddle
xoapart@xoshare.org
The text was updated successfully, but these errors were encountered: