Ordering "order" For Articles Addon - Question | JoomShaper

Ordering "order" For Articles Addon

MH

Manuel Horne

Feature Request 2 months 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

0
1 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 months ago #150350

Hi Manuel,

Thanks, added to wish-list already.

0