event.yaml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. extends@: default
  2. form:
  3. fields:
  4. tabs:
  5. fields:
  6. content:
  7. fields:
  8. header.info:
  9. type: section
  10. title: Informations Complementaire
  11. columns:
  12. type: columns
  13. fields:
  14. column1:
  15. type: column
  16. fields:
  17. header.date_begin:
  18. type: datetime
  19. label: Début de l'événement
  20. help: PLUGIN_ADMIN.DATE_HELP
  21. header.public:
  22. type: selectize
  23. label: Type de publique
  24. help: indiquer le type de publique concerné par l'événement
  25. validate:
  26. type: commalist
  27. header.rs:
  28. type: array
  29. label: Resaux sociaux
  30. help:
  31. placeholder_key: PLUGIN_ADMIN.METADATA_KEY
  32. placeholder_value: PLUGIN_ADMIN.METADATA_VALUE
  33. column2:
  34. type: column
  35. fields:
  36. header.date_end:
  37. type: datetime
  38. label: Fin de l'événement
  39. help: PLUGIN_ADMIN.DATE_HELP
  40. blog:
  41. type: tab
  42. title: Blog Item
  43. fields:
  44. header_options:
  45. type: section
  46. title: Header Options
  47. underline: true
  48. header.continue_link:
  49. type: toggle
  50. toggleable: true
  51. label: DF Style Link
  52. help: Daring Fireball style title link
  53. highlight: 1
  54. options:
  55. 1: PLUGIN_ADMIN.ENABLED
  56. 0: PLUGIN_ADMIN.DISABLED
  57. validate:
  58. type: bool
  59. header.header_image:
  60. type: toggle
  61. toggleable: true
  62. label: Display Header Image
  63. help: Enabled displaying of a header image
  64. highlight: 1
  65. options:
  66. 1: PLUGIN_ADMIN.ENABLED
  67. 0: PLUGIN_ADMIN.DISABLED
  68. header.header_image_file:
  69. type: text
  70. toggleable: true
  71. label: Image File
  72. help: image filename that exists in the page folder. If not provided, will use the first image found.
  73. placeholder: For example: myimage.jpg
  74. header.header_image_width:
  75. type: text
  76. toggleable: true
  77. label: Image Width
  78. size: small
  79. help: Header width in px
  80. placeholder: Default is 900
  81. validate:
  82. type: int
  83. min: 0
  84. max: 5000
  85. header.header_image_height:
  86. type: text
  87. toggleable: true
  88. label: Image Height
  89. size: small
  90. help: Header height in px
  91. placeholder: Default is 300
  92. validate:
  93. type: int
  94. min: 0
  95. max: 5000
  96. summary:
  97. type: section
  98. title: Summary
  99. underline: true
  100. header.summary.enabled:
  101. type: toggle
  102. toggleable: true
  103. label: Summary
  104. highlight: 1
  105. options:
  106. 1: PLUGIN_ADMIN.ENABLED
  107. 0: PLUGIN_ADMIN.DISABLED
  108. header.summary.format:
  109. type: select
  110. toggleable: true
  111. label: Format
  112. classes: fancy
  113. options:
  114. 'short': 'Use the first occurence of delimter or size'
  115. 'long': 'Summary delimiter will be ignored'
  116. header.summary.size:
  117. type: text
  118. toggleable: true
  119. label: Size
  120. classes: large
  121. placeholder: 300
  122. validate:
  123. type: int
  124. min: 1
  125. header.summary.delimiter:
  126. type: text
  127. toggleable: true
  128. label: Summary delimiter
  129. classes: large
  130. placeholder: ===
  131. import@:
  132. type: partials/blog-bits