Yannick Lämmel
Hi Peter,
thank you for your answer.
I tried to use that in my custom-blog.php:
$ansprechart = '{article id="'.$this->params->get('ansprech_ID').'"}[titel:text] [vorname:text] [nachname:text]##[e-mail:value]{/article}';
$ansprech = explode('##', $ansprechart);
$ansprechmail = explode('@', $ansprech[1]);
But I cannot work with the variables. A war dump for $ansprech is giving me this result, which is correct.
array(2) {
[0]=>
string(60) "Dr. Prof. Max Mustermann"
[1]=>
string(24) "
"
}
But $ansprechmail looks like:
array(1) {
[0]=>
string(24) "[e-mail:value]{/article}"
}
And even with $ansprech[0], where the var_dump looked good, I cannot work any further.
Do you have another idea on how to get the values and use them in the php?