-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[5.3] Tags: Adding associations #39140
base: 5.3-dev
Are you sure you want to change the base?
Conversation
I have tested this item 🔴 unsuccessfully on 0d7ed82
I stopped the test here. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39140. |
@jamfx I did some fixes. Please test this again. |
administrator/components/com_tags/src/Helper/AssociationsHelper.php
Outdated
Show resolved
Hide resolved
Thank you for your contribution, unfortunately the 4.4-dev branch doesn't get new features. When #40181 is merged this pr should be rebased to 5.0-dev. Thanks for understanding. |
administrator/components/com_tags/src/Helper/AssociationsHelper.php
Outdated
Show resolved
Hide resolved
administrator/components/com_tags/src/Service/HTML/AdministratorService.php
Outdated
Show resolved
Hide resolved
// phpcs:enable PSR1.Files.SideEffects | ||
|
||
/** | ||
* Content associations helper. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this say
* Content associations helper. | |
* Tags associations helper. |
If so then other comments should be updated as well
After local installation of Full Package.zip tried installation of german and persian farsi, but |
thats a known issue when using a development package as there are no language packs available for that version. For testing you can download a language pack for 5,.1 directly and then use the extension installer https://downloads.joomla.org/language-packs |
I have tested this item 🔴 unsuccessfully on 418dfb1
Note 1: There is no difference if the tag is saved
Note 2: Tags associations tab looks different to article associations tab ( This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39140. |
This pull request has been automatically rebased to 5.3-dev. |
Pull Request for Issue #6687 .
Summary of Changes
Tags in Joomla have so far partial support for multilanguage capabilities and there was partial, non-working code for associations. This PR introduces associations completely, cleans up the code around this and the multilanguage features are brought up to par with the rest of the Joomla core components.
*
.tag_list_language_filter
option was removed, since it conflicts with how multilinguality works in all of the rest of Joomla. Now it automatically behaves like the rest when multilanguage is enabled.TagModel::save()
method has been largely removed and replaced with the call toAdminModel::save()
. The only thing that was kept was therebuild
of the nested set structure. The old code didn't have the code for associations included and I'm pretty sure some other stuff was missing here, too.*
as language value.Associations
toolbar button.Testing Instructions
Please first test the general functionality of tags. This means to create a few tags in the backend both via the component and by the input field in for example articles. Assign those tags to content items, create menu items in the frontend for these tags or the the "all tags" menu item type. Surf those pages in the frontend and check if everything is displayed correctly. Also create menu items with more than one tag selected for it.
In the next step, enable multilanguage mode and mark several content items with different content languages. Mark at least one tag as from one content language, create a second tag with another content language and associate these 2 tags. Check in the frontend that a tag view only shows content matching the current language and if you click on a flag, it should redirect to the associated tag.
Link to documentations
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
I don't know what we have to change here...