本文介绍了如何访问OTRS HTML页面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想访问otrs html页面来更改登录页面之后的客户页面.我在otrs所在的远程服务器上进行了搜索,但是没有找到html页面.任何人都知道我在哪里可以得到那东西?

I want to access otrs html page to change the customer page that came after login page. I have search over remote server where the otrs is located but did not found the html page. Any body know where i can get that?

推荐答案

OTRS不使用纯HTML页面,而是使用其称为.dtl格式的模板,该模板基本上是带有占位符标记的有效HTML,该占位符标记在访问时呈现页面.

OTRS does not use pure HTML pages but it uses templates in what it calls .dtl format, which basically is valid HTML with placeholder tags which are rendered when accessing the pages.

文件位于<OTRS DIRECTORY>/Kernel/Output/HTML/Standard/中.客户登录页面的模板称为CustomerLogin.dtl,位于此目录中.

The files are located in <OTRS DIRECTORY>/Kernel/Output/HTML/Standard/. The template for the customer login page is called CustomerLogin.dtl and is located in this directory.

<OTRS_DIRECTORY>取决于您的操作系统和安装.最典型的是,在Linux上为/opt/otrs,在Windows上为c:\OTRS\OTRS.

The <OTRS_DIRECTORY> is dependent on your OS and installation. Most typically, on Linux, this would be /opt/otrs and on Windows it would be c:\OTRS\OTRS.

这表示,对于客户门户网站的许多更改(例如更改某些文本或放置徽标),您实际上根本不需要修改模板,但是您可以通过以下方式来更改配置:网络界面.请阅读此文档.

This said, for many changes to the Customer Portal, such as changing some of the text, or placing a logo, you actuallty don't need to modify the templates at all but you can do this by changing the configuration via the web interface. Please read the documentation for this.

此外,从将于今年夏天发布的OTRS 3.4版开始,OTRS将不再使用自制的"dtl"模板,而是使用模板工具包(一种标准的Perl模板引擎)作为其模板解决方案.这意味着模板的扩展名将从.dtl更改为.tt.

Also, starting OTRS version 3.4 which will be out this summer, OTRS will no longer use the home-brew 'dtl' templates but it will rather use Template Toolkit, a standard Perl templating engine, as its templating solution. This will mean the extension of the templates will change from .dtl to .tt then.

这篇关于如何访问OTRS HTML页面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-11 07:41