Custom dashboard failed to load adminTemplate.
-
Hi guys,
I have install mango 3.5.1 with angularjs app in my system, but it doesn't have any sample templates. and when I
require(['mangoUIModule/adminTemplate/app']);
withrequire(['mangoUIModule/myapp/app']);
so giving this errorError: Could not resolve 'ui.examples.templates.adminTemplate' from state 'ui.help.customDashboards.'
So In this case what should I do?
Thanks
Cheers.! -
@ganeshvarahade The admin template was removed from the UI module in v3.4.0 as specified in the release notes.
That said, you can still build custom apps on top the Mango AngularJS module. I would advise looking into just using custom pages coupled with a user module though.
The old adminTemplate can be found here and should work with the latest version of Mango/UI module.
-
okey. for now I install mango so how should I used override folder and How to integrate custom theme? Do you have any videos or URL's so It would comfortable to understand and integrate it.
Thanks
Regards -
@ganeshvarahade said in Custom dashboard failed to load adminTemplate.:
for now I install mango so how should I used override folder
For the admin template, put it in the directory
MA_HOME/overrides/web/modules/mangoUI/web/adminTemplate
you can then access it over the web at/user-ui/adminTemplate/
@ganeshvarahade said in Custom dashboard failed to load adminTemplate.:
How to integrate custom theme? Do you have any videos or URL's so It would comfortable to understand and integrate it.
You are asking some very broad questions without explaining yourself. Please be more specific and also search the help site which I linked to earlier. Here are couple of links -
https://help.infiniteautomation.com/creating-a-custom-theme/
https://vimeo.com/infiniteautomation
-
@jared-wiltshire said in Custom dashboard failed to load adminTemplate.:
/user-ui/adminTemplate/
Okay, Thanks @Jared-Wiltshire