difference between page types and page templates?

Permalink
I have just read this and i am still a bit confused:
https://www.concrete5.org/documentation/using-concrete5-7/dashboard/...

I come from a 5.6 background and i am struggling to understand how page templates are different from page types and why we need the two?

From what i have read.. page types sound the same as page templates. e.g if i add a page template it will map to a file in my theme. thats the same as a page type?

What new functionality does page templates bring that just page types did not have in 5.6?

Then i will understand :)

chris123uk
 
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi chris123uk,

Here is an additional explanation.

http://www.concrete5.org/community/forums/5-7-discussion/page-types...
chris123uk replied on at Permalink Reply
chris123uk
Thanks. I did search for this before posting but didn't come across that! thats super helpful.
juddc replied on at Permalink Best Answer Reply
juddc
Here is my 2 cents... The abstraction is kinda hard to wrap your head around.

A Page Template is anything with a hard-coded php file in your theme folder (otherwise default.php is used) and a Page Type is a system-based template that can be created by using your hard-coded Page Templates to work from.

For example, I built 2 Page Types for a site recently that both ran off the same Page Template - allowing me to make differences in the page layout & attributes without having to have a separate hard-coded Page Template in my theme folder. Quite slick, really.

It looks as though this separation is meant as a way to cut down on having hard-coded Page Templates in your theme, which I for one welcome. Hope this helps.
chris123uk replied on at Permalink Reply
chris123uk
hard to wrap my head around lol but getting there now. thx