I have used ChildrenOf(about-us), which works fine, but when i change the page type (of the page on which the control is used (not the about-us page), it stops working...then the control ChildrenOf(about-us) does not have no children no more... - what am I doing wrong?
Ok, it seems I solved this by creating a whole new page type... One of the main criticism of the whole silverstripe system would be that it seems I am forever "flushing" I am always saving and using the db/build?flush=1, while holding the shift key and still it does not do no nothing ;-) ... sometimes it takes forever for changes to be updated or for old information to disappear... this takes the fun away from the building, because you are working with "ghost" pages it seems.... Is there any way to improve this?
example... i load a page - i get some sort of php error.... I load again, I get an outdated page.... I load again, I get the new page...
part of this is that is also seems that I have to flush each page individually to update it.... How can I update the whole site AND the CMS all at once?
are you clear about the difference between "?flush=1" and "/db/build" ?
The way you're talking it sounds like you might be unnecessarily running dbbuild, however in any case it would be good to get to the bottom of the caching issue you're having!
It's true that ?flush=1 only seems to clear the cache of the current template. I've noticed this behaviour. Perhaps we need to either make it clear all templates (making the process longer, but a more worthwhile endpoint), or make a new command like ?flushall=1?