Error Module
Inštalácia, úpravy a odinštalovanie modulu Error.
Stránka: 2/2
Installation
Installation of this module is very simple. Module does not take to your database, so you need not do a backup of your database. Probably, you have not got a module called “Error”, so no files will be overwrite.
- Upload all files from html directory to root directory of your PHP/UNITED-NUKE.
- Open the file ".htaccess", which is in htaccess directory and modify it so to store a address to your PHP/UNITED-NUKE.
For example:
ErrorDocument 404 http://www.YOURDOMAIN.TLD/modules.php?name=Error&op=chyba&id=404
Change to:
ErrorDocument 404 http://www.webaddress.com/nukedir/modules.php?name=Error&op=chyba&id=404
(It has to be in one line!)
- Copy all files from htaccess directory to root directory of your PHP/UNITED-NUKE.
- Login as administrator and activate Error module for all visitors.
- Install is done!
- We recommended trying just now installed module typing non-existing address.
Modifications
Module is not customized for multi-languages sites, but you can modify the text which is show when the HTTP error 404 appears. Open modules/Error/index.php file, and in line 44 a 45 you can find text, which will be appears. You can customize this text. If you do not want to show buttons back, reload and forward in the bottom of the page, please comment line 47:
Change: Spodok();
To: //Spodok();
If you want to change page title, change text in line 57 for example to this:
Change: $pagetitle = " Chyba číslo ".$id; To: $pagetitle = " Error number ".$id;
WARNING!
DEMO license of the module do not give you any rights to change whichever other text like copyrights and so on!
Uninstall This module did not do any hits to your database, so it is enough to delete the Error module and .htaccess file in root directory of your PHP/UNITED-NUKE system.
Predchádzajúca stránka (1/2)
Copyright © portál Recenzie programov Všetky práva vyhradené
Publikované: 22.02. 2006 (1899 čitateľov)
[ Späť ]
|