About Selector Test

User Favorite Module

This module creates a page in the ProcessWire admin where you can test selectors without editing a template file or a bootstrapped script.

Category 1Admin Helpers
Admin helper modules are those that provide helpful tools, UI enhancements or optimizations to the admin panel (excluding Fieldtype or Inputfield modules).
Category 2Development Tools
Modules that have more to do with assisting development of a site rather than managing its content.
Category 3Process Modules
Process modules are apps that run in the ProcessWire admin.
Release StateStable
Should be safe for use in production environments. *
Authornik
Module Version1.1.3
Class NameProcessSelectorTest
Compatibility2.2, 2.3, 2.4
Date AddedSeptember 23, 2012
Recommended ByNew recommendations may take up to 1 day to appear.

Details

Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4

Instructions

This module's files should be placed in /site/modules/ProcessSelectorTest/
How to install or uninstall modules

README

SelectorTest Process Module

This module creates a page in the ProcessWire admin where you can test and buildselectors without editing a template file or a bootstrapped script.

Features

  • Edit selector string and display results (and possible errors as reported by ProcessWire)
  • Explore properties and data of matching pages in a tree view
    • Language aware: multi-language and language-alternate fields supported
    • Repeater fields and values
    • Images and their variations on disk
    • More data is loaded on-demand as the tree is traversed deeper
  • See page permissions for the chosen role
  • Quick links to edit/view pages, edit templates and run new selectors (select pages with the same template or children of a page)
  • Page statuses visualized like in default admin theme
  • Add pagination

Changelog

1.13 / 2013-09-20

  • Fixed: multi-lingual titles are now displayed correctly and page name is used as a fallback in case of empty/undefined title.
  • Added: page permissions are shown for the chosen role

1.12 / 2013-05-02

  • Fixed: Single page fields are now handled correctly.

1.11 / 2013-02-07

  • Added: all field and template data shown + cached at template level
  • Added: fields inside a fieldset are wrapped into a new subtree (page data only - fields inside a template are in a flat list)

1.1 / 2012-11-10

  • Explore properties and data of matching pages in a tree view
    • Language aware: multi-language and language-alternate fields supported
    • Repeater fields and values
    • Images and their variations on disk
    • More data is loaded on-demand as the tree is traversed deeper
  • Quick links to edit/view pages, edit templates and run new selectors (select pages with the same template or children of a page)
  • Page statuses visualized like in default admin theme

1.0 / 2012-09-23

  • Initial release
  • Edit selector string and display results (and possible errors as reported by ProcessWire)
  • Add pagination

SelectorTest Copyright 2012, 2013 Niklas Lakanen

jqTree (https://github.com/mbraak/jqTree) Copyright 2012 Marco Braak

Comments

No comments yet. Be the first to post!

Post a Comment

Your e-mail is kept confidential and not included with your comment. Website is optional.