Closed hostep closed 1 year ago
@pecinaon: if you have a little time, I would appreciate it if you could review this a bit, thanks! 🙂
Hey @pecinaon: what are your thoughts on this? Thanks!
Hey @pecinaon or @tomasfriedrich, have you guys already found some time to check this out? Thanks!
Your contribution has been accepted, and we truly appreciate the time and effort you invested in it.
Super, thanks! 🙂
Hi @IlyaZha: when do you plan to release a new version with this fix included? Thanks!
Hello, we are still testing one new feature for batch processing of notifications, which should speed up the auctioning of the stores of users who also use the Koongo service.
I think we should release it by the end of the week.
Thanks for your help and have a nice day Andrew.
…e install using magento/magento-composer-installer
This PR
magento/magento-composer-installer
dependency which can automate the install of font files in your Magento installationThis is a little-known feature in Magento, but you can see that Magento's
magento/magento2-base
module uses the same feature to copy files from it, to your Magento install. The difference is thatmagento/magento2-base
is oftype
magento2-component
, while this module is oftype
magento2-module
. Thetype
determines the location where files are copied to as described in the documentation. So I needed to prepend the path with../../
so it would install the fonts in{root-magento-project}/lib
and not{root-magento-project}/app/code/lib/
To test:
repositories
section of thecomposer.json
file of a Magento installation:lib/web/fonts/
does not has a directoryNostress_Koongo
with the fonts from this modulelib/web/fonts/
does have a directoryNostress_Koongo
with the fonts from this module and that in the Magento backoffice the font is loaded correctlylib/web/fonts/
does not has a directoryNostress_Koongo
with the fonts from this module