Getting to Hello World With Your First Joomla Plugin
- Written by Steve Burge Steve Burge
- Category: Joomla Tutorials Joomla Tutorials
- Published: 28 September 2018 28 September 2018
Are you ready to learn how to build Joomla plugins?
These powerful extensions act on Joomla's trigger events to perform almost any task that you can imagine. Plugins are responsible for a huge variety of tasks on your site from logins, to search, to article features and 1,001 other things.
Inside Joomlashack University, you'll find detailed classes on every aspect of Joomla development. In these 3 videos, we'll show you how to set up your Joomla plugin environment and create a "Hello World" plugin.
Step #1. Introduction to Joomla Plugin Development
This first video introduces us to plugins, which work on Joomla's event triggers. These triggers are named after the event for which they are triggered. For example, "onContentBeforeDisplay" is triggered immediately before content is shown to your site's visitor. Cory also introduces the different types of plugins, such as Authentication and Content.
Step #2. Your Joomla Plugin Development Environment
In this video, you'll see how to set up Git and a localhost environment to start work on your Joomla plugin.
Step #3. Getting to Hello World
In this video, you'll set up the structure for your Joomla plugin. You'll create a folder inside the /plugin/content/ folder and create the XML and PHP files that your plugin needs. At the end of the video, your Hello World code will appear on your site.