a8e is a w3c compliant, open source, content management framework..

Add a login for 'not authorized...' page

(3 votes)
Written by Duvien Thursday, 29 November 2007

As you know on any website that has a user restricted page only for registered users, it is not usable for anyone when all that page does is present a message saying:

"You are not authorised to view this resource. You need to login."

without including a login box.

This happens for a8ejoomla but there is a solution to this problem and we'll show you how this can be done

To save you the hassle, download the zip file and follow the instructions.

Instructions (NOTE: This is for a8ejoomla 1.0.13)

  • Unzip the file and copy both folder to your installed a8ejoomla from the root as the unziped folder should be the same directory structure.
  • If you are concern you can copy each file and overwrite your existing files.
  • In the zip file, there should be:
    /components/mod_login/login.php
    /components/mod_login/login2.html.php
    /includes/joomla.php
  • Copy them as they are to their respective directories, keeping the directory structure the same
  • The file login2.html.php is the same as login.html.php, i've separated them in case that you might want to tweak the file to make it look different from the default one.
  • If you are running another version of a8ejoomla then you need to manually apply the hack, please read: this post
  • If you are still having some trouble, see this post
Last Updated ( Friday, 29 February 2008 )