× Support for Joomla 2.5 templates is discontinued. This forum category is read-only.

Editing error.php file!

More
6 years 5 months ago #2934 by begovic.malik
begovic.malik created the topic: Editing error.php file!
Hello,

I bought JM-HCT-Pharmacy template! I need one thin.. need to edit error.php file and make my custom offline.php page. I am interested where can I found default error messages so that I can translate them to my language?. Beside this, is there any example for offline page that I can use?

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #2936 by marcin
marcin replied the topic: Re: Editing error.php file!
Hello,

First of all, you don't have to translate error messages, just install your language package for Joomla and that's it.
The JM-HCT-Pharmacy uses the custom error page which is located in the template directory (error.php). For offline messages the template uses the default offline page which is located in "templates/system/", you can copy the offline.php file into your template directory and modify this file to create your custom offline page.

Regards,
Marcin

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #2941 by begovic.malik
begovic.malik replied the topic: Re: Editing error.php file!
Thank you for your fast reply.

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #2948 by begovic.malik
begovic.malik replied the topic: Re: Editing error.php file!
I have just one question about error.php file. Whether this file always show 404 text whenever it starts, or it will display other errors like 400, 500, 403.... when they occurred!?

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #2957 by marcin
marcin replied the topic: Re: Editing error.php file!
Hello,

This is a custom 404 error page.

Regards,
Marcin

Please Log in or Create an account to join the conversation.

Time to create page: 0.239 seconds

INDICO S.C.

ul. Wałowa 10/3, 84-200 Wejherowo, registered in Centralna Ewidencja i Informacja o Działalnosci Gospodarczej
NIP/VATID: PL5882424318

Copyright © 2009-2019 Joomla-Monster.com All rights reserved.

Joomla-Monster.com and this site is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.