Support

Admin Tools

#18426 Customisable HTML Template not showing

Posted in ‘Admin Tools 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
Admin Tools version
n/a

Latest post by nicholas on Thursday, 05 December 2013 07:24 CST

bytekultur
 Hi, today I have tested the customisable html template on a website with admin tools. I created an html override in /htdocs/templates/tmplname/html/com_admintools/blocks/default.php and blocked my self, but there is just the unformatted text of my custom message (no html in the source code).

It seems the template is only shown for security exceptions, but not for blocks - is that right?
Thanks in advance,
Terry Harker

--- byteKultur.net

 

nicholas
Akeeba Staff
Manager
> It seems the template is only shown for security exceptions, but not for blocks - is that right?

Correct. There are two different messages possible, one for blocks and one for security exceptions. When you are blocked you are always shown the plain text message for performance and security reasons. The HTML template takes about 3x as long and 5x as much memory to show, also taking much more bandwidth to deliver the message. When someone is blocked for trying repeated hacking attempts you want to return an error message as small as you can, as fast as you can and with as less memory usage as possible to avoid them ending up crashing your server.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

bytekultur
Ok, thank you for the quick answer. It makes sense thinking of multiple attacks in a short time which then shouldn't cause the server to do hard work once we already know we don't want that "visitor".

--- byteKultur.net

 

nicholas
Akeeba Staff
Manager
You're welcome!

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

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!