Content Replace

The module "Content Replace" replaces words or phrases with your own text or HTML when content is displayed. For example, it turns product names into links.

Compatible with:

The module is included in the script package. Install it in the admin area under Modules, then switch it on in its settings.

How this module works

You define pairs of search text and replacement. Each time the script displays an article, a comment or a guestbook entry, the module replaces the search text with your replacement. The stored content itself stays unchanged, so you can change or remove a replacement at any time.

You write one replacement per line. The replacement may contain HTML.

News Script => <a href="https://www.example.com/">News Script</a>

Examples

  • Turn a product name into a link to the product page
  • Replace an abbreviation with the full term
  • Replace undesired text with desired text

Settings

  • Replacements, one per line
  • Case-sensitive search
  • News Script: replace also in comments, not only in articles

All modules