How to customize the pages section in admin side of SilverStripe?


I want to consider a flag for pages which are defined on the admin side and load them based on this flag (I mean I want to load them if this flag is true), and also I want to load the rest of them in the separated section of the admin. I’ve added the flag in advance to related DataObject, but I have no idea how I can change its fetching DataObject methods.

Could you please help me to handle it?

I don’t have the slightest idea of what you are asking: what do you mean with “section”? and with “load”? why do you want to change how DataObjects are fetched?

In any case, sticking to your title, there is a whole chapter in the official docs related to customizing the CMS.