Skip to content

Releases: dbltoe/Trademark

Trademark 2.0.0

Choose a tag to compare

@dbltoe dbltoe released this 03 Sep 19:01

Rewritten as an encapsulated zc_plugin. Install it from Plugin Manager and
the mark is on every page; nothing in your template is edited, copied or
overridden, and uninstalling puts everything back.

If you're running 1.1.0 or earlier — the file-based version that replaced
tpl_header.php — the plugin notices the mark your template already carries
and adds nothing, so you can install it first and remove the old edits when
convenient. See Upgrading from the file-based mod in the readme.

Added

  • One codebase for Zen Cart v1.5.8 through v3.0.0 and PHP 7.4 through 8.5,
    verified against all six release branches.
  • Works with responsive_classic and ZCA Bootstrap (3.3.0 through 3.8.0), and
    with clones of either, with nothing to configure.
  • Custom Anchor setting for any other template: name an element by id or
    class (id=navMain, class=navbar) and the mark goes inside it. An exact
    HTML fragment also works where the admin lets you type one.
  • Settings for the text (your store name unless you say otherwise), an optional
    ™ / ® / ℠ symbol, the color, font size and font weight, and which of the two
    responsive_classic locations to use.
  • An optional top-of-page fallback for a page where nothing else matches, off
    by default.
  • The stylesheet can be overridden from your template (a trademark.css in its
    css/ directory is used instead) or switched off entirely if your template
    already styles .tradeMark.
  • Self-contained readme.html shipped with the plugin and linked, with the
    GitHub project page, as buttons in the Plugin Manager info panel.
  • Idempotent installer. Settings you've changed are never reset by an upgrade;
    labels and help text are refreshed to the current version.
  • While the plugin is switched off, Plugin Manager lists it as Trademark - Mod
    Not Turned On
    , on every supported release.

Fixed

  • 1.1.0 white-screened the phone and tablet layouts on PHP 8. Its
    tpl_header.php files referred to HEADER_TITLE_TRADEMARK, whose language
    file had been removed from the package, and on PHP 8 an undefined constant is
    a fatal error. The plugin has no language constant to lose: the text comes
    from your settings or your store name.
  • 1.1.0's responsive_classic files for 1.5.8 and 2.0.0 never showed the mark in
    the desktop navigation, despite the README saying they did. The plugin shows
    it there on every layout.

Removed

  • The per-version tpl_header.php replacements and the ZCA Bootstrap edit
    instructions. Neither is needed any longer.

Supported: Zen Cart v1.5.8 through v3.0.0, PHP 7.4 through 8.5. Install Trademark_v2.0.0.zip through Modules > Plugin Manager. Full documentation is in the readme.html inside the package, and the support thread is https://www.zen-cart.com/threads/205827/

SHA-256 of the zip: 83b5a8a79bcb7cc90af746d3dd8eba6340faafed022897ecc5f56603f813f346


Package re-cut 2026-09-10: the LICENSE file no longer cites the dead http://www.zen-cart.com/license/2_0.txt URL. No code changes; the plugin is otherwise identical to the original release.

tradeMark 1.1.0

Choose a tag to compare

@dbltoe dbltoe released this 06 Jan 18:28
4af8f11

Removes the need for additional definition files.
Adds directions for the latest version of ZCA Bootstrap.
Works with ZC 1.5.7 through 2.2.0 Alpha