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.
ok. that's what sounds reasonable to me too.
Hello, me again :)
my module implements hookDisplayAdminProductsExtra()
form is displayed, ok.
how do I handle the form saving ? Any hook for that ?
or should I add a save button pointing to a custom controller ?
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.
Hello How can I solve this :
cannot use base64 encode and decode ??? no method in Tools, so how ?
And it used in Tools
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
Ok, thanks for your answer
@PierreRambaud are you sure it is allowed on addons.marketplace? :)
@Quetzacoalt91 Said me yes :)
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
Hello everyone :) I am having an issue with my Module in Prestashop Addons. The users cannot put reviews on it... Can someone please help me with this issue? Thanks a lot
Hi guys, I tried to upload file with hookDisplayAdminProductsExtra and hookActionProductUpdate, it doesn't work. I tried to search information about that but i just found 1 github thread that said it was not possible anymore due to new symfony legacy controller. But I did not find anything more, Do you have a hint to suggest me?
hi @SebSept you can check your date with the hook hookActionProductUpdate or hookActionProductSave (but file uploading bug)
@cupsadarius Hi, I do not know a hook to do that, but I think you should easily be able to add one custom in the class or the customerThread controlle