Custom Joomla 1.5 404 Condition


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <?php if ($this->error->code = '404') { ?>
  2. <div id="errorboxheader">Page not found</div>
  3. <div id="errorboxbody"><p>Sorry! That page cannot be found.</p>
  4. </div>
  5. </div>
  6. <?php } ?>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.