Jump to content

Search the Community

Showing results for tags 'selectors arrays find'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to ProcessWire
    • News & Announcements
    • Showcase
    • Wishlist & Roadmap
  • Community Support
    • Getting Started
    • Tutorials
    • FAQs
    • General Support
    • API & Templates
    • Modules/Plugins
    • Themes and Profiles
    • Multi-Language Support
    • Security
    • Jobs
  • Off Topic
    • Pub
    • Dev Talk

Product Groups

  • Form Builder
  • ProFields
  • ProCache
  • ProMailer
  • Login Register Pro
  • ProDrafts
  • ListerPro
  • ProDevTools
  • Likes
  • Custom Development

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Hi everyone, I'm using the ProcessBlog module successfully and adding a nice pagination with MarkupPager. All very successful thanks to pointers from the forums here! However, when generating the category pages I can't find a way to use $page->find with a selector for the blog categories. The categories for an individual post are within an array of categories called 'blog_categories'. What should the $page->find construct look like if the categories are within $child->blog_categories? I've tried a few possibilities including this with no luck: Each page has the same name as the category (e.g. 'Events') $posts = $pages->find("template=blog-post, limit=6, blog_categories%=$page->title"); And this: $posts = $pages->find("template=blog-post, limit=6, blog_categories.title%=$page->title"); Any ideas? Is this even possible? All contributions gratefully received!
×
×
  • Create New...