Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Module is not working—Created by Module Creator
 
lazyCutter
Jr. Member
 
Total Posts:  2
Joined:  2009-06-08
 

Hi, I am searching for help to create modules from past 2 days and found 2-3 articles. I found module creator to do the task. Not problem is everything went good. but block is not showing up. please help me its urgent.
I have refreshed cache also.
Here is log of module creator.

---------------------------------------------------------------------------------------------------------------------------------------------------------
New Module successfully created!

Go to the folder where this file is located. You’ll find a new folder called ‘new’.

Within are all required files for your new module. This folder has the same structure as your Magento Installation. Just make sure you replace the ‘interface’ and ‘theme’ folder with your current design path. If you want to add custom DB-fields go to /new/local/Vienna/Color/sql/module_setup/mysql4-install-0.1.0.php and make your changes for line 12 to 14.

Copy /new/Vienna_Color.xml to /app/etc/modules/. If you chose a Magento Install dir, all files can be found in their according directory. Implement your module functionallity and you’re done!

List of created files:

app/etc/modules/Vienna_Color.xml
app/code/local/Vienna/Color/Block/Color.php
app/code/local/Vienna/Color/controllers/IndexController.php
app/code/local/Vienna/Color/etc/config.xml
app/code/local/Vienna/Color/Model/Color.php
app/code/local/Vienna/Color/Model/Mysql4/Color.php
app/code/local/Vienna/Color/Model/Mysql4/Color/Collection.php
app/code/local/Vienna/Color/Model/Status.php
app/code/local/Vienna/Color/sql/color_setup/mysql4-install-0.1.0.php
app/design/frontend/default/default/layout/color.xml
app/design/frontend/default/default/template/color/color.phtml
app/code/local/Vienna/Color/Block/Adminhtml/Color.php
app/code/local/Vienna/Color/Block/Adminhtml/Color/Edit.php
app/code/local/Vienna/Color/Block/Adminhtml/Color/Grid.php
app/code/local/Vienna/Color/Block/Adminhtml/Color/Edit/Form.php
app/code/local/Vienna/Color/Block/Adminhtml/Color/Edit/Tabs.php
app/code/local/Vienna/Color/Block/Adminhtml/Color/Edit/Tab/Form.php
app/code/local/Vienna/Color/controllers/Adminhtml/ColorController.php
app/code/local/Vienna/Color/Helper/Data.php
app/design/adminhtml/default/default/layout/color.xml

I am using

{{block type="Vienna_Color/Color" template="color/color.phtml"}}

for adding block in my page..

Image Attachments
Screenshot-1.png
 
Magento Community Magento Community
Magento Community
Magento Community
 
lazyCutter
Jr. Member
 
Total Posts:  2
Joined:  2009-06-08
 

ohh i solved problem use

{{block type="color/color" template="color/color.phtml"}}

insted

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top