开发者

Installing magento plugins without using Magento Connect

I have a plugin which my client has bought. Its a zip file. 开发者_Go百科How can I install the plugin without using the Magento connect?


Usually you can just unzip, but you should check that directory structure is Magento style, it at least should have app/code/ app/etc/modules directories


If you have SSH access, then this is the way to do it:

First you go into the folder where your magento is installed.

cd /public_html (or whichever folder it is)

Grant the 'mage' user some basic rights:

chmod 530 mage

Now you could install modules using this command:

./mage install http://connect20.magentocommerce.com/community name_of_module

When you copy the name of the module from the magento web site it will be :

http://connect20.magentocommerce.com/community/name_of_module 

make sure to replace the last forward slash with a space

http://connect20.magentocommerce.com/community name_of_module


http://freegento.com/ddl-magento-extension.php


Lots of companies who charge for Magento modules will distribute them as zip/tar.giz archives.

In this case you can usually extract them and just upload to your magento root directory.

You will find a folder structure similar to this:

app/etc/modules/*.xml

app/code/community/[company]/[module]/

skin/frontend/[company]/[module]/

Simply upload the new structure, refresh your magento cache and then when magento is next run (loaded in the browser) the module will install itself and take care of any database updates etc.

ALWAYS remember to make a full db/file backup before installing any new modules!


You can direct download the zip package from the source http://freegento.com/ddl-magento-extension.php or others then unzip it and finally place every folder as its structure. Then clear cache and it is ready to use


I don't know about prior versions, but at least 1.9 (CE) and up, you may even be able to just upload the .tgz from the Magento Connect Manager, which should contain the code and a package.xml (you won't need to check)

Installing magento plugins without using Magento Connect


Extract zip File

place all extracted files/folders with respective of magento folder structure.

eg. If you have .xml file in "app/etc/modules" folder place this file in magento "app/etc/modules" folder

Warning! Try to place modules .xml file at the end and login to admin panel, clear cache


Save the extent ion , extract and then copy them to the appropriate folders. Make sure the module activation file is copied to the etc folder in the root.

the module activation file will be located in a folder with the below structure.

/etc/Module/<Namespace>_<ModuleName>.xml

This is different from the one in the app/etc , since the app/etc is more about the module and related configurations. The one i have mentioned above tells magento that your are trying to install a module. And btw , make sure the active tag is set to "true" if not the module will be disabled and not visible at all.


For the location of Magento itself on your server :

[MagentoFolder]/app/code/community/[SomeCompanyName]/[SomePackageName]


Direct Upload plugin Via FTP

Step 1: Unzip the folder and Upload the extension(plugin) folder to your root directory.

Step 2: Take precautions by follow these 3 steps to make sure the process runs safe:

    a.Create backup of your site by going into system->tools->backup. This will be useful if anything goes wrong.

    b.Disable compilations via system->tools->Compilations.

    c. Clear cache by going into System-> Cache Management.

Step 3: Activate the extension:

Log out from your admin panel, and log back in again Go to System-> Configuration

If the extension requires a license key, click on licenses on the left bar and enter your license key next to the extension name, which should appear in the list of recently installed extensions. License keys are provided by the extension developers when purchasing them, and are different from product keys which are normally provided with free extensions on Magento Connect.

After entering your license key, click on Save config and wait to see an approval message saying the extension was installed and activated successfully.

Step 4: Confirm Installation:

To check the installation went fine, go to Advanced-> Developer and under disable modules output, check that your newly installed extension appears in the list. If it does, it means that you did everything correctly. Simply find the extension settings and start configuring.


You should use special URL to download any module from Magento Connect using your favorite browser.

Format of the URL:

http://connect20.magentocommerce.com/community/{PACKAGE NAME}/{VERSION}/{PACKAGE NAME}-{VERSION}.tgz

Example:

For example you want to download the "Praxigento_LoginAs" module as TGZ (.tar.gz) archive from Magento Connect.

  1. Open Magento Connect page of the module.

  2. Remember last release version number. You can find this information in the the 'Release Notes' tab.

In our sample last version of the module is "1.2.0".

  1. Check an Extension key for "Magento Connect 2.0".

For our module the Extension key is:

http://connect20.magentocommerce.com/community/Praxigento_LoginAs
  1. Configure URL for downloading and open it in your browser: http://connect20.magentocommerce.com/community/Praxigento_LoginAs/1.2.0/Praxigento_LoginAs-1.2.0.tgz

You will see standard download window in your browser.


Follow below steps to install module without magento connect

  1. Unzip the third party module

  2. Copy & paste module to root folder

  3. Give full permissions to root folder

  4. Check etc/modules for xml file

  5. Clear Cache and load the site

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜