bbeer Posted February 14, 2014 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.
diogo Posted February 14, 2014 Posted February 14, 2014 $angebote = $pages->find("template=travelCat, id!=123|156|736, sort=sort"); 2
kongondo Posted February 14, 2014 Posted February 14, 2014 This is always useful...http://processwire.com/api/selectors/
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