This project is read-only.

Wrappers and part placement

Topics: General, Troubleshooting, Writing modules
Sep 10, 2011 at 6:50 PM

I have created a part where the wrappers from the module "NGM.OpenAuthentication" are injected:

  • Wrappers_Account_Facebook_LogOn
  • Wrappers_Account_Twitter_LogOn

like: context.Shape.Metadata.Wrappers.Add("Wrappers_Account_Facebook_LogOn");

The problem with this is that i want to show the wrappers on top of the part content itself.

I tried al kinds of placements but it didn't work out. Can someone please help me with this?



Sep 10, 2011 at 7:16 PM

Ok i managed to get this working by creating a dummy view cshtml and inject the wrapper to this shape instead of the original part shape. Is there a nicer solution for this?