item.yaml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. extends@: default
  2. form:
  3. fields:
  4. tabs:
  5. fields:
  6. content:
  7. fields:
  8. header.entete:
  9. type: fieldset
  10. title: Texte en-tête
  11. help: Écriver le texte qui sera affiché dans le bandeau d'en-tête
  12. text: Écriver le texte qui sera affiché dans le bandeau d'en-tête
  13. fields:
  14. header.entete.text:
  15. type: text
  16. label: Texte
  17. header.features:
  18. name: Icones
  19. type: list
  20. label: Icones
  21. style: vertical
  22. size: large
  23. fields:
  24. .text:
  25. type: text
  26. label: Text
  27. .icon:
  28. type: file
  29. label: Icone
  30. destination: 'user/themes/lecampus/images/icones'
  31. multiple: false
  32. filesize: 2
  33. accept:
  34. - image/*
  35. fields:
  36. blog:
  37. type: tab
  38. title: Blog Item
  39. fields:
  40. header_options:
  41. type: section
  42. title: Header Options
  43. underline: true
  44. header.continue_link:
  45. type: toggle
  46. toggleable: true
  47. label: DF Style Link
  48. help: Daring Fireball style title link
  49. highlight: 1
  50. options:
  51. 1: PLUGIN_ADMIN.ENABLED
  52. 0: PLUGIN_ADMIN.DISABLED
  53. validate:
  54. type: bool
  55. header.header_image:
  56. type: toggle
  57. toggleable: true
  58. label: Display Header Image
  59. help: Enabled displaying of a header image
  60. highlight: 1
  61. options:
  62. 1: PLUGIN_ADMIN.ENABLED
  63. 0: PLUGIN_ADMIN.DISABLED
  64. header.header_image_file:
  65. type: text
  66. toggleable: true
  67. label: Image File
  68. help: image filename that exists in the page folder. If not provided, will use the first image found.
  69. placeholder: For example: myimage.jpg
  70. header.header_image_width:
  71. type: text
  72. toggleable: true
  73. label: Image Width
  74. size: small
  75. help: Header width in px
  76. placeholder: Default is 900
  77. validate:
  78. type: int
  79. min: 0
  80. max: 5000
  81. header.header_image_height:
  82. type: text
  83. toggleable: true
  84. label: Image Height
  85. size: small
  86. help: Header height in px
  87. placeholder: Default is 300
  88. validate:
  89. type: int
  90. min: 0
  91. max: 5000
  92. summary:
  93. type: section
  94. title: Summary
  95. underline: true
  96. header.summary.enabled:
  97. type: toggle
  98. toggleable: true
  99. label: Summary
  100. highlight: 1
  101. options:
  102. 1: PLUGIN_ADMIN.ENABLED
  103. 0: PLUGIN_ADMIN.DISABLED
  104. header.summary.format:
  105. type: select
  106. toggleable: true
  107. label: Format
  108. classes: fancy
  109. options:
  110. 'short': 'Use the first occurence of delimter or size'
  111. 'long': 'Summary delimiter will be ignored'
  112. header.summary.size:
  113. type: text
  114. toggleable: true
  115. label: Size
  116. classes: large
  117. placeholder: 300
  118. validate:
  119. type: int
  120. min: 1
  121. header.summary.delimiter:
  122. type: text
  123. toggleable: true
  124. label: Summary delimiter
  125. classes: large
  126. placeholder: ===
  127. import@:
  128. type: partials/blog-bits