I've created a new Plugin that uses a controller and ContentService to add new nodes that are children of the parent node. This is updating fine.
What I'd like is that after the update (and notification tells the user that the update is done), that the content tree is refreshed so that when they click content, the new children of the parent are there. At present, when someone clicks, the tree is the old version. If they refresh the page, the nodes are there.
but I get an error of Could not find the tree content, activeTree has not been set
Is there something wrong with my settings, or is there any way to do this. I don't mind switching node if necessary, but I'd rather not have to. I don't even mind if I "unload" the Content node, so that when they click on Content, it does a full reload.
Updating Content and Refreshing the Tree
Hi,
I've created a new Plugin that uses a controller and ContentService to add new nodes that are children of the parent node. This is updating fine.
What I'd like is that after the update (and notification tells the user that the update is done), that the content tree is refreshed so that when they click content, the new children of the parent are there. At present, when someone clicks, the tree is the old version. If they refresh the page, the nodes are there.
I've tried using
but I get an error of Could not find the tree content, activeTree has not been set
Is there something wrong with my settings, or is there any way to do this. I don't mind switching node if necessary, but I'd rather not have to. I don't even mind if I "unload" the Content node, so that when they click on Content, it does a full reload.
Thanks in advance.
is working on a reply...