Eliminada carpeta backend en themes, añadidos breadcrumbs

This commit is contained in:
imnavajas
2024-05-08 13:21:39 +02:00
parent 74876bd774
commit 071ef874cc
194 changed files with 182 additions and 418 deletions

View File

@ -13,20 +13,27 @@ class Ajustes extends BaseResourceController
protected static $controllerSlug = 'settings';
protected static $viewPath = 'themes/backend/vuexy/form/settings/';
protected static $viewPath = 'themes/vuexy/form/settings/';
protected static string $formViewName = 'settingsForm';
protected static $singularObjectName = 'settings';
protected static $singularObjectNameCc = 'settings';
protected $indexRoute = 'settingForm';
protected $indexRoute = 'ajustesList';
public function initController(\CodeIgniter\HTTP\RequestInterface $request, \CodeIgniter\HTTP\ResponseInterface $response, \Psr\Log\LoggerInterface $logger)
{
$this->viewData['pageTitle'] = lang('Provincias.moduleTitle');
$this->viewData['usingSweetAlert'] = true;
// Breadcrumbs (IMN)
$this->viewData['breadcrumb'] = [
['title' => lang("App.menu_configuration"), 'route' => "javascript:void(0);", 'active' => false],
['title' => lang("App.menu_settings"), 'route' => route_to('ajustesList'), 'active' => true]
];
parent::initController($request, $response, $logger);
}