Child pages
  • Blog - Magento 2

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Thank you for choosing Aheadworks!

...

 

Installing Blog

To install the extension, follow the instructions below:

Section
Column
width50%

Command Line Installation

Panel
borderStylesolid
borderWidth2px

1. Backup your web directory and store database;

Panel
borderStylesolid
borderWidth2px

2. Download the Blog installation package;

Panel
borderStylesolid
borderWidth2px

 3. Upload contents of the Blog installation package to your store root directory;

Panel
borderStylesolid
borderWidth2px

 4. Navigate to your store root folder in the SSH console of your server:

No Format
cd path_to_the_store_root_folder

run the following command:

No Format
php -f bin/magento module:enable Aheadworks_Blog

and then:

No Format
php -f bin/magento setup:upgrade

after:

No Format
php -f bin/magento setup:static-content:deploy
Panel
borderStylesolid
borderWidth2px

5. Flush the store cache; log out from the backend and log in again.

Note

Make sure that the installation is done from the FTP administrator account. Otherwise, make sure to set 775 permissions to the store root directory after the extension is deployed.

Column
width50%

Composer Installation

Panel
borderStylesolid
borderWidth2px

1. Log in to your customer account at https://ecommerce.aheadworks.com and navigate to Account -> Composer access;

Panel
borderStylesolid
borderWidth2px

2. Configure your store to work with the Aheadworks composer repository:

Add composer repository to composer.json by running:

composer config repositories.aheadworks composer https://dist.aheadworks.com/ in the Magento installation root.

Use a key pair provided as login and pass. You can optionally save them in the global composer auth file.

Panel
borderStylesolid
borderWidth2px

 3. You can start using AW composer now.

 For extension names, navigate to Account -> Composer access.

Panel
borderStylesolid
borderWidth2px

 4. Open the root Magento directory on your server and send Composer the following command:

composer require <component-name>:<version>

Note: Use the previously copied component name and version.

Panel
borderStylesolid
borderWidth2px

 5. Make sure that Composer finished the installation without errors. Flush store cache, log out and log into the backend again.

 

Registering Disqus

Section

The Blog extension by Aheadworks uses the Disqus service to process and manage blog comments. Along with the comment management enhancements, Disqus allows defining if guest customers can comment on blog posts, open discussions on Disqus forums, and serves as another social platform for your store advertising.

Column
width50%
Panel

1. Create an account on Disqus;

Expand
titleClick to view details

a) Proceed to the Disqus website;

b) Click the button in the upper right corner of the screen to proceed to the registration form.

You can create the account through your social network accounts or register via email. If registering via an email address, don't forget to check for the 'Confirm email' message from the Disqus team after the registration is completed.

Panel

2. Register new application;

Expand
titleClick to view details

a) Proceed to the API Resources page and click the button;

Decide on the Application Label, Description, your Organization name, and Website. Those are used for the application identification purposes.

Once done, click the button to create the application.

b) Once again, navigate to the API Resourses page and copy the newly created application's Secret Key;

Under the Application section, you can now see the newly created application. Copy the application's Secret Key and paste it to the Disqus Secret Key field of the Blog extension's General Settings.

c) The secret key is now set, and it's time to click the 'Admin' link to proceed to the adding a site to Disqus stage.

Panel

3. Add new site;

Expand
titleClick to view details

 

a) Proceed to Your Sites block at the top of the page and click the button;

b) Decide on the Website name, copy the Unique Disqus URL below the Website Name (where you will manage all blog comments) and choose the appropriate category (optional)

Paste the Unique Disqus URL to the Disqus Forum Code field of the Blog extension's General Settings.

c) Once done, click the button.

Info

Please note, the Website name you enter will be displayed above the Comments section of each blog post:

Panel

4. Configure comment policies.

Expand
titleClick to view details

a) After adding the new site, navigate to the Settings section;

b) Proceed to the Community tab:

  • Guest Commenting - decide if you want to allow guest customers to leave comments;
  • Pre-moderation - decide if you want to manually approve comments;
  • Links in Comments - decide if you want to manually approve only the comments that contain links;
  • Media Attachments - decide if you want to let your customers attach images and videos to comments;
  • Flagged Comments - decide about the notifications on customer reported comments;
  • Automatic Closing - decide if you want a blog post to become unavailable for comments after a set number of days;

c) You may also want to look through the other settings available. Once done, click the button at the bottom of the page.

Note

We are not providing assistance with setting up the Disqus services.

If you have any questions or require assistance with additional settings, refer to the Disqus knowledge base.

Column
width50%

 

...