Revert the look of Tags after an update to Joomla Topic is solved

Everything to do with Joomla! 4.x templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
SPDJoomla4
Joomla! Explorer
Joomla! Explorer
Posts: 276
Joined: Mon Jun 27, 2022 11:27 am

Revert the look of Tags after an update to Joomla

Post by SPDJoomla4 » Sun Oct 30, 2022 1:07 pm

Is there any way to find out everything that has changed between versions of Joomla?
I have been testing an update from 4.1.5 > 4.2.4 and I have found a difference in how a tags are being displayed in articles.

The challenge is that my page builder has also updated so I am not sure where the change came from so I'm not sure where to ask for help.

In case anyone would be interested. In the old version as you can see on this page - https://piningforthefjords.co.uk/catalo ... ding-guide
...that tag list has a Tag icon

If I inspect the page while hovering over Fallout 4 tag I see this code
Old Version

Code: Select all

<li class="list-inline-item tag-20 tag-list0" itemprop="keywords">
   <a href="/catalogue/resource-tags/fallout-4" class="btn btn-sm btn-info">
      <i class="fas fa-tag" aria-hidden="true"> </i> 
      Fallout 4
   </a>
</li>
Doing the same thing on the test subdomain
https://rctest.piningforthefjords.co.uk ... ding-guide

New Version

Code: Select all

<li class="tag-20 tag-list0" itemprop="keywords">
 <a href="/catalogue/resource-tags/fallout-4" class="">	Fallout 4 </a>
</li>
The <i> tag is no longer there and it seems a class list-inline-item has been removed from <li> tag

If that is part of the problem, any way I can put them back?
Last edited by imanickam on Sun Oct 30, 2022 4:18 pm, edited 1 time in total.
Reason: Moved topic » from General Questions/New to Joomla! 4.x to Templates for Joomla! 4.x. Also, modified the Subject to clarify the question.

User avatar
imanickam
Joomla! Master
Joomla! Master
Posts: 28206
Joined: Wed Aug 13, 2008 2:57 am
Location: Chennai, India

Re: Revert a change after an update

Post by imanickam » Sun Oct 30, 2022 4:13 pm

The code you are referring to comes from the Helix Ultimate framework and the file that contains the code is tags.php that is located in the directory \plugins\system\helixultimate\overrides\layouts\joomla\content.

You could override this file by copying and pasting the above mentioned file to the directory \templates\shaper_helixultimate\overrides\layouts\joomla\content. You could make appropriate changes to this file and you would be seeing the same behavior before you updated the files.

I have attached the modified file that I tested for your reference.

Following are the list of images during testing. You could notice the differences in how the tags are displayed.

(a) Joomla core tags with template Cassiopeia
joomla_cassiopeia_tags.jpg

(b) Tags in Helix Ultimate template - Original
helix_ultimate_template_tags_original.jpg

(c) Tags in Helix Ultimate template - Overridden
helix_ultimate_template_tags_overridden.jpg
You do not have the required permissions to view the files attached to this post.
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged

SPDJoomla4
Joomla! Explorer
Joomla! Explorer
Posts: 276
Joined: Mon Jun 27, 2022 11:27 am

Re: Revert the look of Tags after an update to Joomla

Post by SPDJoomla4 » Sun Oct 30, 2022 4:23 pm

Wow, thanks so much for the detailed response.
While I do vaguely remember I had to do something to get tags even displaying in Articles, I couldn't find any notes on it, my bad.

I have learned a lesson not to wait so long to do basic updates/testing and obviously take better notes :-)
Cheers

SPDJoomla4
Joomla! Explorer
Joomla! Explorer
Posts: 276
Joined: Mon Jun 27, 2022 11:27 am

Re: Revert the look of Tags after an update to Joomla

Post by SPDJoomla4 » Mon Nov 28, 2022 5:28 pm

I know is a month old but just wanted to thank you again, finally implemented the change and it worked a treat, so cheers very much!


Locked

Return to “Templates for Joomla! 4.x”