modules.yaml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. title: Modules
  2. extends@: default
  3. form:
  4. fields:
  5. tabs:
  6. type: tabs
  7. active: 1
  8. label: test
  9. fields:
  10. content:
  11. type: tab
  12. title: Sections de la page
  13. fields:
  14. xss_check:
  15. type: xss
  16. header.media_thumbnail:
  17. type: filepicker
  18. folder: '@self'
  19. preview_images: true
  20. label: Vignette
  21. content:
  22. unset@: true
  23. header.media_order:
  24. ordering@: -1
  25. section_title:
  26. type: section
  27. title: Sections de la page
  28. underline: true
  29. header.sections:
  30. name: Sections
  31. type: list
  32. collapsed: true
  33. controls: both
  34. style: vertical
  35. fields:
  36. .title:
  37. type: text
  38. label: Titre
  39. validate: require
  40. .text:
  41. type: tinymce
  42. label: Text
  43. header.image_field:
  44. type: file
  45. label: Images
  46. multiple: true
  47. filesize: 5
  48. help: Taille maximum 2Mo
  49. destination: 'self@'
  50. accept:
  51. - image/*
  52. content_title:
  53. type: spacer
  54. title: Sidebar
  55. header.post_sidebar:
  56. type: list
  57. style: vertical
  58. validate:
  59. type: array
  60. fields:
  61. .type_info:
  62. type: checkboxes
  63. label: Type
  64. default:
  65. url: false
  66. pages: false
  67. ressources: false
  68. options:
  69. url: Référence
  70. pages: Pages
  71. ressources: Ressources
  72. use: keys
  73. .title:
  74. type: text
  75. label: Titre
  76. validate: require
  77. .url:
  78. type: text
  79. label: référence extérieur (url)
  80. .page:
  81. type: pages
  82. size: medium
  83. # classes: fancy
  84. label: Pages
  85. show_all: false
  86. show_modular: false
  87. show_root: false
  88. start_route: '/actualites/'
  89. default: null
  90. .ressources:
  91. type: text
  92. label: Ressources
  93. classes: fancy
  94. # fields:
  95. # gallery:
  96. # type: tab
  97. # title: Media Accueil
  98. #
  99. # fields:
  100. # header.media_type:
  101. # type: checkboxes
  102. # label: Choisir le media à utiliser
  103. # default:
  104. # picture: true
  105. # video: false
  106. # options:
  107. # image: image
  108. # video: video
  109. # use: keys
  110. # # header.picture_field:
  111. # header.video_field:
  112. # type: file
  113. # label: Fichier video
  114. # multiple: false
  115. # filesize: 20
  116. # help: Taille maximum 10Mo
  117. # destination: 'self@'
  118. # accept:
  119. # - video/*