Question About The /html Folder - Question | JoomShaper

Question About The /html Folder

PD

Peter Dowse

Template 4 days ago

Hi Guys,

This is a general question about overrides in the /html folder. In particular things in the /templates/your_template/html/com_content/article/ folder.

Often, as developers we want to create overrides in this folder, but we can't as when the template is updated, this will overide our changes.

Another issue, in particular with the manufactorer template is that line 42 in the /templates/manufacturer/html/comcontent/article/default.php throws an error because you're still using JHtml::('behavior.caption');

in the template. I comment this out to get the site working, but every time there's an update to the template, it comes back and I have to comment that line out again.

Is there any way we can avoid these types of overwrites in the future as it's becoming a real issue with development work being overwritten with template updates.

One way would be for Helix to use the child template feature brought into Joomla 4 - is there any plan on implementing this in the future?

0
1 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 4 days ago #222012

Hello Peter Dowse,

Thank you for reaching out to our technical support forum. I’m sorry to hear about the trouble you’re experiencing.

Sadly, there is no current way to stop this. We might or might not introduce child template in the future. But I will ask the template team to update template and remove the deprecated line. Then it will not be updated again.

Best regards

0