You are not authorized to ... You need to login - How to make a link of "Login" - Joomla! Forum - community, help and support


i sure topic came before, searching items such "login" excercise in futility on forum or on google.
what i'd change default text:
you not authorized view resource.
you need login.

with having link login page facilitate process existing members.
even better have entire login form show well.

is there solution this? have figured out how add link (create login page first , place link there) , enclosed text inside couple of divs allow me style layout of message in more attractive way, if there solution out there nice know don't reinvent wheel.

thank you

@corrado444

in file includes/joomla.php find around line 5550 following code:

code: select all

/**
* displays not authorised message
*
* if user not logged in addition message displayed.
*/
function mosnotauth() {
   global $my;

   echo _not_auth;
   if ($my->id < 1) {
      echo "<br />" . _do_login;
   }
}


if want add link message, here. aware hack core file, , when upgrade joomla again, file may replaced , have hack again.

i hope wanted, , helps solve problem.

alex ...

alex ...





Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62