hey, guys, I'm working on a new plugin idea and I would like to use the idea Zephyrus's store plugin. in that plugin, there is the items.txt file which if you have a file that looks like.
PHP Code:
"Node"
{
"Menu1"
{
"Item1"
{
//...
}
}
"Menu2"
{
"Item2"
{
//...
}
"Menu3"
{
"Item3"
{
//...
}
}
}
}
it would make it into a menu with the correct submenus and items. so I took a look at the Store_WalkConfig function in the plugin but I don't understand what's going on there like when is he saving an item and when is he saving a menu and how is he saving an item, make/explain what is he doing? like, add comments on the code or something.
__________________