This project is read-only.

writing widgets without migrration file

Topics: Writing modules
Nov 13, 2011 at 9:11 AM
Edited Nov 13, 2011 at 9:12 AM

I have a View called Part_test.cshtml.

It is displaying current time, date ....

now i can place it anywhere in the Theme via Filter (OnResultExecuting..).


But my goal is to place it via widgets in the admin backend. since I have no Migrationfile and no ContentPart, how can I realize this. I havent found any other module facing this problem.

As it looks its determind in the datamodel if its treated as widget ?

Nov 14, 2011 at 10:50 AM

You can create your own driver for an *existing* part. Since most content items have CommonPart, you might want to create ContentDriver<CommonPart> ... then you can push out the shape in the Display method.