I have implemented "Employee Directory" on my portal using People Search Core Result Webpart. I want to create two column layout to display the results. How can I do that.


You could use the DataView web part to help you style your search results.

Here an example of the exact same exercise, perfectly valid under SP 2010/2007



In your XSLT you can use a [position()mod 2=1] predicate to select results for the first column and then use following-sibling::* to select the corresponding result for the second columns.

See Producing a two-column, side-by-side view with XSL

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.