nabo Posted July 5, 2019 Share Posted July 5, 2019 Hello I have a page that is called "Uno" in default language (italian) and "One" as English version, and parent is "Servizi" ("Services" in English). I need to get this page using path... so $pages->find('path=/it/servizi/uno') but I think this is equivalent to $pages->find("path=/servizi/uno") the problem is that I want to get this page using the solely the language path because this case always return the page... and it's not what I want $pages->find("path=/it/services/uno") $pages->find("path=/it/servizi/one") $pages->find("path=/en/servizi/one") $pages->find("path=/en/services/uno") is there a way? Link to comment Share on other sites More sharing options...
Zeka Posted July 5, 2019 Share Posted July 5, 2019 https://processwire.com/api/ref/pages/get-by-path/ 2 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