Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- http://www.hotjoomlatemplates.com/blog/joomla-template-tutorial/28-joomla-404-component-not-found-page-change
- Joomla 15:
- Buka file: templates/system/error.php
- Tambahkan kode berikut:
- if (($this->error->code) == '404') {
- echo file_get_contents('http://kabupatenkota.com/component/content/article/5-halaman-keterangan.html');
- }
- else
- {
- setelah kode ini:
- defined( '_JEXEC' ) or die( 'Restricted access' );
- pada akhir file tambahkan kode ini:
- <?php
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement