.. ================================================== .. FOR YOUR INFORMATION .. -------------------------------------------------- .. -*- coding: utf-8 -*- with BOM. .. include:: ../../Includes.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. GetDataFirstStep.php ==================== 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 `. GetDataSecondStep.php ===================== Second form used for optional data. .. hint:: Take care of those two following lines in second step form, **siteDtoSaved** is used to keep data from first step form. .. code-block:: html .. code-block:: html