Apr 14, 2013 at 7:40 AM
Edited Apr 14, 2013 at 7:48 AM
|NEVERMIND, I had a placement.info line in my layout that was routing the shape to non-existant Zone. Sorry.
I have a driver that returns a ContentShape():
return ContentShape("Parts_MinisiteBlob_Menu", () =>
return shapeHelper.Parts_MinisiteBlob_Menu(Menu: menuShape);
This code is getting hit no worries.
My placement.info has the following line:
<Place Parts_MinisiteBlob_Menu="Content" />
I have a file in /Views called 'Parts.MinisiteBlob.Menu.cshtml'. This view never gets hit and shape does not render to the page.
I don't really know what else to try :/
If I rename the ContentShape() output by the driver to "Parts_MenuWidget" then it
hit the view for that part. But I don't want to use that view, I want to use my own. So to me it
like it might be an issue with Placement if it's working for one name but not another.
Note: If I hack the code out of the driver and put it directly in the layout to make the shape, then call @Display() on the shape, it renders just fine.