0

I finally got Template-Toolkit installed and working, but I'm having some issues compiling with it.

I'm trying to make a custom sign-on page for a Juniper gateway. From their doc ( http://www.juniper.net/techpubs/software/ive/admin/5.5-CSPSolutionGuide.pdf ) on page 18 they say

You must begin each file with the directive
[% TAGS <% %> %] so that you can use angle brackets on any directives you add
to the templates. By default, the Template Toolkit recognizes square brackets ([
]) instead of angle brackets (<>) as delimiters for directives. The IVE recognizes
angle brackets only. Adding the TAGS directive tells the local Template Toolkit
utilities that you are using angle brackets.

I add the line to the beginning of the file, but get this error when I run the tpage command:

undef error - verbatim: filter not found

Another option would be to change the START_TAG and END_TAG in Template-Toolkit config, from this doc ( http://template-toolkit.org/docs/manual/Config.html#section_START_TAG_END_TAG )

But I'm not sure where I can perform this change, I don't know where to find the config file or the command to change the setting.

Any help is appreciated !!

4

1 回答 1

0

[% TAGS %]好吧,这个错误与指令无关。

您收到该错误是因为您使用了未安装的名为“逐字”的过滤器。它不是模板工具包附带的标准过滤器之一,所以我不确定它应该来自哪里。可能是瞻博网络安装的东西吗?

于 2012-07-31T15:26:38.157 回答