【问题标题】:Where is "sf-contener clearfix" end tag? Prestashop 1.5.3.1“sf-contener clearfix”结束标签在哪里? Prestashop 1.5.3.1
【发布时间】:2013-01-16 09:48:23
【问题描述】:

我正在为 Prestashop 做一个项目,我有以下文件:

blocktopmenu.tpl

https://github.com/PrestaShop/PrestaShop/blob/master/modules/blocktopmenu/blocktopmenu.tpl

我需要知道“sf-contener clearfix”的结束标签在哪里

有什么想法吗?

谢谢,对不起我的英语!

----- 编辑后的帖子 ------

我试过了,但对我没有用:(((

我把“exampleDiv”放在这里:

header.tpl

<div id="header_right" class="grid_6 omega">
     {$HOOK_TOP}
     <div id="exampleDiv"></div>
</div>

但我在 Firebug 中查看了这个结果:

<div id="header" class="grid_9 alpha omega">
   <a id="header_logo" href="#"></a>
   <div id="header_right" class="grid_6 omega">
   <div id="topMenu_bg_up"></div>
   <div class="sf-contener clearfix"></div>
   **i wanna to play here :D**
</div>

<div id="minic_slider" class="theme-default"></div>

<div style="display:none;">
   <div>
      <script type="text/javascript">
      <div id="exampleDiv"></div>
      **but it work in this other place :(**
   </div>
</div>

标签: prestashop


【解决方案1】:

这里: https://github.com/PrestaShop/PrestaShop/blob/master/themes/default/header.tpl#L84

#header_right 在 blocktopmenu.tpl 中关闭,topmenu 显示在下方。

编辑:如果你想在topmenu之后添加内容,最好的方法是创建e模块,将它挂在toppage上并将它放在blocktopmenu之后。

【讨论】:

  • 我认为最好在
    标签内进行。我试过了:
    但这对我来说非常困难或困惑。在这种情况下,我将执行以下操作:
    我认为这是我现在最好的解决方案。谢谢大家帮助我:)
猜你喜欢
  • 1970-01-01
  • 2012-03-15
  • 2013-11-27
  • 1970-01-01
  • 2017-02-01
  • 1970-01-01
  • 2013-01-28
  • 2015-07-18
  • 2013-10-26
相关资源
最近更新 更多