DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

Typo Script

This page is divided into the following sections which are all configurable by using TypoScript:

Plugin settings

This section covers all settings, which can be defined in the plugin itself:

Plugin settings

Property: Title: Sheet: Type: Description:
switchableControllerActions: Select Action: Configuration: string: Define selected action:
settings.selectedCountry: Select Country: Options: int: Define selected country:
settings.selectedCity: Select City: Options: int: Define selected city from added cities:
settings.listPage: List Page: Options: int: Define the targeted page, where list of cities are available:
settings.selectedCities: Select Cities: Options: string: Define one or more selected cities:
settings.detailsPage: Details Page: Options: int: Define the targeted page, where details of a city is available:

General settings

Any setting needs to be prefixed with plugin.tx_news.settings.

Property: Type: Description: Default:
accuweatherCSS: string: Define the path to the CSS file: EXT:arx_accuweather/Resources/Public/Css/weather.css:
imagesPath: string: Define the path to the weather icons: typo3conf/ext/arx_accuweather/Resources/Public/Images/:
lang: string: Define language of returned weather json : en:
apiLink: string: Define the API URL: http://apidev.accuweather.com/:
apiKey: string: Define the API Key:  
searchCityWeatherLink: string: Define part of Api URL for search a city: locations/v1/search:
fourDaysWeatherLink: string: Define part of Api URL to get 5 days forecast for a city: forecasts/v1/daily/5day/:
fewCitiesWeatherLink: string: Define part of Api URL to get hourly forecast for a city: forecasts/v1/hourly/1hour/:
autocompleteCityWeatherLink: string: Define part of Api URL for autocomplete search: locations/v1/cities/autocomplete.json: