Hallo zusammen,
folgendes Problem und bis dato keine Lösung gefunden (ich hoffe ich komme hier bei Euch weiter 😉 ) :
Ich möchte die die Anrede im Template um den Datensaz "Anrede" erweitern.
So stehts in der locallang.xml:
<label index="v_dear">Sehr geehrte(r) %3$s,</label>
%3$s, steht wohl für den Nachnamen - kann mir jemand sagen wie ich an die anderen Werte rankomme (was steht für Anrede, Geschlecht etc)?
Wenn es für die Anrede (salutation) keine Zuweisung auf diese Art gibt, wie bekomme ich andere Datenfelder dort rein?
Gruß,
cal
___________________________________________________________________
edit:
im manual steht das hier:
Some labels in pi1/locallang.php have names starting with 'v_'. In those labels, the following variables may be used:
%1$s : the title of the pid containing the frontend user records created by the extension;
%2$s : the user name of the frontend user;
%3$s : the name of the frontend user;
%4$s : the email address of the frontend user;
%5$s : the password of the frontend user.
Special functions can be inserted. They will be replaced by the result of the function.
{data:<field>}: value of this field of the FE user record
{tca:<field>}: value of the marker ###TCA_INPUT_field'###'
{meta:<stuff>}: extra stuff functions:
das sieht ja schonmal gut aus, aber ich habe keinen plan wie ich das richtig verwende
😢