Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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.

share|improve this question

2 Answers 2

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

http://techdhaan.wordpress.com/2008/06/03/moss-2007-employee-directory-web-part-using-search-and-data-view-web-parts/

share|improve this answer

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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