VQMOD can't find

LiteCart Fan
Fra Sweden
Member since 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
Fra Sweden
Member since maj 2013
tim

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

LiteCart Fan
Fra Sweden
Member since 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
Fra Sweden
Member since 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

This thread has been closed due to long inactivity. Posting to it is not possible.
This website uses no cookies and no third party tracking technology. We think we can do better than others and really think about your privacy.