Aller au contenu principal
Jahia Store
FR

Search And Replace

community
Télécharger 1.1.0

Informations

Identifiant du module
search-and-replace
Identifiant de groupe
org.jahia.se.modules
Statut
community
Catégorie
Content Features, Search, Platform
Auteur
Stephane Monier
Site web du développeur
http://www.jahia.com
Nécessite Jahia
8.2.0.0
Publié le
2026-10-25
Source
scm:git:git@github.com:smonier/search-and-replace.git
Étiquettes
  • search and replace
  • search
  • replace
  • utils
  • bulk
  • administration
  • content

Find a word or a name across the content of a site and replace it in the items you choose, from jContent: every change is previewed before it is written, links, tags, system values and sub-pages are never touched, and everything runs with the editor's own rights. In English and French.

Search and Replace adds a Search & Replace app to jContent. A product is renamed, a slogan changes, a person leaves: editors find every place the old wording appears in the site, check what will change, and replace it in one pass, without opening each content item.

Find

  • Search the content of the site in the language you choose, through Jahia's full-text index. Upper and lower case, accents and formatting do not hide a match.
  • Narrow the results by content type and by creation or modification date. Also find parts of words finds a term inside longer words when the index finds nothing.
  • Each result shows its content type, its path, a link to open its page or folder in jContent, and the text around every match, highlighted.

Check

  • Matches the replacement will not change are shown apart, under Not replaced, with the reason: a system value, a link or a list value, or a term only found with other accents or split by formatting.
  • An item with Nothing to replace cannot be selected.
  • Choose the properties to update, then Preview: the server shows, for every selected item, each value before and after, computed with exactly the rules of the replacement.

Replace

  • Only the text editors write changes: titles, descriptions, text and rich text. Links, image sources, tags, URLs, list values and system properties stay as they are, and in rich text only the visible text changes, never the markup.
  • Selecting a page covers its title and the content of its areas, never its sub-pages. A folder covers only itself.
  • Only the language you searched in changes. Each item is saved on its own: an item that cannot be changed is reported, the others are kept.
  • Nothing is published: changes wait for your usual publication.

Secure by design

  • Everything runs with the editor's own Jahia rights: search only returns content they can read, and an item they may not change, or not in that language, is refused.
  • Using the app requires the searchAndReplace permission on the site. Site administrators hold it; grant it to other roles as you see fit.
  • Rich text shown in the results and the preview is sanitized with an allowlist, so content cannot run code in the back office.

Built with Jahia's own design system, in English and French.

Requirements: Jahia 8.2 with jContent 3.7 or later. Enable the module on the sites that use it. Documentation and full change history: github.com/smonier/search-and-replace.

Captures d'écran

Versions

1.1.0

  • Runs with each editor's own rights, behind a new searchAndReplace permission held by site administrators.
  • Replaces only the text editors write: links, tags, list values, system properties and the markup of rich text are never changed. Selecting a page no longer changes its sub-pages.
  • Matches that will not be replaced are shown apart with the reason; items with nothing to replace cannot be selected.
  • The preview is computed by the server and shows every change of every selected item.
  • Faster searches through the full-text index, results by pages, and an option to find parts of words.
  • Each item is saved on its own and reported if it cannot be changed.
  • New look built with Jahia's design system; clearer wording in English and French.
Nécessite Jahia 8.2.0.0Publié le 2026-10-25
Nécessite Jahia 8.2.0.0Publié le 2026-03-12