Hello,
it is a little bit confusing for me to use your php class, because i doesn't know how the db table structure is.
Can you publish an db dump file with all needed tables.
When setting the position higher, the remaining elements are shifted out of position order
How to make the rebuild work correctly?
Insert new element $this->tree->reBuildPosition($insert_id, (int)$data['bra_pos'], $parent); $this->tree->rebuild();