I want to import item from another guestbook into phocaguestbook.
Can someone tell what the fields `lft`, `rgt` in the table xp2et_phocaguestbook_items` represents?
import form another guestbook
- Jan
- Phoca Hero

- Posts: 49134
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: import form another guestbook
Hi, lft and rgt columns are here because of ordering - it is left and right (next and previous) value of the post - so the tree traversal mechanism can be built.
See example

Items ordering: 4 -> 3 -> 2
After reordering: 2 -> 4 -> 3

Jan
See example

Items ordering: 4 -> 3 -> 2
After reordering: 2 -> 4 -> 3

Jan
If you find Phoca extensions useful, please support the project
