In Chapter 4, Managing Add-ons, we've had a quick, first look at the structure of a block. We're going to take a deeper look at the two elements of that structure:
What does this mean in more detail?
A core custom template can be found in
/concrete/blocks/<block-name>/templates
. Custom templates are optional though; you won't find a lot of templates by default.A custom template could also be placed in
/blocks/<block-name>/templates
. What's the difference to the location mentioned previously? You should never make any modification to a file in theconcrete
directory. This is why it's possible to override templates by using the same path without concrete at the...