Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Custom fields in Joomla March 2019


Published on

Custom fields have been in Joomla for quite some time, but how often do you actually use them? In this talk, I'll demonstrate how I've taken advantage of custom fields recently. We'll then have the usual Q&A session where you can bring along all your questions.

Published in: Software
  • Be the first to comment

  • Be the first to like this

Custom fields in Joomla March 2019

  1. 1. Custom Fields in Joomla Joomla User Group Sydney March 2019 Presented by Tim Plummer
  2. 2. History • Custom fields were added to core Joomla in version 3.7 (April 2017) • Originally based on third party extension DP Fields (Digital Peak)
  3. 3. Documentation • •
  4. 4. Add additional fields to your content
  5. 5. Display those custom fields on front end
  6. 6. Step 1 – create Field Groups
  7. 7. Step 2 – create custom fields in field group
  8. 8. Make sure you set field group, and which category of articles this will appear in
  9. 9. Before Display (default setting)
  10. 10. After Title
  11. 11. After Display
  12. 12. Do not automatically display
  13. 13. Step 3 – use template override to format
  14. 14. Template override /templates/YOURTEMPLATE/html/com_content/article/default.php First load the helper and put custom fields into an array
  15. 15. Then display the fields Each has a label echo $myCustomFields['time']->label; and a value echo $myCustomFields['time']->rawvalue;
  16. 16. Add CSS to make it look nice
  17. 17. Questions