Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Reload Sitetree

Go to End

2 Posts   1089 Views


Community Member, 13 Posts

1 July 2011 at 1:41am

Hi Folks,

I have wrote a function thats change the ParentID of a Page.
After reload the browser the Sitetree in CMS show the changed Page under right Parent Page.
How can I refresh the CMS Sitetree by Code for example in function onAfterWrite()?

Thanks a lot.


Forum Moderator, 1848 Posts

1 July 2011 at 4:08am

probably not the answer you were looking for (as it would reload the entire admin) but possibly add something like...