.. include:: /Includes.rst.txt .. _templates: ========= Templates ========= There are two templates used by the wizard, the first one is used for mandatory data, the second one for optional data. You can specified in :ref:`Extension configuration ` that you want to use only the first template. .. _customizeTemplates: Customized your templates ========================= In order to use your own templates, you have to create a new file in you extension: :file:`Configuration/page.tsconfig` with this content : .. code-block:: typoscript templates.oktopuce/site-generator.templateRootPaths = oktopuce/site-generator:..//Resources/Private replace **** with your own extension. Partials/FirstStepForm.html =========================== First form used for mandatory data, copy/paste Fluid Template from **site_generator** extension and add your custom data. Here is a sample with custom data added in our :ref:`DTO ` : **customizedData** & **feUser** .. code-block:: html
.. hint:: feUsers data are filled with :ref:`Event listener `. Partials/SecondStepForm.html ============================ Second form used for optional data.