Baselink -Customer?

Hi Developer Community, inserting in a template (*.tt) href="{% env("baselink") %]Action=xyz will create as result https://<server>/otrs/index.pl?Action=xyz. Is there something simular for creating https://<server>/otrs/customer.pl Thanks in advance. Sepp

Hello Sepp, if you use that in the Customer Interface, it will correctly point to customer.pl. To link from Agent to Customer Interface, I’d use something like [% ENV(»Baselink«).replace(‚index\.pl‘ , ‚customer.pl‘ ) %] (ignore the typographical signs please) See also http://template-toolkit.org/docs/manual/VMethods.html#method_replace Martin Gruner Team Lead R&D OTRS AG Bahnhofplatz 1a 94315 Straubing T: +49 (0)6172 681988 0 F: +49 (0)9421 56818 18 I: www.otrs.com/ Geschäftssitz: Bad Homburg, Amtsgericht: Bad Homburg, HRB 10751, USt-Nr.: DE256610065 Aufsichtsratsvorsitzender: Burchard Steinbild, Vorstand: André Mindermann (Vorsitzender), Christopher Kuhn, Sabine Riedel Mobile Kommunikation und transparente Prozesse - Mit der OTRS Business Solution™ Managed 5 schnell und ohne eigene IT-Ressourcen starten - Jetzt neue Features entdecken und bestellen https://www.otrs.com/neu-in-otrs-business-solution-5-mobile-kommunikation-tr...
Am 24.11.2015 um 10:52 schrieb Josef1 Penzkofer
: Hi Developer Community,
inserting in a template (*.tt) href="{% env("baselink") %]Action=xyz will create as result https://<server>/otrs/index.pl?Action=xyz.
Is there something simular for creating https://<server>/otrs/customer.pl
Thanks in advance.
Sepp
_______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
participants (2)
-
Josef1 Penzkofer
-
Martin Gruner