How to make a module installable in Magento? - magento

I have successfully created a custom payment gateway module in Magento. Everything work fine as expected.
What I want to do is to make the module installable so that anyone who has the .zip file can install it rather than coping the files manually. I know this is possible with magento and I have seen such modules.
How to make the module installable in Magento which already has been developed ? Please explain the steps if possible.

Here is the step-by-step instruction on how to Package an Extension.
http://www.magentocommerce.com/wiki/7_-_magento_connect/packaging_a_magento_extension
Let me know if you run in any trouble.
Firstly, go to your Admin > System > Magento Connect > Package Extensions
There you will be greeted with New Extension where you can fill all the details of your module.
If you don't understand any field there, just check it in the above article which gives explanation of all the fields required while packaging an extension.

Related

How to create Quickstart Installation package for prestashop 1.7?

I want to create Prestashop theme quickstart package, But I did not found any way.
For more details..
I want to deliver to my client the template, that I have designed on my localhost.
And client can install theme's quickstart package same as prestashop 1.7 installation with theme's sample data like products, categories, banner, images all.
Small help will be highly appricaited.
Thank you.
You can create your own custom Prestashop distribution by following those guidelines.
This would allow to include custom modules and automatically enable them during install steps.
However I am not sure if there is a way to force also custom theme installation without tweaking the installer, so why not just packing the theme the standard way and include your theme modules as dependencies (with also a "import demo data tool" if needed ?). This is how almost all Prestashop third party themes are distributed.
Another option, if you'd like to provide your customers a ready to use environment with custom themes / already hooked modules, is providing him a ready-to-use ZIP package with already installed environment + SQL database dump.

admin menu is not showing in Magento custom module

I have created custom module everything is fine but its not showing admin menu.As I can see in configuration->advanced,the module is showing there and enabled.I also created a fresh module from http://www.silksoftware.com/magento-module-creator and installed to same site but its behaving same as above explained.I have installed same module at another magento installation on another server,its working fine.please help .Any help will be highly appreciated.
Thanks,
Irphan
Did you try to clear the cache ? I've done one litle project in magento for school and clear cache solve all kind of problems.
The Best way I prefer to create a Module in Magento is Using the Module Creator
https://github.com/shell/Magento-Module-Creator
There could me many reasons Why your module dosent appear in the adminhtml.you might be missin some line in the xml file, or some functions model.

How to write and publish an extension for Magento go?

I want to write an extension that is compatible with Magento Go ...
There is anything in particular to know about Magento Go on the dev side ?
Your module should be reviewed by Magento team. See more here - Trusted Magento Extension.

Fatal error: Class 'Mage_Core_Helper_Cookie' not found magento

I created a theme on my own magento website, and uploaded it to another magento website, but when i go to the frontend of that website i get this
Fatal error: Class \\’Mage_Core_Helper_Cookie\\’ not found in /home/winterwa/public_html/app/Mage.php on line 516
I searched for a solution and tried this one described in this topic:
http://www.magentocommerce.com/boards/viewthread/280318/#t401019
(cookie.php in app/code/core/mage/core/helper) but it didn\\’t help a thing.
Any suggestions/solutions for this??
It sounds like the two different Magento installs are running different versions of Magento. The file in question is only added to Magento in version 1.7. I can only assume that you have taken a fresh install of 1.7 and based your theme off of the default / base theme for this. Therefore when the theme gets added to an older version of Magento it is trying to load Blocks / Templates that you haven't overloaded and that just don't exist in the base template.
Unfortunately this won't be the easiest thing to fix. You will need to go through the layout/template files, removing references that add blocks or use helpers that don't exist for the current version of magento. For the issue you mention, you should be able to find by searching for helper('cookie') in your template files.

comments in joomla

i'm new to joomla and i wanna know how can i install modules(or whatever they call)..i downloaded Jcomments from Joomlatune and i donno how to install or configure it..the documentation is also not good plus the screenshots are in a different language..
can someone help me in installing that module?
also, how can i enable comments for an article?
thanks...
You're having problems because you didn't understand Joomla's terminology to extensions.
Extensions are divided in:
Modules
Plugins
Components
Check official documentation to learn each concept.
So, when you have an extension, to install it you just go to your Joomla's menu in administration, and select install like it is in the picture below.
Then, select your zip file which contains your extension.
Go to yourserver.com/administrator/
In one of the menus is a component manager.

Resources