Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
// No direct access
defined('_JEXEC') or die;
use \Joomla\CMS\Layout\LayoutHelper;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Router\Route;

JHtml::addIncludePath(JPATH_COMPONENT . '/helpers/');
JHtml::_('bootstrap.tooltip');
Expand Down Expand Up @@ -207,6 +209,7 @@
$category_url = JRoute::_('index.php?option=com_categories&extension=' . $item->unique_identifier);
$field_group_url = JRoute::_('index.php?option=com_tjfields&view=groups&client=' . $item->unique_identifier);
$fields_url = JRoute::_('index.php?option=com_tjfields&view=fields&client=' . $item->unique_identifier . '&extension=' . $item->unique_identifier);
$conditionsUrl = Route::_('index.php?option=com_tjfields&view=conditions&client=' . $item->unique_identifier);
$type_addnew_data_url = JRoute::_('index.php?option=com_tjucm&view=item&layout=edit&client=' . $item->unique_identifier);
$type_data_url = JRoute::_('index.php?option=com_tjucm&view=items&client=' . $item->unique_identifier);

Expand Down Expand Up @@ -276,6 +279,7 @@
<a href="<?php echo $category_url; ?>"><?php echo JText::_('COM_TJUCM_TYPES_CATEGORY_URL');?></a>
&nbsp;|&nbsp;<a href="<?php echo $field_group_url; ?>"><?php echo JText::_('COM_TJUCM_TYPES_FIELD_GROUP_URL');?></a>
&nbsp;|&nbsp;<a href="<?php echo $fields_url; ?>"><?php echo JText::_('COM_TJUCM_TYPES_FIELDS_URL');?></a>
&nbsp;|&nbsp;<a href="<?php echo $conditionsUrl; ?>"><?php echo Text::_('COM_TJUCM_TYPES_CONDITIONS_URL');?></a>
<!-- &nbsp;|&nbsp;<a href="<?php echo $type_addnew_data_url; ?>"><?php echo JText::_('COM_TJUCM_TYPES_ADD_NEW_DATA_URL');?></a>
&nbsp;|&nbsp;<a href="<?php echo $type_data_url; ?>"><?php echo JText::_('COM_TJUCM_TYPES_DATA_URL');?></a> -->
</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,3 +203,4 @@ COM_TJUCM_USE_TJQUEUE_WHILE_COPY_ITEM="Use TjQueue While Copy Item"
COM_TJUCM_USE_TJQUEUE_WHILE_COPY_ITEM_DESC="Set to 'Yes' if you want to use TjQueue while copying items"
COM_TJUCM_YES="Yes"
COM_TJUCM_NO="No"
COM_TJUCM_TYPES_CONDITIONS_URL="Conditions"
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,7 @@
?>
<div class="col-xs-12 col-md-6">
<div class="form-group">
<div class="col-sm-4 control-label">
<?php echo $field->label; ?>
</div>
<div class="col-sm-8">
<?php echo $field->input; ?>
</div>
<?php echo $field->renderField(); ?>
<?php
// TODO :- Check and remove
if ($field->type == 'File')
Expand Down