Skip to content

AddNewChildFirst

Roland Toth edited this page Mar 13, 2018 · 3 revisions

Add new page as first child instead last

A new page will be added as a first sibling if its template matches the template enabled in this submodule. Unlike setting the sorting on the parent page this tweak enables manual sorting afterwards. Idea is based on horst's PageTree Add New Child Reverse module and re-thought by abdus/adrian using $pages->sort() available since ProcessWire 3.046.

Clone this wiki locally