Zip it up and install your plugin
Now that you have created all the code for the Click to Call plugin, you need to test it in your Joomla! site to see if it works correctly. We will start out with a way that you might get this running on your development site, then, we will zip it all up into an installable file that you could distribute to other people.
Before we do that, you will need to add some phone numbers in your articles that we are going to turn into Click to Call links, so that we know the plugin works. Add some phone numbers in 1234-5678 or 1234 5768 format.
In your Joomla! 3 development website, find the /plugins/content/
folder and create a new folder clicktocall
.
Copy into this folder the files you have created, clicktocall.xml
, clicktocall.php
, and index.html
.
Now in your Joomla! Administrator, navigate to Extensions | Extension Manager, and select the Discover view at the left side. Click on the Discover button and you should see the Content - Click To Call plugin appearing....