Jump to content

pages->find("some_pagefield=$title") doesnt find pages with numeric-only titles?


blynx
 Share

Recommended Posts

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:

post-2628-0-04675400-1409338244_thumb.pn

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

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...