VQMOD can't find

LiteCart Fan
Från Sweden
Medlem sedan jan. 2017

Hey Tim! Im writing an addon and it seems VQMOD can't find:
"$email = new ent_email();
      $email->add_recipient($_POST['email'], $_POST['firstname'] .' '. $_POST['lastname'])
            ->set_subject($subject)
            ->add_body($message)
            ->send();"

in eg. pages/create_account.inc.php

I have tried removing the formatting and indentation and everything I can come up with. 

I would like to select on it and replace it with nothing.

Thanks so much in advance!

tim
Founder
Från Sweden
Medlem sedan maj 2013
tim

vQmod does not support multiline searching. A big disadvantage. The coming replacement I call vMod will do so.

LiteCart Fan
Från Sweden
Medlem sedan jan. 2017

Thanks Tim! Well, I have done multiline searching before with success. I guess it doesn't fully support it then. These kinds of things is the reason why one should try not to use 3rd party software as much as one can :)

Can't find anything of vMod (quick search). Is it released? When will it be introduced to Litecart? 

Thanks for your answer and stay safe!

tim
Founder
Från Sweden
Medlem sedan maj 2013
tim

Sorry, what is the reason why not to use 3rd party components?

Multiline has never been supported in vQmod. And it's stated in bold in the documentation.
https://github.com/vqmod/vqmod/wiki

[quote]Can only search single lines[/quote]

Sure there is something about vMod ;)
https://wiki.litecart.net/vmod

Den här tråden har stängts på grund av lång inaktivitet. Det går inte att posta inlägg till den.
Denna webbplats använder inga kakor och ingen spårningsteknik från tredje part . Vi tror att vi kan göra det bättre än andra och tänker verkligen på din integritet.