Zen Gallery Widget

Topics: Administration, Troubleshooting
Sep 18, 2012 at 9:47 AM


I was trying to add a gallery widget of zen gallery to the homepage of my client's website and realized that zen gallery didn't have a widget gallery. So I tryed to create a new content type "Gallery Widget" with the zen gallery part and stereotyped that content type has Widget.

The problem is I get an InvalidCastException because Orchard.Widgets.Models.WidgetPart is null, but the widget part is not available to add via the admin screens.

Do you have any idea on how to fix this?

Thanks in advance,


Sep 18, 2012 at 4:04 PM

Yes, it's a known bug that the widget part can't be added from the admin, but it's necessary to create a widget. You can only do that from code for the moment. Please vote this up: http://orchard.codeplex.com/workitem/19023

Sep 19, 2012 at 9:45 AM

Ok, thanks for the answer. Already voted the workitem up!

Nice job with orchard btw, I'm no expert but everytime I think about a useful feature you come up with it in the next few days.. :)