Labels |
Added:
?
|
The only usage I could see is adding in the tmpl as translatable (as Note is not).
<span class="small break-word">
<?php if ($item->note) : ?>
<?php echo JText::sprintf('JGLOBAL_LIST_NOTE', $this->escape($item->note)); ?>
<?php endif; ?>
</span>
<?php if ($item->description) : ?>
<div class="small">
<?php echo JText::_($this->escape($item->description)); ?>
</div>
<?php endif; ?>
to get something like
when the description is a lang string constant and we do have that string in the language.
For above:
string:
COM_CONTENT_FIELDS_ARTICLE_DESC="Description du champ"
Yes, it´s the tooltip of the field
Nope. I am talking about the Field Group Fieldset
and not the field.
if (!$description)
{
$key = strtoupper($component . '_FIELDS_' . $section . '_DESC');
if ($lang->hasKey($key))
{
$description = $key;
}
}
Yes i edited my reply immediately when i saw it, can you recheck my post above?
Ah... Well hidden feature... Closing.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-03-06 09:14:43 |
Closed_By | ⇒ | infograf768 |
Yes, it´s like an intro above the fields