Advertisement
Guest User

ProcessWire Link Combo Field Concept

a guest
Nov 3rd, 2022
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.05 KB | None | 0 0
  1. {
  2. "link": {
  3. "id": 684,
  4. "name": "link",
  5. "label": "Link",
  6. "flags": 32768,
  7. "type": "FieldtypeCombo",
  8. "i1_label": "Type",
  9. "i1_name": "type",
  10. "i1_type": "Radios",
  11. "i2_label": "Page",
  12. "i2_name": "page_",
  13. "i2_type": "Page",
  14. "i3_label": "URL",
  15. "i3_name": "url_",
  16. "i3_type": "URL",
  17. "i4_label": "Modal",
  18. "i4_name": "modal",
  19. "i4_type": "Page",
  20. "qty": 6,
  21. "hideWrap": 0,
  22. "useColNames": 0,
  23. "modSchema": 0,
  24. "useDataCol": 0,
  25. "i1_ok": "1",
  26. "i1_one": 1,
  27. "i1_inputfield": "InputfieldRadios",
  28. "i1_parent_id": 15160,
  29. "i1_labelFieldName": "title",
  30. "i1_collapsed": 0,
  31. "i1_columnWidth": 100,
  32. "i2_ok": "1",
  33. "i2_one": 1,
  34. "i2_inputfield": "InputfieldPageListSelect",
  35. "i2_parent_id": "",
  36. "i2_labelFieldName": "title",
  37. "i2_collapsed": 0,
  38. "i2_columnWidth": 100,
  39. "i3_ok": "1",
  40. "i3_collapsed": 0,
  41. "i3_minlength": 0,
  42. "i3_maxlength": 1024,
  43. "i3_showCount": 0,
  44. "i3_size": 0,
  45. "i3_columnWidth": 100,
  46. "i4_ok": "1",
  47. "i4_one": 1,
  48. "i4_inputfield": "InputfieldSelect",
  49. "i4_parent_id": 1685,
  50. "i4_template_id": 73,
  51. "i4_labelFieldName": "title",
  52. "i4_collapsed": 0,
  53. "i4_columnWidth": 100,
  54. "order": "1,2,6,5,3,4",
  55. "i1_optionColumns": 0,
  56. "i2_showIf": "link_type=page",
  57. "i3_showIf": "link_type=url",
  58. "i4_showIf": "link_type=modal",
  59. "i5_label": "Parameters",
  60. "i5_name": "parameters",
  61. "i5_type": "Text",
  62. "i5_notes": "Ex: ?var1=value1\nEx: #an-anchor\nEx: some/segment/\nEx: some/segment/?var1=value1#an-anchor",
  63. "i5_ok": "1",
  64. "i5_collapsed": 0,
  65. "i5_minlength": 0,
  66. "i5_maxlength": 2048,
  67. "i5_showCount": 0,
  68. "i5_size": 0,
  69. "i5_columnWidth": 100,
  70. "i5_showIf": "link_type=page",
  71. "notes": "If linking to a page on the site, use the Page option.\nIf linking to an external page on another site, use the URL option.\nIf linking to a popup / modal, use the Modal option.",
  72. "i1_optionWidth": "80px",
  73. "i1_options": "page=Page\nurl=URL\nmodal=Modal\nblank=(Blank)",
  74. "tags": "alef",
  75. "i6_label": "Page URL Style",
  76. "i6_name": "page_url_style",
  77. "i6_type": "Radios",
  78. "i6_options": "+relative=Relative\nabsolute=Absolute",
  79. "i6_ok": "1",
  80. "i6_collapsed": 0,
  81. "i6_columnWidth": 100,
  82. "i6_showIf": "link_type=page",
  83. "i6_optionColumns": 0,
  84. "i6_optionWidth": "100px",
  85. "i1_description": "",
  86. "i1_notes": "",
  87. "i1_icon": "",
  88. "i1_textformatters": "",
  89. "i1_showIf": "",
  90. "i1_required": "",
  91. "i1_requiredIf": "",
  92. "i1_addClass": "",
  93. "i1_defaultValue": "",
  94. "i1_move": "",
  95. "i2_description": "",
  96. "i2_notes": "",
  97. "i2_icon": "",
  98. "i2_textformatters": "",
  99. "i2_template_id": "",
  100. "i2_template_ids": "",
  101. "i2_findPagesSelect": "",
  102. "i2_findPagesSelector": "",
  103. "i2_labelFieldFormat": "",
  104. "i2_required": "",
  105. "i2_requiredIf": "",
  106. "i2_addClass": "",
  107. "i2_move": "",
  108. "i6_description": "",
  109. "i6_notes": "",
  110. "i6_icon": "",
  111. "i6_textformatters": "",
  112. "i6_required": "",
  113. "i6_requiredIf": "",
  114. "i6_addClass": "",
  115. "i6_defaultValue": "",
  116. "i6_move": "",
  117. "i5_description": "",
  118. "i5_icon": "",
  119. "i5_textformatters": "",
  120. "i5_required": "",
  121. "i5_requiredAttr": "",
  122. "i5_requiredIf": "",
  123. "i5_addClass": "",
  124. "i5_stripTags": "",
  125. "i5_placeholder": "",
  126. "i5_pattern": "",
  127. "i5_initValue": "",
  128. "i5_move": "",
  129. "i3_description": "",
  130. "i3_notes": "",
  131. "i3_icon": "",
  132. "i3_textformatters": "",
  133. "i3_required": "",
  134. "i3_requiredAttr": "",
  135. "i3_requiredIf": "",
  136. "i3_addClass": "",
  137. "i3_placeholder": "",
  138. "i3_pattern": "",
  139. "i3_initValue": "",
  140. "i3_move": "",
  141. "i4_description": "",
  142. "i4_notes": "",
  143. "i4_icon": "",
  144. "i4_textformatters": "",
  145. "i4_defaultValue": "",
  146. "i4_template_ids": "",
  147. "i4_findPagesSelect": "",
  148. "i4_findPagesSelector": "",
  149. "i4_labelFieldFormat": "",
  150. "i4_required": "",
  151. "i4_requiredIf": "",
  152. "i4_addClass": "",
  153. "i4_move": "",
  154. "i0_label": "",
  155. "i0_name": "",
  156. "i0_type": "",
  157. "collapsed": 0,
  158. "showIf": "",
  159. "themeOffset": "",
  160. "themeBorder": "",
  161. "themeColor": "",
  162. "columnWidth": 100,
  163. "required": "",
  164. "requiredIf": "",
  165. "addClass": ""
  166. }
  167. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement