Skip to main content

Tutorial: Build your own custom field plugin - Sprachdateien

Written by Elisa Foltyn

This Joomla! Custom Field Plugin shows images from a selected folder in an "Owl Carousel". In this tutorial, I'll explain to you, how to build your own "Custom Field Plugin".

plugins/fields/travel/language/en-GB/en-GB.plg_fields_owlimg.sys.ini

As mentioned before, this file is responsible for the translations during the installation. 

PLG_FIELDS_OWLIMG="Fields - Owl Image Carousel"
PLG_FIELDS_OWLIMG_XML_DESCRIPTION="This plugin shows images from a folder in an owl carousel"

plugins/fields/travel/language/en-GB/en-GB.plg_fields_owlimg.ini

This file contains translations that are used in the plugin.

PLG_FIELDS_OWLIMG="Fields - Owl Image Carousel"
PLG_FIELDS_OWLIMG_XML_DESCRIPTION="This plugin shows images from a folder in an owl carousel"
PLG_FIELDS_OWLIMG_ANIMATEIN="Animate In"
PLG_FIELDS_OWLIMG_ANIMATEOUT="Animate Out"
PLG_FIELDS_OWLIMG_LABEL="Owl Carousel (%s)"

(For the full view have a look at the file in the download package)


Our Custom Fields Owl Plugin is finished!

Download

https://github.com/coolcat-creations/plg_fields_owlimg

Many thanks to Brian Teeman for proofreading the english version!

It's definitely time we get together!