? ? PR-4.4-dev Pending

User tests: Successful: Unsuccessful:

avatar carlitorweb
carlitorweb
14 Jan 2023

Summary of Changes

This PR converts mod_related_items to the new structure

Testing Instructions

  • Use Joomla 4.3
  • Create an instance of the module Articles Related. Note how it works.
  • Apply patch
  • Delete administrator/cache/autoload_psr4.php
  • Refresh the page, make sure the module still displays the same as before.

Link to documentations

Please select:

  • No documentation changes for docs.joomla.org needed

  • No documentation changes for manual.joomla.org needed

avatar joomla-cms-bot joomla-cms-bot - change - 14 Jan 2023
Category Modules Front End
avatar carlitorweb carlitorweb - open - 14 Jan 2023
avatar carlitorweb carlitorweb - change - 14 Jan 2023
Status New Pending
avatar carlitorweb carlitorweb - change - 14 Jan 2023
The description was changed
avatar carlitorweb carlitorweb - edited - 14 Jan 2023
avatar carlitorweb carlitorweb - change - 22 Jan 2023
Labels Added: PR-4.3-dev
avatar carlitorweb carlitorweb - close - 22 Jan 2023
avatar carlitorweb carlitorweb - close - 22 Jan 2023
avatar carlitorweb carlitorweb - change - 22 Jan 2023
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2023-01-22 02:39:53
Closed_By carlitorweb
avatar carlitorweb carlitorweb - change - 22 Jan 2023
Status Closed Pending
avatar carlitorweb carlitorweb - reopen - 22 Jan 2023
avatar joomla-cms-bot joomla-cms-bot - change - 11 Mar 2023
Category Modules Front End Administration Modules Front End
avatar carlitorweb carlitorweb - change - 28 Mar 2023
Labels Added: PR-4.4-dev
Removed: PR-4.3-dev
avatar joomla-cms-bot joomla-cms-bot - change - 28 Mar 2023
Category Modules Front End Administration Modules Front End
dc371de 29 Mar 2023 avatar carlitorweb cs
avatar carlitorweb carlitorweb - change - 31 Mar 2023
Labels Added: ?
avatar carlitorweb
carlitorweb - comment - 31 Mar 2023

@laoneo I revert the Helper in this one.

avatar joomla-cms-bot joomla-cms-bot - change - 1 Apr 2023
Category Modules Front End Modules Front End JavaScript Unit Tests
avatar carlitorweb
carlitorweb - comment - 1 Apr 2023

@laoneo here in the test, I created a menu item for show a single article view, and from there get the related articles.
I added to the db_createMenuItem the option link: 'index.php?option=com_content&view=article&id=1 where id=1 is the ID of the main article to view. Is correct this ID? For example, in my local site, I needed add id=15 because I had already some articles there.

avatar carlitorweb carlitorweb - change - 1 Apr 2023
Labels Added: ?
avatar carlitorweb
carlitorweb - comment - 1 Apr 2023

Nevermind now, I just featured the article, click on it, and get the related articles from there. So not matter what ID he will have, and by default joomla come with the featured menu item.

a4a6fe9 1 Apr 2023 avatar carlitorweb cs
avatar carlitorweb
carlitorweb - comment - 3 Apr 2023

I will include the cache

avatar laoneo
laoneo - comment - 3 Apr 2023

Please wait. @joomdonation will have a look tomorrow and when all works, then you can update. Otherwise you copy my mistakes.

avatar carlitorweb
carlitorweb - comment - 3 Apr 2023

Okay. I already tested in the category module, work fine. Mainly when need load in the article view.

avatar carlitorweb carlitorweb - change - 11 Apr 2023
Labels Added: ?
24a98b5 11 Apr 2023 avatar carlitorweb cache
avatar carlitorweb
carlitorweb - comment - 14 Apr 2023

@laoneo done

avatar laoneo laoneo - change - 14 Apr 2023
Labels Removed: ?
avatar laoneo
laoneo - comment - 15 Apr 2023

Cool, now we need some tests.

avatar drmenzelit
drmenzelit - comment - 18 Apr 2023

@carlitorweb can you update your branch?

avatar laoneo laoneo - change - 24 Apr 2023
Status Pending Fixed in Code Base
Closed_Date 2023-01-22 02:39:53 2023-04-24 16:19:12
Closed_By carlitorweb laoneo
avatar laoneo laoneo - close - 24 Apr 2023
avatar laoneo laoneo - merge - 24 Apr 2023
avatar laoneo
laoneo - comment - 24 Apr 2023

Thanks!

Add a Comment

Login with GitHub to post a comment