Jump to content

Localised root URL (when using multi-languages)


Recommended Posts

May be a dumb question in the end but I normally use `$config->urls->root;` when creating a 'return to homepage' link but what do I do when I'm using multi-language? I thought `$user->language->root;` but this seems to return the current page (albeit localised).

Any thoughts?


  • Like 1
Link to comment
Share on other sites

  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...