blynx Posted August 29, 2014 Posted August 29, 2014 Hi! I couldn't find an answer to this, so far - hope this question is not too trivial ... I am building a simple portfolio site and use categories like so: I retrieve the categorized pages via $pages->find("project_categories=$thisCatTitle") Where project_categories is a single-page-page-field and $thisCatTitle are the titles of all the categories there are I get via $pages->get("name=categories")->children And it gets all the pages wich are filed under categories like "123abc, abc123 or abc" ... but not the pages with numeric-only "123, 2010, 2011"-titled/named categories. So, I guess numeric titles are treated differently somehow, but why? How can I get my numeric-titled-category-pages with this method? Otherwise I have to think about another approach. It would be nice if someone could help me out or enlighten me a bit here - Thanks! (And thanks for that so far pretty amazing cms!) -steffen
WillyC Posted August 29, 2014 Posted August 29, 2014 project_categories defalt referer to ID mabe.u meandet project_categories.title=123 or project_categories.name ? 4
blynx Posted August 29, 2014 Author Posted August 29, 2014 yup, thanks! $pagesOfCat = $pages->find("project_categories.title=$thisCatTitle"); does it.
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