#35311 – Can't override templates

Posted in ‘Akeeba Ticket System’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Friday, 28 May 2021 08:22 CDT
jfquestiaux

I'm trying to override a front-end layout, following the instructions in the documentation.

I copied components/com_ats/tmpl/NewTickets/form.blade.php into templates/my_template/media/com_ats/html/form.blade.php but nothing happens.

 

Custom Fields

Joomla! version (in x.y.z format) 3.9.27
PHP version (in x.y.z format) 7.4.16
Akeeba Ticket System version (x.y.z format) 4.0.2

Joomla! Web Agency : Better Web
SEO, performances improvements, custom web applications, AMP pages, migrations,...

Friday, 28 May 2021 09:01 CDT
tampe125

Hello,

you're almost there: the correct path is

templates/my_template/media/com_ats/html/NewTickets/form.blade.php



Davide Tampellini

Developer and Support Staff



Italian: native

English: good



Please keep in mind my timezone and cultural differences when reading my replies. Thank you!



Friday, 28 May 2021 10:23 CDT
jfquestiaux

Well sorry to disagree but it's not what it is written in the doc:

You will find the view template files inside the components/com_ats/tmpl/ViewName folder where ViewName is the name of the view. These files need to be copied to templates/mytemplate/media/com_ats/html/ViewName.

And your suggestion does not work either.

Joomla! Web Agency : Better Web
SEO, performances improvements, custom web applications, AMP pages, migrations,...

Saturday, 29 May 2021 02:41 CDT
tampe125

Template overrides are working fine, please check the attachments. Double check that the path on the template folder is the correct one, I have attached a screenshot to it, too.



Davide Tampellini

Developer and Support Staff



Italian: native

English: good



Please keep in mind my timezone and cultural differences when reading my replies. Thank you!



Thursday, 03 June 2021 01:44 CDT
jfquestiaux

Hi.

Soory for the delay but I was working on another project.

Well, yes, it works using the usual override path in J! but the doc was giving another information :

"Please note that Akeeba Ticket System is using the updated view template locations introduced with Joomla 4, even when used on older Joomla versions (it has its own compatibility layer)."

So maybe there is something wrong with the compatibility layer.

In any case, it's working now, so thank you.

 

Joomla! Web Agency : Better Web
SEO, performances improvements, custom web applications, AMP pages, migrations,...

This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.

Support Information

Working hours: Typically we work Monday to Friday, 9am to 7pm Cyprus timezone (EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets, but we cannot respond to them, outside of our working hours.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!