Ordering "order" for articles addon - Forum | JoomShaper
Staff replied Feature Requests

Ordering "order" for articles addon

Asked by Manuel Horne 2 years ago Last activity 2 years ago

Hey guys,
I have seen this request a couple of times throughout some threads.
Can you please add ordering "Joomla! article order" to the Article Addon in Page Builder in order to render the articles exactly like manually ordered in the article manager.

The only lines to add in the files are in /com_sppagebuilder/helpers/articles.php on line 127:

} elseif($ordering == 'ordering') {
    $query->order($query->quoteName('a.ordering') . ' ASC');

and in /com_sppagebuilder/addons/articles/admin.php on line 85:

'ordering' => Text::_('COM_SPPAGEBUILDER_ADDON_ARTICLES_ORDERING_ORDERING'),

plus the corresponding language string.

Finding a way to override the helper class itself turned out to be too much of a workaround and should not be necessary.

Thanks in advance and cheers,
Manuel

1 reply

Paul Frankowski Senior Staff

Hi Manuel,

Thanks, added to wish-list already.

Log in to reply.