I am trying to create a CMSPagePlaceHolder in code-behind. This is what I have so far:
CMSPagePlaceholder pph = new CMSPagePlaceholder();
CMSWebPartZone wpz = new CMSWebPartZone();
wpz.ID = String.Format("testZone");
pph.WebPartZones.Add(wpz);
phZones.Controls.Add(pph);
When I try to assign to pph.LayoutTemplate it says it takes an object of type ITemplate. I'm just wondering how I go about creating the ITemplate object.
If you could please provide an object, that'd be great!
Thanks,
Eric