Joomill Extensions
Our SiteDownloadsContact
Custom Fields plugins
Custom Fields plugins
  • Custom Fields plugins
    • Install the plugin
    • Download Key (PRO version)
    • Create your first custom field
    • Render a Custom Fields manually
  • Youtube Field
    • Settings (Free version)
    • Settings (PRO version)
    • Use the plugin
  • Vimeo Field
    • Settings (Free version)
    • Settings (PRO version)
    • Use the plugin
  • QR-Code Field
    • Settings (Free version)
    • Settings (PRO version)
    • Use the plugin
  • Spotify Field
    • Settings (Free version)
    • Settings (PRO version)
    • Use the plugin
  • User Dropdown Field
    • Settings (Free version)
    • Settings (PRO version)
    • Use the plugin
Powered by GitBook
On this page
  1. Custom Fields plugins

Render a Custom Fields manually

PreviousCreate your first custom fieldNextYoutube Field

Last updated 2 years ago

Joomla offers some content events which are triggered during the content creation process. This is the place to define how the custom fields should be integrated into content.

When you don't want to use the triggers to render the custom fields automaticly, you can set this option to NO and create an override. How to do this can be read on this page:

In the override you created you need to enter the following code at any place you want to render the custom field.

<?php if (isset($this->item->jcfields[X])): ?>
<?php echo FieldsHelper::render('com_content.article', 'field.render', array('field'=> $this->item->jcfields[X])); ?>
<?php endif; ?>

[X] is the ID of the custom field

in this case this need to be replaced by: [1]

https://docs.joomla.org/J3.x:How_to_use_the_Template_Manager