J3 Issue ?
avatar mainetenants
mainetenants
4 Jun 2019

Create and save a tag during backend article creation.
Tag class is empty.
Open/edit/save/close tag in backend.
Tag class is changed to "label label-info".

I have confirmed this also happened in prior recent versions of Joomla.
Joomla 3.9.6

image

avatar mainetenants mainetenants - open - 4 Jun 2019
avatar joomla-cms-bot joomla-cms-bot - change - 4 Jun 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 4 Jun 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 4 Jun 2019
Labels Added: J3 Issue
avatar franz-wohlkoenig franz-wohlkoenig - labeled - 4 Jun 2019
avatar SharkyKZ
SharkyKZ - comment - 4 Jun 2019

This is an issue with your template. Although class is indeed not saved for tags created on the fly, the default tags layout uses label label-info class as fallback:

<?php $link_class = $tagParams->get('tag_link_class', 'label label-info'); ?>

Your template has a tags layout override (templates/shaper_helix3/html/layouts/joomla/content/tags.php) which does not use a fallback:

 <?php $link_class = $tagParams->get('tag_link_class'); ?>
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 4 Jun 2019

closed as no core Issue.
Please ask on Forum if further Informationsa are needed.

avatar franz-wohlkoenig franz-wohlkoenig - change - 4 Jun 2019
Status New Closed
Closed_Date 0000-00-00 00:00:00 2019-06-04 06:52:35
Closed_By franz-wohlkoenig
avatar franz-wohlkoenig franz-wohlkoenig - close - 4 Jun 2019

Add a Comment

Login with GitHub to post a comment