.. ================================================== .. FOR YOUR INFORMATION .. -------------------------------------------------- .. -*- coding: utf-8 -*- with BOM. .. ================================================== .. DEFINE SOME TEXTROLES .. -------------------------------------------------- .. role:: underline .. role:: typoscript(code) .. role:: ts(typoscript) :class: typoscript .. role:: php(code) .. _tutorial10: Tutorial 10: Using TypoScript (Gallery with google map) ======================================================= The aim of this tutorial is to show how to use TypoScript into an extension. In this example, we want to display a gallery of pictures. We will use three views in only one form for the sake of the simplicity (see previous examples to create an admin form): - The “List” view to display small images. .. figure:: ../Images/Tutorial10IntroductionListView.png - The “Edit” view to enter the picture, its title, a description and the address corresponding to the picture. .. figure:: ../Images/Tutorial10IntroductionEditView.png - The “Single” view with a special organization. The picture is on the left, then the title and the description is displayed at the right of the picture and, finally, the google map, where the marker is defined by the address, goes to the right of the description. By clicking on the image, it should be displayed in its original size. .. figure:: ../Images/Tutorial10IntroductionSingleView.png Several authenticated users may use the plugin. Each user can modify or delete the records he/she has created. - Download this example from the TER (sav\_library\_example10) and install it. - Download also the extension “wec\_map” from the TER, read the documentation, get your google map API key and install it. Tables of Contents ------------------ .. toctree:: :maxdepth: 5 :titlesonly: ListView/Index EditView/Index SingleView/Index Configuration/Index