About Image & File Dependencies

Allows Image and File fields to be used in inputfield dependency selectors. Note: prefix field names with an underscore in your dependency selectors.

Category Admin Helpers
Admin helper modules are those that provide helpful tools, UI enhancements or optimizations to the admin panel (excluding Fieldtype or Inputfield modules).
Release StateBeta
Close to stable, but users are advised to be cautious and test thoroughly.*
Authorrobin-s
Module Version0.0.3
Class NameImageFileDependencies
Compatibility3.0
Date AddedNovember 23, 2016
Last UpdatedDecember 9, 2016
Recommended ByNew recommendations may take up to 1 day to appear.

Instructions

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

README

Image & File Dependencies

A module for ProcessWire CMS/CMF. Allows Image and File fields to be used in inputfield dependency selectors. Note: prefix field names with an underscore in your dependency selectors.

Usage

Install the ImageFileDependencies module.

You can now create an inputfield dependency based on the number of images or files added to a Image or File field.

When you create an inputfield dependency for a Image or File field, prefix your field name with an underscore. Example for a field named 'images': _images>3 Note that you do not include a '.count' subfield in the selector.

License

Released under Mozilla Public License v2. See file LICENSE for details.

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.