En vous promenant sur Beamreactor, nous stockons votre IP 48h pour des raisons de sécurité.

Lecteur Markdown

edito Documentation › EDITO_DOCUMENTATION_EN

Edito Documentation En

Feature: Edito #

Editorial article management system with multilingual support (i18n). Allows administrators to create, edit and delete articles in multiple languages using a rich text editor.

Installation and Configuration

Via FTP: Upload the edito/ directory into /plugins/.

Via package manager: Select edito from the available plugins list.

Paths:

  • Main plugin: /plugins/edito/edito.php
  • Configuration: /plugins/edito/conf/edito.conf.inc.php
  • Library: /plugins/edito/lib/edito.lib.inc.php
  • JavaScript: /plugins/edito/js/edito.js
  • CSS: /plugins/edito/css/edito.css
  • Locales: /plugins/edito/locale/

Configuration parameters (edito.conf.inc.php):

| Variable | Default | Description |

|---|---|---|

| $basedatadisplay | 'yes' | Display in management interface |

| $basedisplevel | BASE_LEVEL_ADMIN | Required access level |

| $ftype | 1 | Plugin type (content) |

Access restricted via: secure('EDITO_LEVEL_ADMIN').

Required SQL tables: edito, edito_i18n

Usage

Article management #

  • Create an article with an auto-generated unique identifier
  • Edit content via the RTE editor (HTML)
  • Manage translations per language (via edito_i18n)
  • Delete an article (removes all associated translations)

Public display #

Articles are displayed in the current language. Falls back to the installation's default language if a translation is missing.

Hooks and Entry Points

text
?obj=edito.php					 — Article list
?obj=edito.php&action=new		  — Create an article
?obj=edito.php&action=edit&id=ID   — Edit (admin)
?obj=edito.php&action=delete&id=ID — Delete (admin)
?obj=edito.php&id=ID			   — Read an article (public)

Dependencies

  • Beamreactor\Database\SQL
  • Beamreactor\Sanitizer\Parser
  • Internal graphics library (for optional images)
  • jQuery UI — bundled in the BeamReactor core
de en fr