Feature Language Change PR-5.2-dev Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
3 Jun 2024

Pull Request for Issue #43404 .

Summary of Changes

This single module is intended to do everything that all the other articles modules can do but in a single unified module.

With this module you can create modules either as a list of title only or with all the different parts of an articles.

In addition you can group and filter content by a variety of criteria

Testing Instructions

apply the pr and discover install the module.
You can now create as many content modules as you need in order to test all the different options

Note

There may be some legacy style code which should be replaced (pr welcome)

The default layout is intentionally crude but it can be styled if requested (pr welcome)

This is not a direct replacement for the existing modules. In some use cases there are additional functionality. In a few cases functionality is not present eg hide on child articles as they are redundant with other core features now (or soon to be present)

Expected result AFTER applying this Pull Request

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

a866069 3 Jun 2024 avatar brianteeman sql
ac006c5 3 Jun 2024 avatar brianteeman xml
460f801 3 Jun 2024 avatar brianteeman sort
avatar brianteeman brianteeman - open - 3 Jun 2024
avatar brianteeman brianteeman - change - 3 Jun 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 3 Jun 2024
Category SQL Administration com_admin Postgresql Installation Language & Strings Modules Front End
959a1e1 3 Jun 2024 avatar brianteeman cs
avatar brianteeman brianteeman - change - 3 Jun 2024
Labels Added: Language Change PR-5.2-dev
avatar brianteeman brianteeman - change - 3 Jun 2024
The description was changed
avatar brianteeman brianteeman - edited - 3 Jun 2024
avatar brianteeman brianteeman - change - 3 Jun 2024
Labels Added: Feature
avatar brianteeman
brianteeman - comment - 3 Jun 2024

branch updated to retrigger drone which is failing on unrelated items

avatar brianteeman brianteeman - change - 3 Jun 2024
The description was changed
avatar brianteeman brianteeman - edited - 3 Jun 2024
avatar richard67
richard67 - comment - 3 Jun 2024

branch updated to retrigger drone which is failing on unrelated items

@brianteeman Not unrelated. See my review comment on the postgresql/base.sql file.

avatar richard67
richard67 - comment - 3 Jun 2024

@brianteeman It needs to add the new module to the extensions helper to this section here https://github.com/joomla/joomla-cms/blob/5.2-dev/libraries/src/Extension/ExtensionHelper.php#L133-L157 , with respect to alphabetical ordering within that section.

e87be56 3 Jun 2024 avatar brianteeman sql
avatar joomla-cms-bot joomla-cms-bot - change - 3 Jun 2024
Category SQL Administration com_admin Postgresql Installation Language & Strings Modules Front End Administration com_admin SQL Postgresql com_categories com_languages com_menus com_modules Language & Strings Installation Layout Libraries Modules Front End
avatar drmenzelit
drmenzelit - comment - 4 Jun 2024

I think, there is something missing, you call the layout '_items' here:
<?php require ModuleHelper::getLayoutPath('mod_content', $params->get('layout', 'default') . '_items'); ?>
but there is not such file in the module

avatar brianteeman
brianteeman - comment - 4 Jun 2024

Did you try it?

Did you look at the layouts in other modules and how they are called?

avatar drmenzelit
drmenzelit - comment - 4 Jun 2024

Yes, I tried it. List only works. When I try the other options I get a fatal error
grafik

The module mod_articles_category has a similar layout call, but there is a default_items.php file in the tmpl folder
<?php require ModuleHelper::getLayoutPath('mod_articles_category', $params->get('layout', 'default') . '_items'); ?>

avatar brianteeman
brianteeman - comment - 4 Jun 2024

sorry I was replying from my phone. a file was missing from the commit.

avatar joomla-cms-bot joomla-cms-bot - change - 4 Jun 2024
Category SQL Administration com_admin Postgresql Installation Language & Strings Modules Front End com_categories com_languages com_menus com_modules Layout Libraries SQL Administration com_admin Postgresql Installation Language & Strings Libraries Modules Front End
avatar crimle crimle - test_item - 18 Jun 2024 - Tested successfully
avatar crimle
crimle - comment - 18 Jun 2024

I have tested this item ✅ successfully on 3a75ffd


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43610.

avatar viocassel viocassel - test_item - 18 Jun 2024 - Tested successfully
avatar viocassel
viocassel - comment - 18 Jun 2024

I have tested this item ✅ successfully on 3a75ffd


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43610.

avatar richard67 richard67 - change - 18 Jun 2024
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 18 Jun 2024

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43610.

avatar Quy Quy - change - 19 Jun 2024
Labels Added: RTC
avatar drmenzelit
drmenzelit - comment - 21 Jun 2024

With the correct combination one can get almost the same as with the current modules. Only for 2 I was not able to do so:

  • Articles - Archived -> Filter Archived Artcles only
  • Articles - Categories
  • Articles - Category -> Select category, play with parameter, use filter, group them, etc.
  • Articles - Latest -> Change ordering to newest first
  • Articles - Most Read -> Change ordering to hits
  • Articles - Newsflash -> Select category, play with parameter, use filter, group them, etc.
  • Articles - Related

It is possible to select a header level, but that is not being used in the layout
grafik

avatar brianteeman
brianteeman - comment - 21 Jun 2024
  1. Articles Related & Articles Categories - I deliberately didnt include these ones as they're pretty useless and as this new module is an addition instead of a replacement I didnt see the point.

  2. item_heading is a weird one. Will need to look into it further but a quick check shows it is present and used in mod_articles_news and is present and NOT used in mod_article_categories

avatar drmenzelit
drmenzelit - comment - 21 Jun 2024
  1. Thank you for the explanation. I use the two modules sometimes, Articles Related more, although I find it weird that you need to set keywords instead of tags, but that is another story ;-)
  2. It is indeed weird. Maybe we can add "none" as option for cases, where one want to have only a list of titles without a specific heading
avatar brianteeman
brianteeman - comment - 21 Jun 2024

There may be other params that are not presented correctly. More eyes => find more bugs

avatar richard67 richard67 - change - 26 Jun 2024
Status Ready to Commit Pending
avatar richard67
richard67 - comment - 26 Jun 2024

Back to pending due to previous comments which suggest further improvements and completions.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43610.

avatar pe7er
pe7er - comment - 26 Jun 2024

Thank you @brianteeman for this module! And everybody else for the feedback!

Regarding the currently missing “Articles - Categories” and “Articles - Related” views:
We discussed about that in CMS Maintenance Team and decided that we do not need those:

  • The “Articles - Categories” shows Categories and should not be part of the new module.
  • The “Articles - Related” uses some outdated fields which might be removed in Joomla 6.

We would like to have a couple of improvements before we can add it to the core:

  • Because the module does only articles stuff, we would like to re-title the module to mod_articles.
  • We would also like to have item_heading implemented.
  • And we would like to have more layouts so that the users can choose one without having to do a template override.

@brianteeman, do you have time and could you make those improvements?
If not, no problem. Then I can ask someone else to further improve your work.
Thanks!

avatar brianteeman
brianteeman - comment - 26 Jun 2024

I have the time to work on this when you do me the same courtesy and respond to my requests directly to you that you simply ignore.

avatar chmst
chmst - comment - 26 Jun 2024

We had a discussion in the maintainer channel about that, The RTC had to be reverted,.
Testers must know why their tests are rejected.

avatar richard67
richard67 - comment - 26 Jun 2024

@pe7er I think @brianteeman refers to #43625 with his comment #43610 (comment) .

avatar pe7er
pe7er - comment - 27 Jun 2024

I have the time to work on this when you do me the same courtesy and respond to my requests directly to you that you simply ignore.

I'm sorry if you feel ignored with another PR as that wasn't my intention.

I feel your reply as being passive aggressive. When I volunteered for my role as Joomla 5.2 Release Manager, I did not sign up for this kind of negativity. I do not accept this kind of behavior from anyone.
I have just added you to my .joomlaignore list.

avatar brianteeman
brianteeman - comment - 27 Jun 2024

@chmst agreed. As Richard realised I was talking about something else. I will just close this. Don't need or appreciate the comments. Seems that standards of behaviour don't apply to release leads. This is not the first time.

avatar brianteeman brianteeman - close - 27 Jun 2024
avatar brianteeman brianteeman - change - 27 Jun 2024
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2024-06-27 05:22:20
Closed_By brianteeman
Labels Removed: RTC

Add a Comment

Login with GitHub to post a comment