我們下面的主頁上收到的錯誤: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 –