Я решила эту проблему так.
В файле \media\zoo\elements\itemfrontpage\itemfrontpage.php
именила код
public function renderSubmission($params = array()) {
$frontpage = isset($this->_frontpage)? $this->_frontpage : in_array(0, $this->_item->getRelatedCategoryIds());
return $this->app->html->_('select.booleanlist', $this->getControlName('value'), null, $frontpage);
}
на
public function renderSubmission($params = array()) {
$frontpage = isset($this->_frontpage)? $this->_frontpage : in_array(0, $this->_item->getRelatedCategoryIds());
return $this->app->html->_('select.booleanlist', $this->getControlName('value'), null, $frontpage = '1');
}
Потом в каждом шаблоне подачи разместила элемент itemfrontpage и в CSS прописала
.element.element-itemfrontpage {
display: none;
}
Получилось что по умолчанию в элементе установлено значение "да", и пользователь этого поля не видит.
Еще я подозреваю, что это моэно сделать в файле \components\com_zoo\controllers\submission.php в части кода
// get item
if (!$this->item_id || !($this->item = $this->app->table->item->get($this->item_id))) {
$now = $this->app->date->create()->toSQL();
$this->item = $this->app->object->create('Item');
$this->item->application_id = $this->application->id;
$this->item->type = $this->type->id;
$this->item->publish_up = $now;
$this->item->publish_down = $this->app->database->getNullDate();
$this->item->access = $this->app->joomla->getDefaultAccess();
$this->item->created = $now;
$this->item->created_by = $this->user->get('id');
$this->item->created_by_alias = '';
$this->item->state = 0;
$this->item->searchable = true;
$this->item->getParams()
->set('config.enable_comments', true)
->set('config.primary_category', 0);
}
Я здесь поменяла ->set('config.enable_comments', true) на ->set('config.enable_comments', 0), и у меня при сохранении подачи получилась снятой птичка Комментарии.
Полагаю, что можно и другие значения поменять....