User tests: Successful: Unsuccessful:
Pull Request for Issue #5631.
When you create a new tag from com_tags component then save-events are triggered, but from com_content article edit layout after add a new tag events are missing.
I created a proposal for missing content event for
onContentBeforeSave and onContentAfterSave.
I put a raw context "com_tags.tag" but it may be changed to ex: typeAlias.
Method JHelperTags::createTagsFromField currently is not a static method so should be run as
instance method in addTagMapping at line 65:
$tags = self::createTagsFromField($tags);
It requires some content plugin with methods onContentBeforeSave and onContentAfterSave for context "com_tags.tag".
I want to use that for filter tag alias and title.
Status | New | ⇒ | Pending |
Labels |
Added:
?
|
Category | ⇒ | Tags |
Rel_Number | 0 | ⇒ | 5631 |
Relation Type | ⇒ | Pull Request for |
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-05-08 17:29:14 |
Closed_By | ⇒ | csthomas |
Status | Closed | ⇒ | New |
Closed_Date | 2016-05-08 17:29:14 | ⇒ | |
Closed_By | csthomas | ⇒ |
Status | New | ⇒ | Pending |
I created a mistake closing that request. I still think that this patch can help.
May be that commit is not beautiful, but complete tags events.
Events should be run when:
When some developer want to create some tag validation for articles then there is a problem.
What should I do when I want to filter tags and do not allow to creating tags with match regular pattern?
Please give me some advice.
What should I change for patch to be considered useful enough to be accepted?
Category | Tags | ⇒ | Libraries |
@csthomas I think this PR is the simplest solution to use right now. I would suggest in a future intervention the following :
Do you want me to test this PR ?
This PR wait a long time for any interest.
If you can please test.
You need some plugin which will catch that events. If there will be a success test then PR will be more interesting for others.
If more people would like more changes then I can try to find better solution.
I have tested this item
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-02-01 12:43:02 |
Closed_By | ⇒ | csthomas |
Testers please review comments on #5631
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9307.