Lance O. Posted March 23, 2016 Share Posted March 23, 2016 When exporting a field to be used on another site installation, is there any harm in removing send_templates from the export code? { "vcard_tel": { "id": 134, "type": "FieldtypeText", "flags": 0, "name": "vcard_tel", "label": "Phone", "textformatters": [ "TextformatterEntities" ], "maxlength": 2048, "tags": "vcard", "collapsed": 2, "size": 0, "send_templates": [ 54, 53 ], "showIf": "", "columnWidth": 100, "required": "", "requiredIf": "", "stripTags": "", "placeholder": "", "pattern": "" } } Link to comment Share on other sites More sharing options...
Martijn Geerts Posted March 23, 2016 Share Posted March 23, 2016 What version of ProcessWire are you using? That setting should not be in the field settings, and has been/should has been fixed end last year (removed). You could safely ignore send_templates as it's not used in import context. 1 Link to comment Share on other sites More sharing options...
Lance O. Posted March 23, 2016 Author Share Posted March 23, 2016 I'm using 2.7.2, although I upgraded from a previous version (can't remember which one). Link to comment Share on other sites More sharing options...
Martijn Geerts Posted March 23, 2016 Share Posted March 23, 2016 Ok, 2.7.2 is older then say November last year, as a normal update doesn't alter the data base, and thus doesn't clean your settings it is still there, you can ignore it or remove it from the JSON object for import purposes. 3 Link to comment Share on other sites More sharing options...
Lance O. Posted March 23, 2016 Author Share Posted March 23, 2016 Great, thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now