kater Posted August 17, 2015 Posted August 17, 2015 Hi, Maybe someone can point me to the possible problem. a simple: $pages->find("template=event, teaser=1") will find only 1 page of 4 when current user language is non default (en). All pages are multi-language. no permissions set. ProcessWire 2.6.13 dev However, i imported several ten thousand pages (current assets: ca. 3800 pages) and deleted them using batcher (delete rather than trash) for testing purposes. thanks.
tpr Posted August 17, 2015 Posted August 17, 2015 Are you sure all those missing pages are active (I mean their non-English versions)? (check the Active checkbox on the Settings tab of pages under the Name field) 1
kater Posted August 17, 2015 Author Posted August 17, 2015 OMG. i missed that. Thanks alot. Now i need a tip how to grow hair again. Thanks tpr. *Edit* Now that i know the problem there's a solution for importing multi-language pages via API: https://processwire.com/talk/topic/4383-how-to-set-language-active-via-api/
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