Skip to content

Latest commit

 

History

History
45 lines (37 loc) · 2.74 KB

README.md

File metadata and controls

45 lines (37 loc) · 2.74 KB

Hello World Plugin for Joomla!

This is a ready to go Joomla Plugin Boilerplate that you can use to build your own plugins. I have added all the settings, elements and things I could find.

What does it do?

This is a content plugin that replaces a user defined shortcode with a language sensitive Hello World statement. You can set the language in the plugin.

How to use this module

  • Install the plugin.
  • Configure the plugin how you want it, including making sure to publish it.
  • Insert the shortcode into an article.
  • Load the newly saved article, with the shortcode, and you should see the shortcode has been replaced with the Hello World message..

Notes

  • When the install mechanism is used, the title for the plugin comes from en-GB.plg_qwrealurl.sys.ini / PLG_QWREALURL_NAME="Hello World"
  • The plugin name is helloworld
    • Can be called by $this->_name
    • Is made from the filename helloworld.php, the .php file extension is removed.
  • You can restrict this plugin to work only on certain components using $context.

Compatibility

plg_helloworld is fully compatible with Joomla versions 3.x (possibly only 3.8+) and 4.x. A few alterations and the plugin will work on earlier versions of Joomla.

License

plg_helloworld is a Joomla plugin developed by QuantumWarp and released under the GNU General Public License.

Learn More

Visit the extension's software page at: https://quantumwarp.com/projects/joomla/plg-helloworld

References

I used the following links and resources to build this plugin.