5328 Posts in 1598 Topics by 1168 members
|Go to End|
25 September 2012 at 11:51am
I came across this problem just now, because normally I would edit the parent page and then never touch it and only work on the sub/child pages.
So lets take the ArticlePage and ArticlePageHolder example from the tutorials which can be found here: Extending a Basic Site.
After editing the parent ArticlePageHolder and hitting the "Save & Publish" button, all child pages disappear and won't return until I refresh the tab on my browser with either 'F5' or Right Click > Refresh.
Now, my first thoughts was this could be a bug, but I also knew since it was something I hand coded to try and get a feel for creating these pages types, it could have been something I did that won't allow the tree to be updated after the save & publish function?
Any help would be awesome. I'm providing screenshots to show what happens and also providing my ArticlePage code and ArticlePageHolder code.
25 September 2012 at 11:06pm
I don't feel this is due to anything in your code... Just curious: does the same thing happen if you create childpages underneath a default Page type? Are you using (stable) 3.0.2?
25 September 2012 at 11:56pm
I was experiencing the same thing. It's like the jquery wasn't updating the tree properly when clicking Save and Publish. Refreshing the entire page fixed the problem, but it was a little disconcerting at first to see things disappear. I haven't seen the problem yet since upgrading to 3.0.2.
26 September 2012 at 3:26pm
Yeah I had the same thing. So now things have been fixed with version 3.0.2. Which took me a while to get working considering some minor things I had to re-change in .htaccess. But it works!
Lesson learned: Always update your stuff.
Thanks for all who took a look at this for me.
|Go to Top|