I have a page that pulls from the user ID, But I cannot set a title or add script to that page.
The endpoint is the following: domain.com/customers/{id}/projects
BUT I cannot set scripts or title from the Pages.php in config folder. Currently looks like this: 'customers' => array(
'title' => 'Customers',
'layout' => array(
'page-title' => array(
'description' => true,
'breadcrumb' => false,
),
),
'projects' => array(
'title' => 'Customer Projects',
'view' => 'customers/projects',
'assets' => array(
'custom' => array(
'css' => array(
'plugins/custom/datatables/datatables.bundle.css',
),
'js' => array(
'plugins/custom/datatables/datatables.bundle.js',
),
),
),
),
'assets' => array(
'custom' => array(
'css' => array(
'plugins/custom/datatables/datatables.bundle.css',
),
'js' => array(
'plugins/custom/datatables/datatables.bundle.js',
),
),
),
),
Any suggestions why?
Hi Kenneth Flores,
Could you please try this code as config?
"customers" => array(
"title" => "Customers",
//...
"*" => array(
//...
"title" => "Customer Projects",
),
),