◂ Back to 'Integration/API'

How do I set up the plug-in from Newsletter2Go to Gambio?

Hint: In Order to use the Gambio Plug-in, you will need your own Newsletter2Go Account. If you don’t already have one, you can create your own account for free here.


Before you start:
To use the plug-in, you will need a premium template with web shop integration. You can use the Premium Template to import product information and photos directly into your newsletter. You can find more information about newsletter tempaltes here.

1. Installing the plug-in
1.1 copy files

Before connecting to Gambio API with supplied connector, a plugin must be installed. Plugin is packed in Gambio folder. First you need to upload files from Gambio folder to your FTP server. To upload files to your FTP server, you will need an FTP client tool. Plenty of FTP programs can be found on the internet. FileZilla is used in the example below.

Once your FTP program is connected to your server, navigate to the extracted Gambio plugin in your local directory (left), and your shop folder on the FTP server (right). Select ALL files in your Gambio plugin local folder and drag them into your shop folder. Upload will start immediately. NOTE: If you have older than 2.0 version of Gambio please ignore system folder.

Gambio image 1

1.2 Modify base files

In order for the plugin to work in your Gambio system, a few lines of codes need to be added in your Gambio backend.

Copy marked code and paste them at the corresponding lines in your file. Line numbers in the following code snippets, however, refer to an “unmodified” version of files. If you already modified your files, the line numbers may vary. Only the highlighted parts need to be added into the files.

The paths are relative to your shop’s base folder. E.g. if your Gambio has been installed at /public_html/catalog/, then the path of includes/filenames.php refers to /public_html/catalog/includes/filename.php.

Also keep in mind that the default folder name admin is used below. If you have renamed your admin folder, please locate the files in that directory.

Step 1.

NOTE: This step is only for older versions of Gambio. If using Gambio GX2 version or newer, skip this step.

  • Open the file admin/includes/column_left.php
  • Copy the following code and paste it at the corresponding position in your file. Code must be under BOX_HEADING_CONFIGURATION segment.

include_once ‘column_left_api.php’;

Gambio 2

 

Step 2.

  • Open the file admin/includes/application_top.php
  • Copy the marked codes below, and paste them at the corresponding position in your file.

Gambio 3

NOTE: Steps 3 -7 are for enabling plugin in different languages. Do only those steps for which your shop has available languages.

Step 3. English

  • Open the file lang/english/admin/english.php
  • Copy the marked codes below, and paste them at the corresponding position in your file. In this case it is at the end of your file.

Gambio 4

Step 4. German

  • Open the file lang/german/admin/german.php
  • Copy the marked codes below, and paste them at the corresponding position in your file. In this case it is at the end of your file.

Gambio 5

Step 5. French

  • Open the file lang/french/admin/french.php
  • Copy the marked codes below, and paste them at the corresponding position in your file. In this case it is at the end of your file.

Gambio 7

Step 6. Portuguese

  • Open the file lang/portuguese/admin/ portuguese.php
  • Copy the marked codes below, and paste them at the corresponding position in your file. In this case it is at the end of your file.

Gambio 8

Step 7. NOTE: Plugin is available in English, German, French and Portuguese. If your shop has some other language available please do this step so plugin could work in that language.

  • First you need to create a new file called yourlanguage_api.php. The file content is shown below. You should only change the selected translations.

Gambio 9

  • Open the file lang/yourlanguage/admin/ yourlanguage.php
  • Copy the marked codes below, and paste them at the corresponding position in your file. In this case it is at the end of your file.

Gambio 10

Step 8. NOTE: If your PHP is running as CGI/SuExec, please do this step, if not please skip this step.

  • Open the file .htaccess in your Gambio project folder.
  • Copy the marked codes below, and paste them at the corresponding position in your file.

Gambio 11

  • If you do not have .htaccess file, please create one and put the codes below in that file.

Gambio 12

1.2 enabling plug-in

After these 8 steps go to your Gambio admin page. Under section MODULES go to XT-Moduls for older versions of Gambio, and for Gambio GX2 or newer go to Modules-Center.

Gambio 13

Gambio 14

 

You will be listed with plugins available for your shop. Choose Newsletter2GO, and click Install.

Gambio 15 admin area

 

Now your plugin is available. It is under CONFIGURATION section.

Gambio 16

2. Enabling API access

 

To use API connector for specific user, user must have rights for API access. To allow user to connect through API, go to Newsletter2GO page and enable API access by selecting user for whom you want to enable api. On the right side you will get Enabled check box and api key field. By selecting check box system will generate API key, if user do not already have api key, which is required for access:

Gambio 17

Copy API key and click on Save button. User is now allowed to access through API calls.

Gambio 18 running the demo

3. Running the demo

 

Open demo.php in web browser and enter your Gambio data:

The rest of the demo page is straightforward (it’s the same as for other plugins demo).

 

 

 

Other questions about Web Shop Connections

How do I set up the WordPress newsletter plug-in? How do you set up the plug-in to an OXID web shop? How do I set up the PrestaShop web shop connection? How do I set the Shopware 5-newsletter plugin? How do I set up the WooCommerce Plug-In? How do I set up the connection between Newsletter2Go and Mailbeez? Does Newsletter2Go offer a connection to JTL Shop3? How do I set up the WooCommerce web shop connection? How do I connect my Gambio shop to Newsletter2Go? How do I set up the Shopware 4 newsletter plug in? How do I set up the Shopify shop connection? Does Newsletter2Go offer a connection to One-Box Shop system? I use a Plentymarkets multi-shop. How can I keep my recipient data and newsletters cleanly separated? How can I integrate Newsletter2Go into my xt:Commerce shop? I would like to use your newsletter software in connection with my web shop, e.g. Plentymarkets, Magento or xt:Commerce. Do I have to use your premade templates or can I create my own? How do I set up a plentymarkets connection and which rights need to be assigned to the user in order that the web shop integration can work? How does the Newsletter2Go webshop plug-in work? How do I set up the Magento Newsletter Plug-in? Can I influence the design of my web shop template? Can I use the 1 Click Product Transfer even if there isn’t a Plug-in for my Webshop? Which product attributes are copied over from my web shop with the article transfer function? Which shop systems can be connected to Newsletter2Go? How do I set up a connection to xt:Commerce? How do I set up the commerce:seo Newsletter Module? How can I connect my Gambio shop to Newsletter2Go? Does Newsletter2Go offer a connection with Typo3? How do I set up a Lightspeed eCom connection? How do I set up the ZenCart Newsletter Plug-in? How can I use the OpenCart Newsletter Plug-in to interface with OpenCart-Shops? What features can be synchronized with XT-Commerce? How do I set up the osCommerce Newsletter2Go Plug-in?

Newsletter2go verwendet Cookies, um Ihnen den bestmöglichen Service zu gewährleisten. Wenn Sie auf der Seite weitersurfen stimmen Sie der Cookie-Nutzung zu. Ich stimme zu.