It does seem to work on my side, the folders have to be prefixed with ego_ though atm. don't add ego_ prefix in the ui.xml as name. so basically following structure should work:wysiwyg wrote:Request Added to bugtracker - It seems this issue will affect any mod that uses both the detailmonitor and the sidebar menu. Seeing as this worked previously would it not make sense to search in the addons folder of the mod for multiple addons e.g.stefanEgo wrote:@bm01: There are two possibilities atm:
1. Create two separate addons (one in the fullscreen environment, one in the detailmonitor environment)
2. In the fullscreen environment create your own distinct window after you clicking on your button (see DisplayView() and related functions)
Unfortunately the support for cross-environment use-cases is somehow limited atm (especially with respect to working with a single addon set-up).
Feel free to add a feature request to the bugtracker, if you feel like the current support is too limited.
extensions/mymod/ui/addons/mymenu/ui.xml --> my_menu_addon.lua
extensions/mymod/ui/addons/mymonitor/ui.xml --> my_monitor_addon.lua
Just a thought!
Cheers
Wysi
extensions/mymod/ui/addons/ego_mymenu/ui.xml[name="mymenu"] --> my_menu_addon.lua
extensions/mymod/ui/addons/ego_mymonitor/ui.xml[name="mymonitor"] --> my_monitor_addon.lua
(or use my sidebarextender to circumvent two ui-addons I have already updated sidebarextender on my side and will push the update in a few hours )
I do agree with you though, I would really like to keep the folder structure for ui the same as before. It really would feel more "right", as we already put everything else in folder structure that has been defined by the existing structure and, as a result, would be more consistent