Jump to content
IC Essentials

Tags Manager


Recommended Posts

  • Administrators

Tags Manager


This application lists all used tags in the ACP and allows you to change them, which is really handy if you need to fix some typos.

It also allows you to color your tags

Attention: There's a known bug where the tags in the search index aren't updated when Elastic Search is being used.

 


 

Link to comment
Share on other sites

  • 2 weeks later...
  • 4 months later...
  • Administrators

Yes you can delete them. 
Not sure about merging, but I think it should work by just changing the old value to the new one. Will test it later today or tomorrow and report back 

  • Like 1
Link to comment
Share on other sites

  • Administrators

I'm sorry, delete won't work, but updating/merging works.

 

So if you have e.g. following tags:

test

tesr

tst

 

you can change test and tst to test and any content with these tags with the typo will be changed to the correct "test" tag.

I have flagged your post as suggestion to not forget about the deletion request, shouldn't be hard to implement:) 

  • Like 1
Link to comment
Share on other sites

  • 4 months later...
  • Administrators

This needs to be wrapped in a try-catch block

 

// TODO Queue?
		foreach( \IPS\Db::i()->select( '*', 'core_tags', [ 'tag_text=?', $from ] ) as $row )
		{
			$cache=\IPS\Db::i()->select( '*', 'core_tags_cache', [ 'tag_cache_key=?', $row[ 'tag_aai_lookup' ] ] )->first();

there are some circumstances (bugs/3rd party issues) where a tag from core_tags isn't present in core_tags_cache so we need to catch any UnderflowException here

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.