currently the vendor module has to be bundled with the module
Sébastien Monterisi
@SebSept
crap.
Pablo Borowicz
@eternoendless
i know this is bad practice but the old system is not ready to handle composer on its own
Sébastien Monterisi
@SebSept
ok.
so that's not a problem with my code.
Pablo Borowicz
@eternoendless
we want to improve this in the next version so that modules will be installed/upgraded/uninstalled using composer
nope
Sébastien Monterisi
@SebSept
great !
thanks for feedback.
Pablo Borowicz
@eternoendless
(next major version, don’t get your hopes up :P)
:thumbsup:
_
Sébastien Monterisi
@SebSept
thanks again, bye :)
Pablo Borowicz
@eternoendless
you’re welcome!
Sébastien Monterisi
@SebSept
Hello :) Inside a module main file (modules/bla/bla.php) , in hookDisplayAdminProductsExtra(), what's the recommender way to generate an admin url (admin ajax controller) ?
If you're allowed to use $this->get('router') and you only want to make it works with 1.7.5, I think it's a good idea to keep the container style instead legacy link context.
Sébastien Monterisi
@SebSept
ok. that's what sounds reasonable to me too.
thanks
Sébastien Monterisi
@SebSept
Hello, me again :)
my module implements hookDisplayAdminProductsExtra()
form is displayed, ok.
how do I handle the form saving ? Any hook for that ?
Sébastien Monterisi
@SebSept
or should I add a save button pointing to a custom controller ?
Cupsa Darius
@cupsadarius
Hello, I was wondering if there is a way to register a hook from a module that would get triggered when a new message is sent on a customer service thread. I didn't see anything in the documentation that would easily let me hook into that flow. Or if there is a better way of doing that ? I would be very grateful if you guys can point me into the right direction.
nj
@nicoja
Hello How can I solve this :
cannot use base64 encode and decode ??? no method in Tools, so how ?
nj
@nicoja
And it used in Tools
GoT
@PierreRambaud
Hi @nicoja , it was originaly used for retrieving personnal data from merchants, which is forbidden. Today there are other uses such API calls which needs data to be encoded, and we accept the use of these methods
nj
@nicoja
Ok, thanks for your answer
Krystian Podemski
@kpodemski
@PierreRambaud are you sure it is allowed on addons.marketplace? :)
GoT
@PierreRambaud
@Quetzacoalt91 Said me yes :)
Krystian Podemski
@kpodemski
i remember fighting with addons team years ago about base64 :D
i had theme with serialized array treated with base64 just to not use json, because 5.2 was a thing back in the days and sometimes json was faulty
theme was removed from the market because of that, #1 in category :D