-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[6.0] New module - Category Tags #38752
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
base: 6.0-dev
Are you sure you want to change the base?
Conversation
Co-authored-by: Konstantin Kolos <[email protected]>
FUNCTIONS
Accordingly, it is necessary to test 1-3 items. |
I really appreciate your efforts, but this module would be a perfect fit for the extension directory. |
99% of developers need the functions of this module. But as in any other module, all the functions of each module are used by 20%. We can make the default values simple, disable the tree mode by default. Would you personally use such a module? In any case, opening tags in the form of a blog is a very useful feature. Otherwise, working with tags is not convenient in principle. Even in the blog category component there is a tag selection setting. Thus, the module works similarly to the function of the Blog Category component. We can simplify the selection of a category to the selection of a single category. In this case, there will be no more duplicate identical tags. |
Hey @korenevskiy we had a long discussion in the maintainer team and would like to see something like your module in the core. But as we currently go the way "one module for all" could you do the same and integrate the |
For consistency with other modules shouldnt this be called "Tags - Categories" and the files renamed accordingly to mod_tags_categories. Also as these are new files then the copyright should be 2024 (now - sorry its taken so long that this needs to be changed) As this is a new module then it needs to be added to the install sql and the update sql It also needs to be added to the list of core modules here
|
oops cross posted with @bembelimen |
I have tested this item 🔴 unsuccessfully on f95b0da Please provide a precise walkthrough to install and configure module for successful replication. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38752. |
Hello tested it but unsuccessfully. Tested in multilanguage environment FR/ENG. Please provide a precise walkthrough to install and configure module for successful replication. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38752. |
This pull request has been automatically rebased to 5.3-dev. |
Understand that the module does not affect multilingualism in any way. Please tell me more precisely in which folder and which file is missing for the language. |
@brianteeman The team's decision was correct, that it is impossible to produce unnecessary modules. But this module is superficially similar to mod_popular_tags, but completely different in targets. |
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.
update create year
This pull request has been automatically rebased to 6.0-dev. |
Actual result BEFORE applying this Pull Request
Previously, the display was very restrictive. Tag links opened the tag component. But the problem is that the Tag Component does not have a mode for displaying articles as a blog. At the same time, the display of the list of materials of one tag must be made additional layout.
Expected result AFTER applying this Pull Request
The new module allows you to display tags in the form of a tree, This will allow you to use tags to display as a catalog of categories. Every developer faces a problem when an article needs to be placed in 2(3) different categories at once. For example, an article can simultaneously contain future news, as well as an article can contain information about the PHP language, as well as contain information about gifts. By opening the module tag link, a list of blog materials will be displayed.
While deleting the material tag, the material link remains the same. But if we moved an article from one category to another, the article link would change. Now the article link will remain the same, and tags can be used instead of categories.
Functions
Accordingly, it is necessary to test 1-3 items.
.
Future
Perhaps in the future, for the BLOG component, you can add a display in the title of the tag name for which the BLOG and image are displayed.
Possible problems
A known problem.
After clicking on the tag links, the Category, Blog component stores this tag in the cache, and later, when opening any Category and Blog links, materials with the last open tag will be displayed.
A quick solution to the problem.
In the link settings in the component menu, in the tag selection field, you must specify the selection of an empty tag. This will allow you to open links by resetting the tag filter in the cache.
The required Solution to the problem.
It is required to make changes to the code of the Category and Blog component so that links without the selected tag reset the tag filter in the cache.
Should the module be able to: (One to choose from.) Answer the question.
But we must take into account that another module, "List of materials", shows links without linking to menu items.
Download This module.
https://korenevskiy.github.io/mod_category_tags/mod_category_tags.zip