bbeer Posted February 14, 2014 Share Posted February 14, 2014 Hi I need to hide a couple id's from a page listing $angebote = $pages->find("template=travelCat, sort=sort"); Is it possible to filter a couple of ID's from this list, wich are having the same template? I can't set them to hidden because I need them on another place displayed. Thanks. Link to comment Share on other sites More sharing options...
diogo Posted February 14, 2014 Share Posted February 14, 2014 $angebote = $pages->find("template=travelCat, id!=123|156|736, sort=sort"); 2 Link to comment Share on other sites More sharing options...
bbeer Posted February 14, 2014 Author Share Posted February 14, 2014 diogo Thanks a lot!! Link to comment Share on other sites More sharing options...
kongondo Posted February 14, 2014 Share Posted February 14, 2014 This is always useful...http://processwire.com/api/selectors/ 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