The developer takes a few days off for Summer vacation...
...and will be back with charged battery!
From 14 June to 29 June, 2025 included
During this period, assistance from developer will not be provided.
NEWS: iCagenda 4.0.0-alpha1 will be available for testing for users with a PRO subscription in July!
<?php // Custom Fields ?>
<?php if ($CUSTOM_FIELDS): ?>
<?php foreach ($CUSTOM_FIELDS AS $FIELD): ?>
<?php if ($FIELD->title && $FIELD->value) : ?>
<div class="ic-divRow">
<div class="ic-divCell ic-label"><?php echo $FIELD->title; ?></div>
<div class="ic-divCell ic-value"><?php echo $FIELD->value; ?></div>
</div>
<?php endif; ?>
<?php endforeach; ?>
<?php endif; ?>
Connexion ou Créer un compte pour participer à la conversation.
if ($CUSTOM_FIELDS)
{
foreach ($CUSTOM_FIELDS AS $FIELD)
{
if ($FIELD->slug == 'mycustomslug')
{
$mycustomslug_title = isset($FIELD->title) ? $FIELD->title : '';
$mycustomslug_value = isset($FIELD->value) ? $FIELD->value : '';
}
if ($FIELD->slug == 'anothercustomslug')
{
$anothercustomslug_title = isset($FIELD->title) ? $FIELD->title : '';
$anothercustomslug_value = isset($FIELD->value) ? $FIELD->value : '';
}
// and do on, for each field
}
}
<label><?php echo $mycustomslug_title; ?></label>
<div><?php echo $mycustomslug_value; ?></div>
<label><?php echo $anothercustomslug_title; ?></label>
<div><?php echo $anothercustomslug_value; ?></div>
Connexion ou Créer un compte pour participer à la conversation.
defined('_JEXEC') or die(); ?>
<?php if ($CUSTOM_FIELDS): ?>
<?php foreach ($CUSTOM_FIELDS AS $FIELD): ?>
<?php if ($FIELD->slug == 'test1') : ?>
<?php $test1_title = isset($FIELD->title) ? $FIELD->title : ''; ?>
<?php $test1_value = isset($FIELD->value) ? $FIELD->value : ''; ?>
<?php endif; ?>
<?php if ($FIELD->slug == 'test2') : ?>
<?php $test2_title = isset($FIELD->title) ? $FIELD->title : ''; ?>
<?php $test2_value = isset($FIELD->value) ? $FIELD->value : ''; ?>
<?php endif; ?>
<?php endforeach; ?>
<?php endif; ?>
// after where I wish to recall the fields
<label><?php echo $test1_title; ?></label>
<div><?php echo $test1_value; ?></div>
Connexion ou Créer un compte pour participer à la conversation.
Connexion ou Créer un compte pour participer à la conversation.
Your code seems good.but it only works if recall in my theme not Then in HTML content
Connexion ou Créer un compte pour participer à la conversation.