Skip to content

Commit

Permalink
Display fielg group label when editing a group
Browse files Browse the repository at this point in the history
  • Loading branch information
laoneo committed Aug 31, 2016
1 parent 268ec0f commit 1331332
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,11 @@ protected function addToolbar()
$lang->load($component, JPATH_BASE, null, false, true)
|| $lang->load($component, JPATH_ADMINISTRATOR . '/components/' . $component, null, false, true);

if (end($parts) == 'fields')
{
$lang->load('com_fields', JPATH_BASE, null, false, true);
}

// Load the category helper.
JLoader::register('CategoriesHelper', JPATH_ADMINISTRATOR . '/components/com_categories/helpers/categories.php');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
<?php echo $this->form->renderField('required'); ?>
<?php echo $this->form->renderField('default_value'); ?>

// rendering additional fields
<?php foreach ($this->form->getFieldsets('fieldparams') as $name => $fieldSet) : ?>
<?php foreach ($this->form->getFieldset($name) as $field) : ?>
<?php echo $field->renderField(); ?>
Expand Down
1 change: 1 addition & 0 deletions administrator/language/en-GB/en-GB.com_fields.ini
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,4 @@ COM_FIELDS_N_ITEMS_UPDATED="%d fields successfully updated in calendar %s"
JGLOBAL_TYPE_OR_SELECT_CATEGORY="Type or select a Group"
JGLOBAL_ADD_CUSTOM_CATEGORY="Add new Group "
JLIB_HTML_BATCH_MENU_LABEL="To Move or Copy your selection please select a Group."
JCATEGORY="Field Group"

0 comments on commit 1331332

Please sign in to comment.