Damn line breaks... Trying to post it from EI...maybe that's better?
It's time for me to start planning my firts advanced Umbraco function.
It's basically a search function that needs to filter pages based on a lot of parameters.
My Document Type has a lot of properties like:
Season: (Checkboxes: Winter, Summer, Spring, Fall)
Theme: (Dropdownlist: Theme1, Theme2, Theme3)
Text: (RTE text)
Now I want to create a usercontrol that has input fields for all the properties of the page, and does an auto postback so the sorting starts as soon as a checkbox is selected.
There are a few issues with this as far as I can see.
First of all I need to somehow sort the pages from the chosen values. Sencondly (and possibly more tricky) is that I need some of the input fields to be generated from the datatypes i've created in Umbraco. I need to do this so the search box will reflect the actual values if I for instance create a new Theme4.
How would you go about this? Would the sorting be easier to do in an XSLT template getting the values from querystring, or would I be better off loading the pages into a dataset and displaying the with a datagrid? (The site is not under heavy userload, so ease of implementation is preferred over performance.)
I hope to get your input on this.