1. Octav
  2. RO CSVI
  3. Tuesday, 28 January 2020
  4.  Subscribe via email
Hello,
Please advise how to achieve this. I need to import new tags for articles i use file like this:
id,tag
1,tag1

It imports the new tag, but it does not remove the existent. How can i import tags and delete the old ones. Is it possible?
Accepted Answer Pending Moderation
Hello,
To delete old tags for an article you need to first delete the tag itself using Joomla tags import and by using tag_delete field(Set the value of this field to Y). When a tag is deleted it also deletes the relation of the tag with Joomla content or Joomla categories. You can then import new tags to articles using Joomla content import.
Kind regards,

Tharuna

=========================
If you use CSVI, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
But I do not want to delete the "old" tags. I just need to remove them from some articles. Is it possible?
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hello,
Delete tags for articles using Joomla content import is not possible as of now as there is no code for this feature yet. Can i ask you if you are looking at deleting tags for Joomla articles on every import or it is just for one import?
Kind regards,

Tharuna

=========================
If you use CSVI, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
OK, then it seems that i will have to delete the tag and then create it again with other id. Will do, if other solution is not available.
I need to periodically change custom fields and tags for some articles like this:
id,custom_field_name,tags
1,custom_field_value,tag1|tag2
It works fine with custom fields.
  1. more than a month ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
Hello,
OK, then it seems that i will have to delete the tag and then create it again with other id. Will do, if other solution is not available.

With our future release we are planning to come up with a solution for this issue. Will keep you posted.

I need to periodically change custom fields and tags for some articles like this:
id,custom_field_name,tags
1,custom_field_value,tag1|tag2
It works fine with custom fields.

With custom fields you are changing one value and not multiple ones so there is no issue. For tags, if it is one time import then you can delete the tag and article relation with MySQL queries.
Kind regards,

Tharuna

=========================
If you use CSVI, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 5
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!