Hi,
Embedded snippets work really well, except that they don't appear as editable in the admin UI.
I need to have a reusable block of code (for instance, an image carousel) that I can inject into different pages, so that the client can simply edit all the carousels in one place in the backend.
So I have created the block of carousel code and saved it as a template 'frise.php'. It uses repeatables, shows up fine in the backend, and can be edited.
Unfortunately I can't figure out how to inject 'frise.php' into 'presentation.php' and other templates of my site. I can't seem to get it to work using masterpage. I keep getting a 'masterpage frise.php not found' error. I'm guessing I'm doing it all wrong
I'm sure it's quite simple. Can anyone help? Many thanks!
Ric
Embedded snippets work really well, except that they don't appear as editable in the admin UI.
I need to have a reusable block of code (for instance, an image carousel) that I can inject into different pages, so that the client can simply edit all the carousels in one place in the backend.
So I have created the block of carousel code and saved it as a template 'frise.php'. It uses repeatables, shows up fine in the backend, and can be edited.
Unfortunately I can't figure out how to inject 'frise.php' into 'presentation.php' and other templates of my site. I can't seem to get it to work using masterpage. I keep getting a 'masterpage frise.php not found' error. I'm guessing I'm doing it all wrong

I'm sure it's quite simple. Can anyone help? Many thanks!
Ric