Jump to content

Recommended Posts

Posted

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": ""
    }
}
Posted

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.

  • Like 1
Posted

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.

  • Like 3

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...