Hi there,
I’m getting slowly back into the groove using EE, but I keep wondering if I really need to explicitly setup templates for each channel, although they are absolutely identical.
Actually I only have two types of templates: a multi-entry-view and a single-entry-view, which currently I’m embedding based on the url path of each channel.
So, I’m accessing the multi-entry-template for a channel like this:
{preload_replace:channel="{segment_1}"}
{site_header}
{embed="site/index-view" channel="{channel}"}
{site_footer}And the single-entry-template like this:
{preload_replace:channel="{segment_1}"}
{site_header}
{embed="site/single-view" channel="{channel}"}
{site_footer}It works beautifully, but it seems, that I have to duplicate those templates for each and every channel, just to get the path working. Am I missing the forest for the trees here or does it have to be like that?
I’d love to just setup those two templates in my site-template-group and use them from there.