【问题标题】:How can i add a new template hook in my Cs-cart template?如何在我的 Cs-cart 模板中添加新的模板挂钩?
【发布时间】:2014-03-08 01:20:43
【问题描述】:

我的网站使用 cs-cart 4.0,我需要在 body 标签上方的模板钩子,如何在 cs-cart 4.0 中做到这一点? (我想为自己创建一个新的钩子!我该怎么做?)

【问题讨论】:

    标签: cs-cart


    【解决方案1】:

    您可以通过添加 {hook name="index:my_hook"}{/hook} 进入文件design/themes/basic/templates/index.tpl,但请考虑到以后的更新,挂钩可能会被删除,您需要再次添加它

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-02-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多