a-ok Posted June 22, 2017 Share Posted June 22, 2017 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? 1 Link to comment Share on other sites More sharing options...
Lance O. Posted August 13, 2019 Share Posted August 13, 2019 $pages->get(1)->url; This returns the Home page url. 1 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now