Document toolboxDocument toolbox

Implement MW Plugin into Custom Website

Summary / TL:DR: This article will show you how to use implement MW plugin into custom website


The original goal was to practice using MW calls in a completely created from scratch website. A more specific goal was to return all free lists / email status based off of an email address. Here are the steps I took:

  1. Submit a ticket to IT (DNS Request Form) to request an internal DNS zone using a subdomain with YourUsername.14west.io to point to your machine’s IP address. https://jira.14west.us/projects/ITST/queues/issue/ITST-65050

  2. Download XAMPP and WordPress on your machine and then have IT install them:

    1. https://www.apachefriends.org/download.html

       (XAMPP - use the latest version at the bottom)

  3. Follow these instructions to Install XAMPP and host WordPress: https://www.wpbeginner.com/wp-tutorials/how-to-create-a-local-wordpress-site-using-xampp/

    1. You may need to copy the phpMyAdmin file into the C:\Xampp\htdocs folder to access the database app that comes with XAMPP through your IT-given domain (spowell.sites.14west.io/phpMyAdmin)

  4. Follow these instructions to get your domain SSL certified: https://shellcreeper.com/how-to-create-valid-ssl-in-localhost-for-xampp/

    1. You will need to physically type https:// before your full domain to see the security.

  5. Create a GitHub account and contact Karolis Pliauskys to obtain permission to the Middleware Plugins (2 – Base and Authentication) on GitHub

    1. Download the zip files, unzip them, and then copy them to C:\Xampp\htdocs\website1\wp-content\plugins

      1. NOTE: “website1” is the name you choose for your WordPress folder

  6. Activate the Base Plugin first and then activate the Authentication Plugin

  7. You will need to install a plugin that interprets PHP in WordPress

    1. I used PHP code snippets (Insert PHP)

  8. Use the Github Wiki page and Code page to find useful snippets and a library of calls that can used with the plugin: https://github.com/ThreefoldSystems/Middleware-Base/blob/master/classes/agora_middleware_wrapper.php

 

 


Wrap up

You should now know how to use implement MW plugin into custom website

com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'html-macro' is unknown.