我们下面的主页上收到的错误:ezPublish:未知模板变量“view_parameters”在设计命名空间/ dffestival /模板/ page_footer.tpl
eZTemplate @ design/dffestival/templates/page_footer.tpl:8[6]:
Unknown template variable 'view_parameters' in namespace ''
在我们pagefooter.tpl
文件中有如下代码:
<div class="attribute-layout">
{attribute_view_gui attribute=$footerNode.data_map.layout view_parameters=$view_parameters}
</div>
我们正在使用eZ Publish Community Project 2012.6
版本。
任何人都可以解释为什么我不能检索view_parameters
变量,以及如何检索它?
感谢
苏尼尔
感谢您的回复,它适合我。 我们使用:https://doc.ez.no/eZ-Publish/Technical-manual/4.x/Templates/Basic-template-tasks/Custom-view-parameters –