Blog Sections Open

choiceTV: Reusing Existing TV Values or Adding a New One

An extras note about a custom TV input that combines a select field with the ability to add a new value on the fly.

A common manager problem is needing a select-style TV while still letting editors add a new option without leaving the form. The donor solution packaged that idea into a custom TV widget called choiceTV.

What it solved

Editors could choose from existing values already used in the project, but were not blocked if the needed value was new.

Installation pattern

  • place choiceTV.php in /assets/tvs/choicetv/
  • create a TV with custom input type
  • point its input options to @INCLUDE /assets/tvs/choicetv/choicetv.php

Why this was useful

It combined consistency and editorial freedom. Teams could keep reusing known values where possible while still allowing real-world content entry to move forward.

Source: original community announcement. Related package page: choiceTV package page.

Newer post

PHx 2.2.0 for Evolution CMS: Better Placeholders and PHP 5.3 Support

A concise overview of the PHx 2.2.0 improvements that mattered most in real Evolution CMS projects.

Older post

TagSaver: Normalizing Tag Storage for Better Filtering

An extras spotlight on TagSaver and the broader idea of moving tag data into proper indexed tables instead of storing comma-separated values in one TV field.