Ryan Cramer

Results 408 comments of Ryan Cramer

Static definition can work with most Inputfields but not all. The options available with each Inputfield depend on what Inputfield it is, because each can define its own options. The...

How about the [PageImage::maxSize](http://processwire.com/api/ref/page-image/max-size/) method? Or to prevent any possibility of cropping you could use the [maxWidth](http://processwire.com/api/ref/page-image/max-width/) or [maxHeight](http://processwire.com/api/ref/page-image/max-height/) methods.

All of the code is supposed to be indented using tabs. In the last year I switched to using not just VIM, but a mixture of PHPStorm and VIM. I...

Thanks Adrian, looks good to me. I like your additions. One thing I think I'll want to change when adding this is the method of hiding user fields. Currently it...

The InputfieldPageAutocomplete is meant for matching text fields only. You might be able to get it to work if you change the operator to "=" (exact match), but there's a...

@BernhardBaumrock Sounds good to populate from a JSON file, but just wondering if we need a dedicated method for it (?), as it's already pretty simple: ~~~~~ $config->data(json_decode(file_get_contents('file.json'), true)); ~~~~~

@chriswthomson I think this could potentially be a lot of overhead on a larger site, as this particular loop would find all possible parent pages for all templates. It may...

@romaincazier I might not have it quite right, but as far as I can tell this is adding stuff to the core because of a small bug in a 3rd...

Thanks for the PR @elabx this seems like a good idea. But having a closer look, I realized we probably need to refactor the InputfieldSelector.js init() method completely in order...

Thanks @mpsn I have added this and will update the FormBuilder file for the next version as well.