Magento-移动块 [英] Magento - moving blocks

查看:60
本文介绍了Magento-移动块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在考虑创建一个捆绑产品,其中有多个捆绑商品可用.

I am looking at creating a bundle product, that has several bundle items available to it.

我的最小问题是一项,是一个复选框列表,大约有200个可用选项.

My min problem, is that one item, is a checkbox list and has approx 200 options available.

因此,我希望将此块从右列移动到主列.

So I'm looking to move this block from the right column, to the main column.

有人知道该文件在哪个文件中吗?

Does anyone know which file this is in?

我正在使用v1.6.1

I'm using v1.6.1

谢谢

推荐答案

首先移动此块的步骤是在模板layot中添加该块的位置.要找到它,您可以在system-> configuration(选择最小作用域网站)->高级标签-> developed and depure中激活前端提示.

firt step to move this block is locate where the block is add in template layot. To locate it you can active frontend hint in system->configuration( select mimimum scope website)->in the tag advanced->developed and depure

接下来,您可以看到块的模板.例如footer.phtm

next you can see the template of your block. for example footer.phtm

接下来,您应该在布局文件中搜索此块的定义.布局文件是用于设计的file.xml. 在页脚示例中:

next you should search the definition of this block in the layout file. Layout file is a file.xml for compose your design. in the example of footer:

<default>
     <block type="page/html_footer" name="footer" as="footer" template="page/html/footer.phtml">
                <block type="page/html_wrapper" name="bottom.container" as="bottomContainer" translate="label">
                    <label>Page Footer</label>
                    <action method="setElementClass"><value>bottom-container</value></action>
                </block>

    </default><!--handle default-->

您的块内容可能在左块中,您应该将其剪切并粘贴到内容块中才能在内容块中看到. 希望对您有帮助.

Your block content in a left block probably, you should cut and paste the block in the content block to see this in the content block. hope help you.

这篇关于Magento-移动块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆