Listing Content Parts

Topics: Writing modules
Mar 1, 2016 at 6:46 PM
Hi,

I've written my first Content Part and now I'm wondering how I should go about creating a front-end searchable listing of these parts.

This is a Forms part that I created (similar to IRS forms). I can create forms in the dashboard and view them individually on the front-end. Next, I need to create something similar to this to be able to search and filter on them: https://www.ftb.ca.gov/forms/search/index.aspx

I'm fairly new, so I'm still trying to figure out the best way to do things. Is the best thing to create something like a FormListPart to do this?

Thanks,
Matt
Apr 11, 2016 at 10:58 AM
Edited Apr 11, 2016 at 11:08 AM
Hi there!

I would be interested to know the best approach as well. Is it
  • a widget with Search (and to extend the widget - but how to pass the variables to the search engine Lucene?)
  • Or using projections and building all by yourself (as you can see e.g. in an AdminController for user management in Orchard or described in a previous post)?
Greetings

Moor