.. ================================================== .. FOR YOUR INFORMATION .. -------------------------------------------------- .. -*- coding: utf-8 -*- with BOM. .. include:: ../Includes.txt .. _admin-manual: Administratormanual ==================== Target group: **Administrators** Installation ^^^^^^^^^^^^ Import the extension from TER (TYPO3 Extension Repository) like any other extension. Create some pages as shown below. .. figure:: ../Images/AdministratorManual/InstallPages.png :width: 200px :alt: Pages for myleaflet On the page 'Ajax Map' install plugin MyLeaflet (Map), On page 'myleaflet' or on your root page insert 'Typoscript Include static' (from extension) MyLeaflet (myleaflet). With the constant editor insert the desired settings of the extension like storage Pid, your page ID's, jQuery options, path to templates etc. The data of tt_address and sys_categories is stored in page Data. Insert in the constant editor the correct "Default storage PID" of the tt_address records. Then insert at least one sys_category in the page Data. Now insert some tt_address data records with latitude and longitude values and assign them to sys_categories. The extension did not fetch the coordinates by itself like the mymap extension. When everything is ok - test it... .. image:: ../Images/AdministratorManual/IncludeStatic.png :width: 200px :alt: Include Static Inserting data ^^^^^^^^^^^^^^ In TYPO3 list module select page Data. First insert some sys_categories. Then you can insert some tt_address data records. You have not to insert the coordinates. If you don't insert some icon, the extension uses a default icon for the POI's. When everything is done you can start a search in frontend. Reference ^^^^^^^^^ .. _plugin-tx-myleaflet: plugin.tx\_myleaflet.view ^^^^^^^^^^^^^^^^^^^^^^^^^ templateRootPath """""""""""""""" .. container:: table-row Property templateRootPath Data type string Description path to templates Default EXT:myleaflet/Resources/Private/Templates/ partialRootPath """""""""""""""" .. container:: table-row Property partialRootPath Data type string Description path to partials Default EXT:myleaflet/Resources/Private/Partials/ layoutRootPath """""""""""""" .. container:: table-row Property layoutRootPath Data type string Description path to layouts Default EXT:myleaflet/Resources/Private/Layouts/ plugin.tx\_myleaflet.settings ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ detailsPageId """"""""""""" .. container:: table-row Property detailsPageId Data type int Description Id of the details page Default - singleViewUid """"""""""""" .. container:: table-row Property singleViewUid Data type int Description Uid of the loaction record to be shown with the single view plugin. Default 1 resultLimit """"""""""" .. container:: table-row Property resultLimit Data type int Description Limit the result to n records Default 300 initialMapCoordinates """"""""""""""""""""" .. container:: table-row Property initialMapCoordintes Data type string Description Initial map coordinates [latitude,longitude] Default 48,8 Known problems ^^^^^^^^^^^^^^ FAQ ^^^ *Custom templates and files* You can use your own template and CSS file or other jQuery library - just go to the TYPO3 constants editor and change the values for your needs.