All results for “find”

Search results summary

  • API

  • users($selector = '') function

    Get, find or save users ($users API variable as a function)

  • permissions($selector = '') function

    Get, find or save permissions ($permissions API variable as a function)

  • roles($selector = '') function

    Get, find or save roles ($roles API variable as a function)

  • Selector module

    Build a page finding selector visually.

  • Lister module

    Admin tool for finding and listing pages by any property.

  • $files->find(string $path, array $options = []) apivar.method

    Find all files in the given $path recursively, and return a flat array of all found filenames

  • $modules->findByPrefix(string $prefix, $load = false) apivar.method

    Find modules matching the given prefix (i.e. “Inputfield”)

  • $modules->findByInfo($selector, $load = false) apivar.method

    Find modules by matching a property or properties in their module info

  • $fields->findByTag(string $tag, bool $getFieldNames = false) apivar.method

    Return all fields that have the given $tag

  • $pages->find($selector, $options = []) apivar.method

    Given a Selector string, return the Page objects that match in a PageArray.

  • $pages->findOne($selector, $options = []) apivar.method

    Like find() but returns only the first match as a Page object (not PageArray).

  • $pages->findMany($selector, array $options = []) apivar.method

    Like find(), but with “lazy loading” to support giant result sets without running out of memory.

  • $pages->findIDs($selector, $options = []) apivar.method

    Like $pages->find() except returns array of IDs rather than Page objects.

  • $pages->found(PageArray $pages, array $details) apivar.method

    Hook called at the end of a $pages->find(), includes extra info not seen in the resulting PageArray

  • find($selector) apivar.method

    Return the permissions(s) matching the the given selector query.

  • find($selector) apivar.method

    Return the Role(s) matching the the given selector.

  • find($selector) apivar.method

    Return the User(s) matching the the given selector query.

  • $page->find($selector = '', array $options = []) apivar.method

    Find descendant pages matching given selector

  • $page->findOne($selector = '', array $options = []) apivar.method

    Find one descendant page matching given selector

  • $page->closest($selector) apivar.method

    Find the closest parent page matching your selector

  • descendants($selector = '', array $options = array() apivar.method

    ) Find descendant pages, alias of `Page::find()`, see that method for details. @since 3.0.116

  • descendant($selector = '', array $options = array() apivar.method

    ) Find one descendant page, alias of `Page::findOne()`, see that method for details. @since 3.0.116

  • WireArray::findRandom(int $num) function.method

    Find a specified quantity of random elements from this WireArray.

  • WireArray::findRandomTimed(int $num, $seed = 'Ymd') function.method

    Find a quantity of random elements from this WireArray based on a timed interval (or user provided seed).

  • WireArray::find($selector) function.method

    Find all items in this WireArray that match the given selector.

  • 23+ more
  • Modules

  • RockFinder 3rd party module

    Highly Efficient and Flexible SQL Finder Module

  • FieldtypePagesSelectorQuery 3rd party module

    This module allows you to defined a Pages selector query ($pages>find()) as a field and attach it to a template. The results of the query (PageArray) are accessed like any other page field, $page->myQuery

  • Visual Page Selector 3rd party module

    Ajax-driven visual page selector for ProcessWire tailored for power users who manage lots of pages, need to know what those pages contain as well as those who use a 'one-page-per-image' approach to manage and reuse images across their site. Visual Page Selector is an enhanced Inputfield for ProcessWire page fields that enables the addition/removal of pages to a page field in a 'visual manner'. It can easily handle unlimited numbers of a page field's selectable pages as these are not loaded directly to the Inputfield. Pages are added to the inputfield via a ProcessWire Lister interface allowing you to find that last bit of information about a selectable page prior to adding it to your page field. For sites those that use a 'one-page-per-image' approach, Visual Page Selector provides thumbnail representation of those 'image pages', allowing for a powerful, rich editing experience.

  • Media Manager 3rd party module

    Powerful centralised media management plugin enabling editors to infinitely reuse media - audio, document, image and video - across a site. Allows to easily find, edit and use any media in your Media Library. Intuitive user-interface with a neat set of features under the hood giving you absolute control on how to deploy your media.

  • Batcher 3rd party module by Wanze

    Batch-editing and creating of pages in the ProcessWire Admin Panel. Editing: Find pages by selector and publish/unpublish, hide/unhide, lock/unlock, trash, delete, change parent or change template. Creating: Define title, name, template, published, hidden, locked

  • Autodetect Language 3rd party module by Pierre-Luc Auclair

    Finds a best match between visitor's language and redirects automatically.

  • Blog

  • ProcessWire 3.0.25 and 2.8.25 bring enhanced page finding selectors 4 years ago

    This week we've got a pretty major upgrade to our page finding selectors that we think you will find useful in a lot of cases! Now you can accomplish much more with less, and this really brings our selectors to the next level.

  • General

  • Troubleshoot Docs

    If you’ve run into an issue during installation or upgrade of ProcessWire, find out how to fix it here.

  • Template files Docs

    Every time a page is loaded on your site, ProcessWire loads its template file, gives it content, and then runs it as a PHP script. This section covers the use of template files and serves as an introduction to using ProcessWire’s API.

  • $page Docs

    The $page variable is provided to every template, and it contains all the fields specific to the page being viewed. This includes both built-in fields, which are common to all pages, as well as the custom fields.

  • $pages Docs

    While the $page variable holds the current page, the $pages variable is where you can get at all the other pages in your site. It includes functions for getting, finding, saving and deleting pages.

  • $input Docs

    The $input variable is your connection to GET, POST and COOKIE variables, URL segments, page (pagination) numbers, and more.

  • Selectors Docs

    Selectors are simple strings of text that specify fields and values. These selectors are used throughout ProcessWire to find pages (and other types of data).

  • Using hooks Docs

    ProcessWire contains many methods that you may easily hook in order to modify the behavior of the method. Hooks can also be used to add new methods to existing classes.

  • ProcessWire API Explorer Shop

    A comprehensive ProcessWire reference that’s always up-to-date, easy-to-use and ready when you are. Part of the ProDevTools set of commercial modules.

  • FormBuilder Shop

    Whether you need a large registration form or just a simple contact form, ProcessWire Form Builder helps you get the job done quickly and easily. It’s the ultimate tool for building and processing forms in ProcessWire.

  • ListerPro Shop

    ListerPro is an amazing page listing and editing tool for the ProcessWire admin that enables you to find, filter, list, sort and even edit/manipulate pages (individually or in bulk) based on any of their properties.

  • Pagination Docs

    This module renders navigation for pagination. Such navigation usually appears as a list of "1, 2, 3, next…" links at the bottom of search results.

  • Multi-site support Docs

    Multiple-site support implies running multiple web sites at independent domains or subdomains from the same ProcessWire installation and web hosting account.

  • ProCache Shop

    ProcessWire ProCache bypasses PHP and MySQL and enables your web server to deliver pages at the speed of static HTML. ProCache also includes CDN support, minification of HTML, CSS, JS, and many more optimizations.

  • ProCache CDN Integration Shop

    Using ProCache with a CDN can drastically reduce the server’s overhead and bandwidth in delivering assets, while also greatly improving the speed at which they are delivered to end-users.

  • ProDrafts Shop

    ProDrafts enables you to easily maintain separate draft and live versions of any page in ProcessWire. It also provides automatic-save capability, live preview (preview as you type), group workflow functions and more!

  • AutoLinks Shop

    This Textformatter module automatically links your specified phrases/words to your specified URLs. This is an excellent SEO and accessibility tool for creating automatic contextual links with little effort.

  • Multiplier Shop

    This Fieldtype and Inputfield combination lets you take almost any existing single-value Fieldtype, and use it to a multi-value Fieldtype.

  • Repeater Matrix Shop

    ProcessWire ProFields now includes the new Repeater Matrix, perhaps the most powerful ProField yet! Repeater Matrix fields enable flexible content types and open the door to all kinds of great content management possibilities.

  • ProcessWire ProfilerPro Shop

    ProfilerPro is a tool and service for ProcessWire that helps you take performance to the next level by profiling and reporting on all the important events in ProcessWire. Part of the ProDevTools set of commercial modules.

  • Select options Docs

    The Options Fieldtype provides single and multi choice selectable options in ProcessWire, as an alternative to using Page fields.

  • Module development Docs

    It is easy to develop a module in ProcessWire, though some PHP experience is helpful. This section introduces module development and guides you through a simple example to get you started.

  • About the API Docs

    What the API is, why we think you'll like it, and how it makes ProcessWire a unique platform in the CMS landscape.

  • Images Docs

    This page outlines using and manipulating image fields — one of the most commonly used in ProcessWire.

  • Repeaters Docs

    The repeater fieldtype enables you to create a group of fields and make it repeatable in any quantity on your page. This opens many new possibilities with how you might manage and structure data.

  • Permissions Docs

    Permissions represent a granular permission to access something or to perform some action. This page outlines permissions recognized by the core.

  • 24+ more
  • Forums

Twitter updates

  • ProcessWire 3.0.153 (dev) focuses on comments field updates, significant refactoring/improvements to ProcessWire’s core Template class and PagesLoader class (which is used by the pages API variable), and we introduce a useful new pages API method— More
    20 March 2020
  • ProcessWire 3.0.152 core updates— This week we have some major improvements to our core date/time Inputfield, as well as a new ability to specify your own custom classes for Page objects— More
    6 March 2020
  • This week we’ve got a couple of really useful API-side improvements to the core in 3.0.151, including predefined image settings and static language translation improvements— More
    21 February 2020

Latest news

  • ProcessWire Weekly #307
    In the 307th issue of ProcessWire Weekly we're going to check out the latest dev branch updates, introduce some new third party modules, and more. Read on!
    Weekly.pw / 28 March 2020
  • ProcessWire 3.0.153 core updates
    This latest version of the core on the dev branch focuses on comments field updates, significant refactoring/improvements to ProcessWire’s core Template class and PagesLoader class (which is used by the $pages API variable), and we introduce a useful new $pages API method.
    Blog / 20 March 2020
  • Subscribe to weekly ProcessWire news

I just love the easy and intuitive ProcessWire API. ProcessWire rocks!” —Jens Martsch, Web developer