Page 1 of 1

How to install an extension

Posted: Sat Sep 04, 2010 4:37 pm
by opencart20
Hello eveybody,

I am new in OpenCart.

I have just installed the last version and now I would like to install the extension in order to import products from a flat file.

I would like to know if there is a procedure to install the ZIP file like in Prestashop: upload the zip file and the sofware will install it automaticaly ? Or unzip the zip file and put each file one by one in the directories ?

You can below the readme.txt of the extension.

Thanks a lot for your help




Export/Import Tool for OpenCart 1.4.9
=====================================

The Import/Export Tool allows the admin user to do a bulk export
of all the categories, products, and product options to an Excel spreadsheet file.
The spreadsheet file can be edited offline and then be re-imported to the OpenCart database.


Installation
============

1)
You may want to do a backup copy of the following files because these will be overwritten:

admin/controller/common/header.php
admin/language/english/common/header.php
admin/view/template/common/header.tpl


2)
Copy the files from the 'upload' directory to your target installation directory
of OpenCart.


3)
After installation, the following files are now newly added:

admin/controller/tool/export.php
admin/language/english/tool/export.php
admin/model/tool/export.php
admin/view/template/tool/export.tpl
admin/pear/ChainedBlockStream.php
admin/pear/OLE.php
admin/pear/PEAR5.php
admin/pear/PEAR.php
admin/pear/PPS.php
admin/pear/System.php
admin/pear/Console/Getopt.php
admin/pear/PEAR/Exception.php
admin/pear/PEAR/FixPHP5PEARWarnings.php
admin/pear/PPS/File.php
admin/pear/PPS/Root.php
admin/pear/Spreadsheet/Excel/Reader.php
admin/pear/Spreadsheet/Excel/Writer.php
admin/pear/Spreadsheet/Excel/Reader/OLERead.php
admin/pear/Spreadsheet/Excel/Writer/BIFFwriter.php
admin/pear/Spreadsheet/Excel/Writer/Format.php
admin/pear/Spreadsheet/Excel/Writer/Parser.php
admin/pear/Spreadsheet/Excel/Writer/Validator.php
admin/pear/Spreadsheet/Excel/Writer/Workbook.php
admin/pear/Spreadsheet/Excel/Writer/Worksheet.php

And the following menu files are now overwritten:

admin/controller/common/header.php
admin/language/english/common/header.php
admin/view/template/common/header.tpl

If your header files already contain changes from
other OpenCart addon modules, then you have to manually merge
your backup copies from step 1) with the changes done to them
from this module, using a text editor.


4)
Before using this newly installed Export/Import feature for the first time, you must set the
access rights for top administrator as follows:

In the admin interface, choose

System > Users > User Group

From there, select 'Top Administrator', then click on the 'Edit' link to the right.
This will open up an edit window with multichoice dropdown lists for 'Access' and 'Modify' rights.
In both of them, you'll see a new entry for 'tool/export' which you can select by clicking
on their check boxes.

Re: How to install an extension

Posted: Sat Sep 04, 2010 9:47 pm
by Xsecrets
no there is no system to install files from the admin yet. Currently you unzip the extension file look for a readme and follow it. So that means you are going to have to use ftp to upload the files to the host.

In this case you "Copy the files from the 'upload' directory to your target installation directory of OpenCart."

Re: How to install an extension

Posted: Sat Sep 04, 2010 10:50 pm
by Qphoria
This is really getting annoying tho. Even people at my work don't get the concept of copying folders and they make their lives so much harder. I have a working package installer that allows you to upload a zip file and it copies the files where they need to go, I will have to get that ready to go.

Perhaps I need to make a better filecopy video with sound and force you to watch it when signing up for the forums