დოკუმენტაცია
Weather Informer
Weather Informer
Weather Manager Plugin Weather Manager is an advanced DLE weather plugin that displays current weather and a 5-day forecast for one or multiple cities, with flexible template support and a full admin panel. Fil...
Weather Informer
ბოლო განახლება April 14, 2026
Weather Manager Plugin
Weather Manager is an advanced DLE weather plugin that displays current weather and a 5-day forecast for one or multiple cities, with flexible template support and a full admin panel.
| File | Purpose |
|---|---|
engine/modules/weather_manager.php |
Main plugin logic, shortcode parsing, rendering |
engine/inc/weather_manager.php |
Admin panel interface |
engine/data/weather_manager.php |
Configuration storage |
templates/<skin>/weather.tpl |
Frontend template |
Installation & Setup
- Open
/admin.php?mod=weather_manager - Enter API key
- Configure settings
- Add cities
- Edit template if needed
გამოიყენე
{weather-error} API შეცდომის სანახავადShortcode Usage
Single City
[weather-block city="tbilisi"]
Multiple Cities
[weather-block cities="tbilisi,batumi"]
With Limit
limit="2"
Inline Template
{weather-city}
{weather-temp}
Current Weather Placeholders
{weather-city} |
City |
{weather-temp} |
Temperature |
{weather-humidity} |
Humidity |
{weather-wind} |
Wind |
{weather-error} |
Error |
Forecast Placeholders
{forecast-1-*} → {forecast-5-*}
{forecast-1-day} |
Day |
{forecast-1-temp} |
Temperature |
Admin Panel
- General settings
- City management
- Placeholder reference
Template Workflow
[weather-block cities="tbilisi,batumi"]
ცარიელი shortcode → weather.tpl custom HTML → inline template
Technical Notes
- Uses OpenWeather API
- Cached responses
- Forecast grouped by day
გჭირდებათ დახმარება?
პასუხები ყველაზე ხშირად დასმულ კითხვებზე.