ithieund - 2 months ago

Hi, I'm new to PyroCMS. I want to have page / post view display on the page / post detail. How can I archive that?

Thanks.

ryanthompson - 2 months ago

Pages don't use any templates outside of the page type layout. You can override post module views though (again outside of the post type layout). Check out this article on overriding views (posts for example): https://pyrocms.com/help/developer-tools/extending-pyrocms/overriding-views

Pages though - you would use page TYPES to structure your content data. You can even include theme views or something as well if you like.

Hope this makes sense!