Open knownasilya opened 10 years ago
Was thinking to write a new module for that - similar to chrome's app page. It allows for other modules to put a link to their page. Similar to the simple page you did on newtab.
I agree. Although I'm not sure how to get the url for a different module in breach. I think I saw something in core_ui.js
about url_for_ui
or something, but that might be for core modules only.
You can expose functionality in a module so that other modules can react upon it. Other module developers would have to use what ever convention (api) the module puts forward.
Michael Bøcker-Larsen http://www.gofundme.com/plant-a-tree-api http://about.me/mblarsen
On Tuesday 15 July 2014 at 19:03, Ilya Radchenko wrote:
I agree. Although I'm not sure how to get the url for a different module in breach. I think I saw something in core_ui.js about url_for_ui or something, but that might be for core modules only.
— Reply to this email directly or view it on GitHub (https://github.com/mblarsen/breach-module-manager/issues/5#issuecomment-49029652).
Would love to learn exactly how that works :smile_cat:
For now I can add the module front end on matthewjamesr/mod_newtab_clock, I have a module menu link that doesn't work yet but will open a modal for browser settings in future. Thoughts?
@matthewjamesr if you can provide us a hook to submit a name and url and possibly a section to reduce clutter of interface (to be placed on the settings page) that would be the best way. You are welcome to tackle this.
@knownasilya sounds good I will work on it over the next few days as able. Will let you know in irc progress :)
Basically this is how we'll hook into Breach for now, see more discussion on #4.