Jump to content

Search the Community

Showing results for tags 'finding pages'.

  • 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 How can I seperate pages whose title contains a certain string from an array of pages? So with $results = $pages->find("template=template_name"); I get an array of all the pages. Now I should like to extract only the pages that contain the string 'Nr. 7' in the title. How can I do this? Is there a direct way with strpos()? EDIT: Found the solution: $tickets = array(); foreach ($results as $result){ if (strpos($result->title, 'Nr. 7') !== false){ $tickets[] = $result; } }
×
×
  • Create New...