Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating a new field leaves the field unconfigured. #6

Closed
somatonic opened this issue Oct 28, 2014 · 1 comment
Closed

Creating a new field leaves the field unconfigured. #6

somatonic opened this issue Oct 28, 2014 · 1 comment

Comments

@somatonic
Copy link

@somatonic somatonic commented Oct 28, 2014

PW 2.5 +
I think this has to do with you hiding (removing!) the "extensions" config field. No matter what I do ,PW spits a warning.

@somatonic

This comment has been minimized.

Copy link
Author

@somatonic somatonic commented Oct 30, 2014

I have also found a fix for hiding the extensions config field. Instead of removing it, it should be set a value and made collapsed = Inputfield::collapsedHidden, This makes sure the "pdf" is saved and not "missing config" warning in PW 2.5.

See my fork here https://github.com/somatonic/ProcessWire-FieldtypePDF/blob/master/FieldtypePDF.module#L43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.