Articles addon uses modified date, not published date - Forum | JoomShaper
Solved SP Page Builder

Articles addon uses modified date, not published date

Asked by Peter Dowse 5 years ago Last activity 5 years ago

Hi Guys,

It seems the articles addons uses the modified date when choosing 'latest' in the 'oredering' options.
This makes no sense as if you edit an old article to update a link or fix a typo, that aritcle then becomes the 'latest' article.

How do we change the addon so that it uses the published date instead of the modified date?

Accepted answer

Marked as the solution
Ofi Khan Staff

Please go to this location: /components/com_sppagebuilder/helpers and replace articles.php file with the attached file. You need to unzip the file and then replace.

articles.php.zip

Then articles will always be ordered by modified date. But it will be erased with the future updates. So, keep this file with you separately. After updating everytime, replace the file.

2 more replies

Ofi Khan Staff

Hello Peter Dowse

By default, the latest sorting of the Article addon will sort your articles as per the published date.

Screenshot at Sep 24 12-34-06.png

Best regards

Log in to reply.