Question

Let's say I have multiple blogs on my Orchard site. How do I create a projection that shows posts only from the blog that I specify e.g. either by its name or id?

I think it can be done using a custom filter but there seem to be no doc/howto out there.

Please let me know where I should put the code too, I've been programming for ages but am very new to Orchard.

Était-ce utile?

La solution

You have to implement the IFilterProvider interface, you can see how to do it here: http://www.ideliverable.com/blog/writing-an-orchard-webshop-module-from-scratch-part-5

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top