Sort post menu [Deleted]

AndyB

Well-known member
AndyB submitted a new resource:

Sort post menu - Sorts post menu links.

Premium upgrade:

This XF2 add-on along with the entire collection can be purchased for $25.00 USD. Your Premium upgrade will allow you to download as many XF2 add-ons as you like for one year. Please see the entire collection located in the Resources area at this URL:

https://www.xf2addons.com/

Note: all my XF1 add-ons are still 100% free and are supported by donations.

Description:

Sorts post menu links.

(Example before add-on is run)...

Read more about this resource...
 
Code:
        $finder = \XF::finder('XF:TemplateModification');
        $results = $finder
            ->where('template', 'post_macros')
            ->where('find', '<xf:if is="$hasActionBarMenu">')
            ->order('addon_id', 'ASC')
            ->fetch();


It doesnt matter if i use ASC or DESC; there is no change for me.
 
Back
Top Bottom