Support

Akeeba Ticket System

#21158 Overriding the New Ticket layout

Posted in ‘Akeeba Ticket System for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Ticket System version
n/a

Latest post by user77362 on Monday, 20 October 2014 07:29 CDT

user77362
hi there,

i'm in the proccess of overriding the front-end layout via the normal joomla overriding (template->mytemplate->html->etc...).

all is going great but 1 problem: i can't seem to override the 'new ticket' form.
what i want to do is diaply the H1 title in any case.

i modified this file:
/templates/mytemplate/html/com_ats/newticket/form.php

i replaced the H1 php block with a simple php code to echo a joomla language string.
screenshot of the code is attached (1.png)

the title shoud apear just above the 'new ticket' form, the same place where it's originaly located in ATS files.
the thing is, there's not even an H1 in the source code of the page. screen shot of the sourcecode attached (2.png).

i also tried inserting the new code in the original file, on:
/components/com_ats/views/newticket/tmpl/form.php

pleas advice, as i must be missing something... all the other overrides work perfectly, and this one (that does not work) is implemented in the exact same way.

thanks a lot in advance
Yorai

tampe125
Akeeba Staff
Hello Yorai,

I just run some tests and template overrides are working fine inside the newticket page, too.
Can you please double check if you copied the template override in the correct place?
Are you using more than one template on your site?
Finally, instead of using JText, can you please try to directly write some dummy text?

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user77362
Hello tempe,
apologize for the late response.
this issue have been resolved, i will now close this ticket.
thanks again
yorai

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

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!