Magento 2 plugin
Please Note
- This plugin requires Magento version 2.x.
- This plugin requires that your Magento site has jQuery v1.4 or newer installed
- If you change the URL of your Magento site, the Webhook URL has to be updated in Flockler
Installation and getting started
- Check that you meet the technical requirements
- Download the extension from Magento Marketplace: https://marketplace.magento.com/flockler-module-flockler.html
-
Install the extension
-
By unpacking the extension archive to your Magento installation folder (e.g. /var/www/html) (WARNING! Make sure not to remove any existing directories or files!)
- Or, with the Component Manager
- Or, with Modman
- On Magento: From the main menu click 'Content' and 'Flockler - Webhooks'. Click 'Add New Webhook' and type in a name that describes the content.
- Open Flockler in a new window/tab: https://flockler.com/newsroom
-
On Flockler:
- Click 'Settings' on the menu, then 'Webhooks' tab, and click 'Create new webhook'.
- Go back to Magento and copy&paste the webhook URL from Magento to the URL field in Flockler.
- Click 'Create webhook' button
- Copy the Secret
- On Magento: Copy&Paste the Secret from Flockler to the 'Secret' field on Magento and click 'Save Webhook'.
- On Flockler: Click 'Okay'. Select if you'd like to publish only the content collated on Flockler in the future or publish all the content already collated on Flockler (and all future content) to your Magento store.
- On Magento: You'll see your content when you go to 'Flockler' on Magento admin and select 'Posts' (screenshot)
The easiest way to add Flockler Social Wall to your store is to add it as widget to any of your "static pages" (screenshot).
- Go to edit the static page in Magento: click “Content” on the main menu, select “Pages”, Clic “Select” dropdown on the page and click “Edit”
- Open the page's “Content” section
- Choose a good place for your Flockler Social Wall
- Click “Insert widget” on the content editor’s toolbar
- Select "Flockler Wall" and type in Site ID, Section ID or Tags if you want to filter posts by those parameters.
- Change the layout parameters if necessary (Items per page, Item width and Show Load More)
- Finalize widget by clicking "Insert Widget"
- Save the page with "Save Page" button
- Check that the page is viewing correctly
Parameters
- Site ID: The ID of the site to render posts from.
- Section ID: The ID of the section to render posts from.
- Tags: Tags that must be included to posts that are rendered (e.g. camera,electronics).
Layout parameters
The following optional parameters are supported:
Please note that with the social wall, you’ll need an area of at least 1050px to show three posts side-by-side and 700px to show at least two.
Technical requirements
- Magento v2.x
- jQuery v1.4 or newer must be installed on the Magento site
Known issues
- Load more buttons don't work as expected if there are two or more walls on the same page.
- Compatibility with customized themes is not guaranteed.