[otrs-de] Hinzufügen von Parametern beim Kunden-Benutzer
Hans Gerhard
gerhard.hans at googlemail.com
Don Apr 10 09:18:04 GMT 2008
Hallo Marco,
keine Problem, freu mich über jede Hilfe :-)
Das Problem ist gelöst, du konntest mir helfen. Und zwar hatte ich meine
Änderungen in der Config.pm im Pfad Kernel/Config/ gemacht (weis auch
nicht mehr so recht, wie ich darauf gekommen bin), was natürlich falsch
ist. Wie du schon geschrieben hast muss die Datei direkt im Kernel/
liegen. Jetz funktioniert es wunderbar.
Vielen Dank für deine großartige Hilfe :-)
Marco Rudzuck schrieb:
> Hallo Hans,
>
> entschuldige nochmals, ich hab dich schon wieder falsch verstanden....
>
> Also, ich habe auch eine Erweiterung vorgenommen und bekomme alles
> angezeigt.
> Ich habe den kompletten
>
> $Self->{CustomerUser}
>
> Block aus der /Kernel/Config/Defaults.pm (Zeilen 1113 - 1177) kopiert
> und in die Kernel/Config.pm eingefügt.
> Dann noch in der Map die Zeile hinzugefügt und alles war da...
>
> Map => [
> # note: Login, Email and CustomerID needed!
> # var, frontend, storage, shown (1=always,2=lite), required,
> storage-type, http-link, readonly
> [ 'UserSalutation', 'Salutation', 'salutation', 1, 0,
> 'var', '', 0 ],
> [ 'UserFirstname', 'Firstname', 'first_name', 1, 1,
> 'var', '', 0 ],
> [ 'UserLastname', 'Lastname', 'last_name', 1, 1,
> 'var', '', 0 ],
> [ 'UserLogin', 'Username', 'login', 1, 1,
> 'var', '', 0 ],
> [ 'UserPassword', 'Password', 'pw', 0, 0,
> 'var', '', 0 ],
> [ 'UserEmail', 'Email', 'email', 0, 1,
> 'var', '', 0 ],
> # [ 'UserEmail', 'Email', 'email', 1, 1,
> 'var',
> '$Env{"CGIHandle"}?Action=AgentTicketCompose&ResponseID=1&TicketID=$Data{"TicketID"}&ArticleID=$Data{"ArticleID"}',
> 0 ],
> [ 'UserCustomerID', 'CustomerID', 'customer_id', 0, 1,
> 'var', '', 0 ],
> # [ 'UserCustomerIDs', 'CustomerIDs', 'customer_ids', 1, 0,
> 'var', '', 0 ],
> [ 'UserComment', 'Comment', 'comments', 1, 0,
> 'var', '', 0 ],
> [ 'ValidID', 'Valid', 'valid_id', 0, 1,
> 'int', '', 0 ],
> [ 'Phone', 'Phone', 'phone', 1, 1, 'var', '', 0 ],
> ],
>
> Ich hoffe ich hab dich jetzt richtig verstanden :-D Heute ist nicht mein
> Tag....
>
> Mit freundlichen Grüßen
> Marco Rudzuck
>
> Hans Gerhard schrieb:
>> Hallo Marco,
>>
>> danke für die schnelle Antwort. Ich hab mich vielleicht nicht gut
>> ausgedrückt, ich möchte das Eingabefeld nich im Kunden-Login oder beim
>> Kunden Zugang erstellen (also nicht ../customer.pl) sondern in der
>> Agenten- oder Admin-Seite beim Anlegen eines neuen Kunden.
>>
>> Marco Rudzuck schrieb:
>>> Hallo Hans,
>>>
>>> scrolle in der .tdl Datei bis zu dem Punkt wo
>>>
>>> <!-- dtl:block:CreateAccount -->
>>> <p>
>>> <table border="0" cellspacing="0" cellpadding="3" width="300">
>>> <tr>
>>> <td class="singleboxhead">$Text{"Create Account"}</td>
>>> </tr>
>>> <tr>
>>> <td class="singleboxbody">
>>> <form action="$Env{"CGIHandle"}" method="post"
>>> enctype="application/x-www-form-urlencoded">
>>> <input type="hidden" name="Action"
>>> value="CustomerCreateAccount">
>>> <input type="hidden" name="Lang" value="$Env{"UserLanguage"}">
>>> <table border="0" cellspacing="0" cellpadding="3">
>>>
>>> erscheint. Unter diesem Block werden alle gewünschten Formularfelder
>>> für die Erstellung eines Accountes beigefügt.
>>> (Ist ziemlich weit unten in der Datei)
>>>
>>> Dort dann die Zeilen für dein Phone-feld einpflegen und das Feld
>>> erscheint im Create-Account und nicht im Login.
>>>
>>> Mit freundlichen Grüßen
>>> Marco Rudzuck
>>>
>>> TRUSTpact GmbH
>>> Schiefe Hardt 1
>>> 58093 Hagen
>>> M: 01733164921
>>> F: 02371965327
>>> E: marco.rudzuck at trustpact.com
>>> http://www.trustpact.com
>>>
>>> Hans Gerhard schrieb:
>>>> Hallo Marco,
>>>>
>>>> danke für die schnelle Antwort. Das geht wunderbar für das
>>>> Kunden-Login, allerdings wollte ich das Eingabefeld beim Anlegen
>>>> eines Kunden haben. Gibts da eine Möglichkeit das hier auch
>>>> hinzubekommen?
>>>>
>>>> Marco Rudzuck schrieb:
>>>>> Hallo Hans,
>>>>>
>>>>> du musst auch in der Datei
>>>>> /otrs/Kernel/Output/HTML/Standard/CustomerLogin.dtl die Eingafelder
>>>>> erweitern.
>>>>>
>>>>> <td>$Text{"Phone"}:</td>
>>>>> <td><input type="text" name="Phone" value="$QData{"Phone"}"
>>>>> size="18"></td>
>>>>>
>>>>> Mit freundlichen Grüßen
>>>>> Marco Rudzuck
>>>>>
>>>>> TRUSTpact GmbH
>>>>> Schiefe Hardt 1
>>>>> 58093 Hagen
>>>>> M: 01733164921
>>>>> F: 02371965327
>>>>> E: marco.rudzuck at trustpact.com
>>>>> http://www.trustpact.com
>>>>>
>>>>>
>>>>> Hans Gerhard schrieb:
>>>>>> Hallo,
>>>>>>
>>>>>> ich hab ein Problem, die Kundenbenutzer um einen Parameter Telefon
>>>>>> zu erweitern. Ich bin vorgegangen wie unter
>>>>>> http://doc.otrs.org/2.2/de/html/x1682.html#customer-backend-db
>>>>>> beschrieben, also phone in der Datenbank eingefügt und die
>>>>>> Änderung an der Config.pm gemacht. Allerdings seh ich im Frontend
>>>>>> keine Änderung. Woran kann das liegen oder was muss ich tun?
>>>>>>
>>>>>> Danke schonmal.
>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> OTRS-de Mailingliste: otrs-de - Webpage: http://otrs.org/
>>>>>> Archiv: http://lists.otrs.org/pipermail/otrs-de/
>>>>>> Listenabo verwalten: http://lists.otrs.org/cgi-bin/listinfo/otrs-de/
>>>>>> Support oder Consulting fuer Ihr OTRS System?
>>>>>> => http://www.otrs.com/
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> OTRS-de Mailingliste: otrs-de - Webpage: http://otrs.org/
>>>>> Archiv: http://lists.otrs.org/pipermail/otrs-de/
>>>>> Listenabo verwalten: http://lists.otrs.org/cgi-bin/listinfo/otrs-de/
>>>>> Support oder Consulting fuer Ihr OTRS System?
>>>>> => http://www.otrs.com/
>>>> ------------------------------------------------------------------------
>>>>
>>>>
>>>> _______________________________________________
>>>> OTRS-de Mailingliste: otrs-de - Webpage: http://otrs.org/
>>>> Archiv: http://lists.otrs.org/pipermail/otrs-de/
>>>> Listenabo verwalten: http://lists.otrs.org/cgi-bin/listinfo/otrs-de/
>>>> Support oder Consulting fuer Ihr OTRS System?
>>>> => http://www.otrs.com/
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> OTRS-de Mailingliste: otrs-de - Webpage: http://otrs.org/
>>> Archiv: http://lists.otrs.org/pipermail/otrs-de/
>>> Listenabo verwalten: http://lists.otrs.org/cgi-bin/listinfo/otrs-de/
>>> Support oder Consulting fuer Ihr OTRS System?
>>> => http://www.otrs.com/
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> OTRS-de Mailingliste: otrs-de - Webpage: http://otrs.org/
>> Archiv: http://lists.otrs.org/pipermail/otrs-de/
>> Listenabo verwalten: http://lists.otrs.org/cgi-bin/listinfo/otrs-de/
>> Support oder Consulting fuer Ihr OTRS System?
>> => http://www.otrs.com/
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> OTRS-de Mailingliste: otrs-de - Webpage: http://otrs.org/
> Archiv: http://lists.otrs.org/pipermail/otrs-de/
> Listenabo verwalten: http://lists.otrs.org/cgi-bin/listinfo/otrs-de/
> Support oder Consulting fuer Ihr OTRS System?
> => http://www.otrs.com/