在 cms-pages 上移动 xml-layoutupdate,是否从内容区域中排除?

发布于 2024-11-18 11:58:32 字数 293 浏览 4 评论 0原文

我想创建一个 cms 页面,显示实际内容之外的静态块。我正在使用 xml-layoutupdate 来调用该块。

我可以更改块的渲染位置吗?

我很难解释,所以我提供了一些输出源代码:

就是我得到的目前,就是我最终愿意得到的。

我正在使用 Magento 1.5.1.0。

I’d like to create a cms-page displaying a static block outside the actual content. I’m using the xml-layoutupdate to call the block.

Can I change the position at which the block is rendered?

I’m pretty bad in explaining so I provided some of my output source-code:

This is what I’m getting at the moment, and this is what I’m willing to get in the end.

I’m using Magento 1.5.1.0.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

比忠 2024-11-25 11:58:32

在页面中您希望插入静态块的位置 - 在内容中而不是 XML 更新中 - 使用 此指令

{{block id='block_id'}}

其中 block_id 是静态块的标识符。

At the point in the page where you want your static block to be inserted - in the content and not the XML update - use this directive:

{{block id='block_id'}}

Where block_id is the static block's identifier.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文