Image / announcement carousel on the GLPI Self-Service (Helpdesk) home page.
- Version: 3.0.4
- Compatibility: GLPI 11.x
- PHP: 8.2+ (same as GLPI 11)
- License: GPLv3+
- Author: News Slider contributors
- What it is and who it is for
- Features
- Requirements
- Installation
- Configuration
- Recommended image sizes
- Demo content and photo licenses
- Rights and Self-Service
- Troubleshooting
- License
- Documentation links
- Screenshots
News Slider shows a carousel of news or announcements (image, title, description, optional link) on the Self-Service / Helpdesk home page.
It is aimed at GLPI administrators and support teams who need to communicate with end users (maintenance windows, knowledge base, support contacts) without custom portal markup.
- Slide CRUD: title, description, image, optional link, sort order, active flag
- Optional visibility window:
date_start/date_end - Entity-aware slides:
entities_id+ recursive - Slider settings (see Configuration): enabled, autoplay, interval, arrows, dots, pause on hover, height, object-fit, upload limit, width resize, replace vs keep the default Helpdesk search banner
- Uploads only under
public/uploads/(GLPI 11 public assets) - i18n: full
ru_RU, plusen_GB/en_US - Field help texts on every Config and slide-form field in the UI
- Demo slides with Unsplash photos seeded on install when no imaged slides exist
- Accessibility: aria-labels;
prefers-reduced-motiondisables autoplay - Plugin rights: who can view / manage slides and settings
- Security: HTML escaping, MIME checks, safe link URLs
| Component | Minimum |
|---|---|
| GLPI | 11.0.0 … 11.x (PLUGIN_NEWSSLIDER_MAX_GLPI = 11.99.99) |
| PHP | 8.2+ (GLPI 11 requirement) |
| PHP extensions | standard GLPI set; GD for optional image resize |
| Directory rights | plugins/newsslider/public/uploads writable by the web server user |
- Extract the archive so you get
glpi/plugins/newsslider/(withsetup.php,hook.php,public/, …). - The folder name must be exactly
newsslider(notnewsslider-3.0.0orglpi-plugin-newsslider). - In the UI: Setup → Plugins → install and enable News Slider.
- Or via CLI (from the GLPI root):
php bin/console plugin:install newsslider -u glpi
php bin/console plugin:activate newsslider
php bin/console cache:clearWhen updating an already installed version:
php bin/console plugin:update newsslider
php bin/console cache:clear- Ensure
plugins/newsslider/public/uploadsis writable by the web server user (www-data/apache/ equivalent). - Grant the News Slider right on the relevant profiles (Administration → Profiles).
- Create or edit slides under Setup → News Slider if needed.
- Open Self-Service / Helpdesk — the carousel should appear with images.
Path: Setup → Plugins → News Slider → Configure (or the plugin config page).
Every field in the UI has a short help text. Option meanings:
| Field | Description |
|---|---|
| Enabled | Master switch. When off, the slider is hidden on Self-Service. |
| Autoplay | Automatically rotate slides. Disabled when the user prefers reduced motion. |
| Autoplay interval (ms) | Delay between slides. Minimum 1000. Recommended: 5000–8000. |
| Show arrows | Previous / Next buttons on the sides of the carousel. |
| Show dots | Dot indicators under the carousel to jump to a slide. |
| Pause on hover | Stop autoplay while the mouse pointer is over the slider. |
| Replace helpdesk search banner | Yes — replace the default banner; No — show the slider above it. |
| Slider height (px) | Visible height of the carousel area (180–900). Match your banners. |
| Image object-fit | cover — fill the area (may crop); contain — fit the full image. |
| Max upload size (MB) | Plugin limit (1–20). The lower of this value and PHP upload_max_filesize wins. |
| Max image width (px) | If > 0, wider uploads are resized with GD (aspect ratio kept). 0 — no resize. |
Slides are managed separately: title, description, image file, link, active flag, sort order, visibility dates, entity and recursive.
| Recommendation | Value |
|---|---|
| Aspect ratio | wide banner ~16:5 to 16:9 |
| Resolution | 1600×500 or 1920×600 |
| Formats (MIME) | image/jpeg, image/png, image/webp, image/gif |
| File size | ≤ 2 MB by default (configurable) |
Oversized widths can be auto-resized when Max image width is set in plugin settings.
On install or update, if the database has no slides with images yet, the plugin seeds four neutral demo slides (ticket portal, remote support, knowledge base, service status).
Photos live in resources/demo/ and are copied to public/uploads/ during seed. License: Unsplash License — see resources/demo/SOURCES.txt.
You can delete or replace the demo slides at any time.
- The News Slider plugin right is configured on the profile tab (Administration → Profiles).
- Read — view the slide list.
- Write — create/edit slides and access settings.
- Self-Service users see the carousel when the plugin is enabled, there are active slides in the visibility window, and the user’s entity matches the slide criteria.
- The central (backend) interface does not show the carousel — Helpdesk only.
- Files must live under
plugins/newsslider/public/uploads/, with URLs like/plugins/newsslider/uploads/...(GLPI 11 serves public assets frompublic/). - After copying files, run
php bin/console cache:clear. - Check directory permissions on uploads.
- Check Max upload size in plugin settings.
- Compare with PHP
upload_max_filesizeandpost_max_size— the lower limit wins. - Allowed MIME types: JPEG, PNG, WEBP, GIF.
- Plugin is installed and enabled.
- Config option Enabled is Yes.
- There are active slides with matching dates and entity.
- You are in the Self-Service / Helpdesk interface, not Central.
- CSS/JS should return HTTP 200:
/plugins/newsslider/css/newsslider.css,/plugins/newsslider/js/newsslider.js.
- Assets must be under
public/css/andpublic/js/. - Clear the GLPI cache.
- Do not move assets outside
public/.
Version 3.0.0 rewrites URLs from /plugins/newsslider/files/ to /plugins/newsslider/uploads/ and moves files into public/uploads/. If files were already removed from disk, re-upload the images.
GPLv3 or later — see LICENSE.
Captured on a demo stand (ru_RU UI, Unsplash demo slides). File names and bilingual captions: docs/screenshots/manifest.md.
Self-Service home: carousel with a photo, arrows and dots.
Config page: Russian field labels and help texts.
Create / edit slide: title, description, image preview, link, active flag.
Admin UI: slides list (Setup → News Slider).



