Advertisement

Tag Filtering (No Tag assigned)

General questions relating to Joomla! 4.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
R_Rabbit10
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Jul 23, 2009 4:23 pm

Tag Filtering (No Tag assigned)

Post by R_Rabbit10 » Thu Jan 23, 2025 6:13 pm

I have about 5000 articles on my Joomla site with an unknown number of articles without a TAG.
I need to assign TAGS to those articles.
Is there an easy way from the Administrator back-end Content->Articles to filter just those articles that do not have a TAG?
"Filter Options -> Tag" does not have a "No Tag"/"Empty" option, so does not work. There is also no option available to display a "Tag" column in the article overview screen.

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

Re: Tag Filtering (No Tag assigned)

Post by imanickam » Fri Jan 24, 2025 9:27 am

One way would be to execute the following SQL in tools like phpMyAdmin.

Code: Select all

SELECT `id`,`title` FROM `xyz_content` WHERE `id` NOT IN (SELECT DISTINCT (`content_item_id`) FROM `xyz_contentitem_tag_map` WHERE `type_id` = 1) ORDER BY `id`;
Note:
Substitute xyz with the database/table prefix of your joomla installation/site
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

R_Rabbit10
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Jul 23, 2009 4:23 pm

Re: Tag Filtering (No Tag assigned)

Post by R_Rabbit10 » Fri Jan 24, 2025 4:41 pm

imanickam wrote: Fri Jan 24, 2025 9:27 am One way would be to execute the following SQL in tools like phpMyAdmin.

Code: Select all

SELECT `id`,`title` FROM `xyz_content` WHERE `id` NOT IN (SELECT DISTINCT (`content_item_id`) FROM `xyz_contentitem_tag_map` WHERE `type_id` = 1) ORDER BY `id`;
Note:
Substitute xyz with the database/table prefix of your joomla installation/site
Thank you.

Advertisement

Post Reply

Return to “General Questions/New to Joomla! 4.x”