Skip to content

2.3.0

Choose a tag to compare

@dereuromark dereuromark released this 01 Oct 09:30
· 50 commits to master since this release

Improvements

Tag Colors

Tags now support an optional color field (hex format like #FF5733) for visual labeling, similar to GitHub labels.

You can use it in forms:

// In tag management forms
echo $this->Tag->colorControl();

And display colored tags in your templates:

 // Simple colored tags
echo $this->Tag->tag($tag);

// Tags with links
echo $this->Tag->tags($entity->tags, ['url' => '/tags/view']);

// Bootstrap badges
echo $this->Tag->badges($entity->tags);

// Bootstrap pills
echo $this->Tag->pills($entity->tags);

There are also several Tag helper methods available now, as well as ColorUtility for color and contrast handling.