0
Welcome Guest! Login
0 items Join Now

SOLVED Where is this line of code in the templates?

  • SOLVED Where is this line of code in the templates?

    Posted 17 years 6 months ago
    • In Joomla, when you set sections of your site to be restricted to registered members only... and someone goes to the page where the restricted content is, they get a message that says:
      You are not authorised to view this resource.
      You need to login.

      What i'm trying to find out is what .php file in Joomla has this line of code for this specific text to be displayed?

      I'm trying to find it - so I can simply replace the text with something else more fitting to my site.

      Thank you in advance to the one who can help me ;)

      Warmest Regards,
      Chris
    • Last Edit: 17 years 6 months ago by Christopher.
    • Yves's Avatar
    • Yves
    • Preeminent Rocketeer
    • Posts: 9214
    • Thanks: 5

    Re: SOLVED Where is this line of code in the templates?

    Posted 17 years 6 months ago
    • You find this in language/english.php
      DEFINE('_NOT_AUTH','You are not authorised to view this resource.');
      DEFINE('_DO_LOGIN','You need to login.');
    • Yves
  • Re: SOLVED Where is this line of code in the templates?

    Posted 17 years 6 months ago
    • I would have never found that!

      You're a GOD! THanks!
    • Yves's Avatar
    • Yves
    • Preeminent Rocketeer
    • Posts: 9214
    • Thanks: 5

    Re: SOLVED Where is this line of code in the templates?

    Posted 17 years 6 months ago
    • Christopher wrote:
      You're a GOD!

      Oh, my God! ::)
    • Yves
    • Robert D. Wagers's Avatar
    • Robert D. Wagers
    • Elite Rocketeer
    • Posts: 1545
    • Thanks: 0
    • Full-Time Cancer Fighter!

    Re: SOLVED Where is this line of code in the templates?

    Posted 17 years 6 months ago
    • Nice one Yves... I was actually curious about that one as well and was in the process of looking for it when i got the notification that you answered it.

      That's a question that doesn't come up very often for sure!

      Wage
    • "Everyone has to get knocked-down every once-in-a-while, otherwise you'll never learn how to get-back-up! "
      A quote attributed to my Grandpa Wagers
    • Yves's Avatar
    • Yves
    • Preeminent Rocketeer
    • Posts: 9214
    • Thanks: 5

    Re: SOLVED Where is this line of code in the templates?

    Posted 17 years 6 months ago
    • As I use french versions of Joomla, I have often to dig into languages files, hence I knew where to look at.
    • Yves

Time to create page: 0.058 seconds