Ordering "order" For Articles Addon - Question | JoomShaper
🎃 Halloween Sale is Live! Get 35% OFF on all plans. Sale ends soon! Get Offer

Ordering "order" For Articles Addon

MH

Manuel Horne

Feature Request 1 year 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 1 year ago #150350

Hi Manuel,

Thanks, added to wish-list already.

0