Hi,
I am trying to output my entire HTML file (doctype, html, body, etc.) as a single block of code that is selectable. Put more directly I’m creating a CMS that builds eBlast templates and allows my client to copy/paste the code from EE into their EMS of choice. The following code has failed.
<?php echo htmlspecialchars('{embed="/newsletters/html/"}')?>My template is set to accept PHP and parse on output. I understand that EE parse order does embed templates after the PHP Output. So here I am stuck.
I haven’t been able to find any plugins or solutions to help me overcome this. I’m sure there is a smarter solution so I was hoping the brains on the forums might be able to help out?