如何在magento中查看页面中创建的自定义模块
我已经在Magento中创建了新的自定义模块。我想在新创建的页面中查看模块。我已尝试在内容部分添加以下代码。但是它没有显示在页面中如何在magento中查看页面中创建的自定义模块,magento,Magento,我已经在Magento中创建了新的自定义模块。我想在新创建的页面中查看模块。我已尝试在内容部分添加以下代码。但是它没有显示在页面中 {{block type=”services/services” name="hello" template=”services/services.phtml” }} 请帮助如何在页面中查看创建的模块 这是我的config.xml <?xml version="1.0"?> <!-- /** * Magento * * NOTICE OF
{{block type=”services/services” name="hello" template=”services/services.phtml” }}
请帮助如何在页面中查看创建的模块
这是我的config.xml
<?xml version="1.0"?>
<!--
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@magentocommerce.com so we can send you a copy immediately.
*
* @category services
* @package web_services
* @copyright Copyright (c) 2012 Phoenix Medien GmbH & Co. KG (http://www.phoenix-medien.de)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
-->
<config>
<global>
<modules>
<web_services>
<version>0.1.0</version>
</web_services>
</modules>
<blocks>
<services>
<rewrite>
<services>web_services_Block_services</services>
</rewrite>
</services>
</blocks>
</global>
<frontend>
<routers>
<services>
<use>standard</use>
<args>
<module>web_services</module>
<frontName>services</frontName>
</args>
</services>
</routers>
<layout>
<updates>
<helloworld>
<file>services.xml</file>
</helloworld>
</updates>
</layout>
</frontend>
</config>
0.1.0
web\u服务\u块\u服务
标准
网络服务
服务
services.xml
转到您的cms页面,单击“显示/隐藏编辑器”并粘贴到代码下方
{{block type="core/template" name="hello" template="services/services.phtml"}}
这可能会对您有所帮助。转到您的cms页面,单击“显示/隐藏编辑器”并粘贴下面的代码
{{block type="core/template" name="hello" template="services/services.phtml"}}
这可能会对您有所帮助。从您的配置文件看,您正试图重写某些web服务。 如果你是初学者,那么你应该从创建简单的“Hello world”模块开始。 以下是hello world的资源,它将帮助您开始
从您的配置文件中可以看出,您正试图重写某些web服务。 如果你是初学者,那么你应该从创建简单的“Hello world”模块开始。 以下是hello world的资源,它将帮助您开始
请描述一些代码尖晶石以了解更多详细信息。我看不出你在这个问题上有什么问题。请描述一些代码尖刺以了解更多细节。我看不出你在这个问题上有什么问题。