pavel.1991-tut wrote: Just do not be angry
I'm not angry, simply helping and restating what I mentioned already.
pavel.1991-tut wrote:
You say that ad-hoc templates are assigned by default.
I was wrong with this comment. They are only assigned by default if you choose a blank page or blank page with layout when creating a new page. See the image below:
If you choose "Use existing page template" the page will use that template you select (note you cannot select any ad-hoc template pages). If you choose "Use parent page template" the page will use the parent's defined template (ad-hoc or otherwise). If you choose "Create a blank page with layout" this option will create an ad-hoc template as will "create a blank page".
What I do when creating a new page (menu item) is if I don't have a template setup already I will create a blank page with layout and immediately create a new template in the page properties.
Again, it comes to understanding document types and how they work. I still think you may be confused on the "page" document type and your custom document type. The "Page" (cms.menuitem) document type acts like a page and uses page templates. Whereas with your custom document type or News or Article document type, they by default inherit the parent page template, UNLESS you specify it in the document type itself.
My suggestion for you would be to create a Page, then nest your custom document types below it and display them in a repeater. You'll see how easy it is to get things to work. Your transformation dictates how the items display on the page.