.. ================================================== .. FOR YOUR INFORMATION .. -------------------------------------------------- .. -*- coding: utf-8 -*- with BOM. .. include:: ../Includes.txt .. _admin-manual: Administrator Manual ==================== Target group: **Administrators** Describes how to manage the extension from an administrator point of view. General ******* .. _general-configuration: Configuration ------------- Storage Page ^^^^^^^^^^^^ #. Create a storage page #. Refer to it in the scheduler task #. Also refer to it in the plugin Multi plugin use ^^^^^^^^^^^^^^^^ You can configure your scheduler task to save data to a specific storage page that you can later use in the plugin to access data. There is also an option to display only specific rows. Please use the field "name" to do this. In the plugin you can configure which "name" to use. To select the latest entry use the empty field. Change timezone ^^^^^^^^^^^^^^^ Go into your TYPO3-Install tool and change the timezone under *All configuration* -> *System* -> *phpTimeZone*. This will change the timezone Current Weather (Weather Report) ******************************** Installation ------------ How do I get set up? ^^^^^^^^^^^^^^^^^^^^ #. Create a new http://openweathermap.org account and copy your api key #. Download the extension from the TYPO3 extension repository #. Enable the scheduler extension in your TYPO3 installation if not already done #. Create a new scheduler with the Call openweathermap.org api selected with the scheduler module #. Configure the scheduler by filling out the required fields. Please Note that the field "name" is later used to only display specific records #. Create a new content element with the weather extension plugin selected #. Select the desired measure units to display #. If you want to select a display record to display only records with the same name that you specified earlier #. Add extension template file to your template #. Enjoy! ;) .. figure:: ../Images/CurrentWeather/BackendPluginContentElement.gif :alt: Backend plugin content element This is how the content element plugin looks like Weather Alerts ************** Installation ------------ Get regions from Deutscher Wetterdienst ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1. Go to the scheduler module. 2. Add a new task and select 'Get regions from Deutscher Wetterdienst'. 3. Set this task as single because you have to execute this only once. 4. Save and exit 5. Execute the task 6. If the execution was successful you will see all the region records in your root page. .. figure:: ../Images/WeatherAlert/WeatherAlertRegionList.jpeg :alt: List view that shows alert records 7. Done Take a look into `Get Weather Alerts from Deutscher Wetterdienst`_ Create regions manually ^^^^^^^^^^^^^^^^^^^^^^^ 1. Go into the page or list module. 2. Select your root page (or a page/folder you want) on the page tree. 3. Click on 'Create new record' and select 'Weather Alert Region'. .. figure:: ../Images/WeatherAlert/WeatherAlertRegionNewRecord.jpeg :alt: Create new Weather Alert Region record 4. Now you can enter the City name and additionally the district of your city. 5. Done Take a look into `Get Weather Alerts from Deutscher Wetterdienst`_ .. _get-weather-alerts-from-dwd: Get Weather Alerts from Deutscher Wetterdienst ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1. Go to the scheduler module. 2. Add a new task and select 'Get weather alerts from Deutscher Wetterdienst'. 3. You should set recurring as type and e.g. 3600 as frequency to get each hour the latest alerts. 4. Now you can search for your regions. Please make sure you added the regions or got them from Deutscher Wetterdienst. Don´t know? Take a look into `Get regions from Deutscher Wetterdienst`_ and/or `Create regions manually`_. 5. You can add multiple cities to your selection. .. figure:: ../Images/WeatherAlert/WeatherAlertSchedulerRegions.jpeg :alt: Weather Alert Region selection 6. If you have a record stroage page you can select it additionally. This can be useful for `Multi plugin use`_. Otherwise the records will be saved on root page. .. figure:: ../Images/WeatherAlert/WeatherAlertSchedulerStoragePage.jpeg :alt: Remove old Weather Alerts 7. Typically we don´t need to keep old Alerts. Old alerts can be removed from the scheduler automatically after checking 'Remove old alerts' and setting a time e.g. 24 (hours). .. figure:: ../Images/WeatherAlert/WeatherAlertSchedulerRemoveOldAlerts.jpeg :alt: Remove old Weather Alerts 8. Now you´re done and ready to execute the scheduler. Read the :ref:`user manual ` to get an output on your website. .. toctree:: :maxdepth: 2