VQMOD can't find

LiteCart Fan
Depuis Sweden
Membre depuis janv. 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
Depuis Sweden
Membre depuis mai 2013
tim

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

LiteCart Fan
Depuis Sweden
Membre depuis janv. 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
Depuis Sweden
Membre depuis mai 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

Ce fil de discussion a été fermé en raison d'une longue inactivité. Il n'est pas possible de publier dessus.
Ce site n'utilise aucun cookie ni aucune technologie de suivi tierce. Nous pensons pouvoir faire mieux que les autres et nous nous soucions vraiment de votre vie privée.