You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I follow your example to use your fantastic class.
I've just configured it to create a tree for my categories.
One essential question is how to create a nav menu ? I see a method like getPath but it's to retrieve a fragment of a tree.
In the class I see BaobabNode($id, $lft, $rgt, $parentId[, $fields=NULL]) how can I use this to display a nav menu with my adding fields (name and slug).
There is an other way with getDescendants but it only returns node's ID but not the adding fields.
Thanks for your answer,
Regards
The text was updated successfully, but these errors were encountered:
how did you configure the database? i am having an error:
CREATE PROCEDURE Baobab_GENERIC_DropTree (
IN node INTEGER UNSIGNED,
IN update_numbers INTEGER)
LANGUAGE SQL
DETERMINISTIC
MODIFIES SQL DATA
BEGIN
DECLARE drop_tree_id INTEGER UNSIGNED;
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 10.
Hello,
I follow your example to use your fantastic class.
I've just configured it to create a tree for my categories.
One essential question is how to create a nav menu ? I see a method like getPath but it's to retrieve a fragment of a tree.
In the class I see BaobabNode($id, $lft, $rgt, $parentId[, $fields=NULL]) how can I use this to display a nav menu with my adding fields (name and slug).
There is an other way with getDescendants but it only returns node's ID but not the adding fields.
Thanks for your answer,
Regards
The text was updated successfully, but these errors were encountered: