components/com_zoo/controllers/submission.php
Kod:
if (!$this->submission->isInTrustedMode() && !in_array('_itemstate', array_keys($this->elements_config))) {
$this->item->state = 1;
}
Kod:
$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 = 1;
$this->item->searchable = true;
$this->item->getParams()
->set('config.enable_comments', true)
->set('config.primary_category', 0);
}
Na czerwono masz miejsca, w których musisz zmienić wartości na takie, jak podałem