Magento Enterprise Nofrills布局1.10.1.1兼容性

时间:2011-07-20 06:13:59

标签: layout magento

我刚买了Alan Storm的新电子书No Frills Magento Layouts,并完成了第1章和第2章的所有练习,但是当我到了第3章时,我通​​过更改'当前包名来获得空白页管理面板中的'和'布局',但在将app / design / frontend / base / default / layout / page.xml复制到app / design / frontend / default / nofrills_layoutbook / layout / page.xml后,我无法得到页面如第33页的图3.3所示。查看列出的网址时,我仍然得到了“处理生成...”输出,如上图所示,没有修改后的布局,只有白色背景。我注意到正在渲染其他一些块。这是屏幕上的整个输出,其中打开了路径提示和块提示:

Handles Generated For This Request:
default
STORE_default
THEME_frontend_default_nofrills_layoutbook
nofrills_booklayout_package_index
customer_logged_out
frontend/base/default/template/page/3columns.phtml
Mage_Page_Block_Html
frontend/base/default/template/page/html/head.phtml
Mage_Page_Block_Html_Head
frontend/base/default/template/page/js/cookie.phtml
Mage_Page_Block_Js_Cookie
frontend/base/default/template/page/html/notices.phtml
Mage_Page_Block_Html_Notices
frontend/base/default/template/page/html/header.phtml
Mage_Page_Block_Html_Header
Magento CommerceMagento Commerce

Default welcome msg!
frontend/base/default/template/page/template/links.phtml
Mage_Page_Block_Template_Links
frontend/base/default/template/page/switch/languages.phtml
Mage_Page_Block_Switch
frontend/base/default/template/page/html/breadcrumbs.phtml
Mage_Page_Block_Html_Breadcrumbs
frontend/base/default/template/page/html/footer.phtml
Mage_Page_Block_Html_Footer
frontend/base/default/template/page/switch/stores.phtml
Mage_Page_Block_Switch
frontend/base/default/template/page/template/links.phtml
Mage_Page_Block_Template_Links

Help Us to Keep Magento Healthy - Report All Bugs (ver. 1.10.1.1)
© 2009 Magento Enterprise Edition Demo Store. All Rights Reserved.

如果你不知道,我正在运行Enterprise 1.10.1.1。本书中的其他每个例子都运行得很完美,但是我想知道这个版本是否存在兼容性问题,因为图3.3中的url是'magento1point4.2.dev/nofrills_booklayout/package/index'。任何建议将不胜感激。

1 个答案:

答案 0 :(得分:0)

我正在查看我安装过的旧版Enterprise,看起来像(作为安装过程的一部分),Magento将默认主题设置为enterprise

System -> Configuration -> Design -> Default

因此,无论书籍说默认/默认,请尝试替换default / enterprise。或者,尝试从管理员中删除enterprise值以恢复默认的未配置系统行为。