I’m attempting to leverage Orchard to be a search provider (kind of) for an external data source. Essentially I'm just attempting to create a content type that would basically just save the search parameters and then load
data from an external data source when the content is viewed on the front end.
I've started out following Piotr's suggestion
here which works very well, but...my requirements differ in that I’d like to be able to create a content type that can be comprised of one or more “search criteria parts” and because of this the search results need to be tied
to the content type, not the content part(s) since there will be more than one.
That said, I’m not quite sure if/when/where I can handle an event like "onload" for a content type. Is it possible to create handlers/drivers for content types like you can for content parts? I can’t seem to find any documentation
about content type handlers, they all seem to be related to content parts.
Any help would be greatly appreciated!