Hi Sergey and others.
Is it possible import records with composite title type?
When I trying to import such records as a result I get 0 imported records.
In source code of import controller I see next code:
components\com_cobalt\controllers\import.php
if(!$row->get($params->get('field.title')))
{
continue;
}
but this field exists in the params form only when title type is simple(properties.item_title == 1):
components/com_cobalt/views/import/tmpl/params.php
<?php if($this->type->params->get('properties.item_title') == 1): ?>
<div class="control-group">
<label class="control-label" for="name"><?php echo JText::_('CTITLE');?>
<span class="pull-right" rel="tooltip" data-original-title="<?php echo JText::_('CREQUIRED') ?>">
<?php echo HTMLFormatHelper::icon('asterisk-small.png'); ?></span>
</label>
<div class="controls">
<div class="row-fluid">
<?php echo $this->fieldlist('title', $this->item->params->get('field.title'));?>
</div>
</div>
</div>
<?php endif;?>
so all my records are skipped.
please advice.
Hi Sergey and others.
Is it possible import records with composite title type? When I trying to import such records as a result I get 0 imported records. In source code of import controller I see next code: components\com_cobalt\controllers\import.php
but this field exists in the params form only when title type is simple(properties.item_title == 1): components/com_cobalt/views/import/tmpl/params.php
so all my records are skipped. please advice.