Labels |
Added:
No Code Attached Yet
|
First screenshot is from the template code view. The second is from the template style view
Ok, so,
joomla-cms/administrator/components/com_templates/src/Model/TemplateModel.php
Lines 401 to 403 in 40eff93
should be
$lang->load('tpl_' . $template->element, $client->path)
|| (!empty($template->xmldata->parent) && $lang->load('tpl_' . $template->xmldata->parent, $client->path))
|| $lang->load('tpl_' . $template->element, $client->path . '/templates/' . $template->element)
|| (!empty($template->xmldata->parent) && $lang->load('tpl_' . $template->xmldata->parent, $client->path . '/templates/' . $template->xmldata->parent));
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-12-05 17:09:32 |
Closed_By | ⇒ | brianteeman |
@brianteeman the code is loading the parent language file (unless you override them locally in the child), what I mean is that they should follow the general inheritance model of all the other files. The code that deals with it is (per model):
joomla-cms/administrator/components/com_templates/src/Model/StyleModel.php
Lines 420 to 425 in 40eff93
What's the URL for this screenshot?