After a long search for a solution - reset component and eventually comes to email a letter ... what was the problem and it is not clear ...
Now there is another problem, how to install the template email to confirm activation?
In the e-mail comes header consisting of the letters and text sfdsfsd exactly the same dsgfsgfdg.
This is the default settings changed only ID template output.
The search for these letters of component files yielded no results.
In general, what options are there in this component, the documentation does not sensibly painted on it, as I bring the headline, I bring a message from someone?
I dig deeper in the code snippet and found
core/components/virtunewsletter/elements/snippets/virtunewsletter.subscribe.snippet.php
$scriptProperties['phsPrefix'] = $modx->getOption('phsPrefix', $scriptProperties, 'virtuNewsletter.email.');
$scriptProperties['nameKey'] = $modx->getOption('nameKey', $scriptProperties, 'name');
$scriptProperties['categoryKey'] = $modx->getOption('categoryKey', $scriptProperties, 'category');
$emailTo = $_POST[$scriptProperties['emailKey']];
$emailFrom = $modx->getOption('emailFrom', $scriptProperties);
$emailFromName = $modx->getOption('emailFromName', $scriptProperties);
$successMsg = $modx->getOption('successMsg', $scriptProperties);
Okay, so the getOption - this option virtuNewsletter
[[!virtuNewsletter.subscribe?
&nameKey=`name`
&categoryKey=`default category`
&emailFromName=`Title name`
&emailFrom=`email from`
]]
That nothing is specified in the documentation...
Using, FormIT - in written documents, &emailtpl=`tpl for email`
How do I connect an email template in this case?
look further:
Systems settings:
virtunewsletter.subscribe_confirmation_tpl - id
And how do I call?
[[!virtuNewsletter.subscribe?
&nameKey=`name`
&categoryKey=`default category`
&emailFromName=`Title name`
&emailFrom=`email from`
&virtunewsletter.subscribe_confirmation_tpl=`id resources` :)
or
¶metr=`[+virtunewsletter.subscribe_confirmation_tpl]`
]]
???