Wednesday, September 9, 2009

Top Row / Custom Heading in CQWP

If you are wondering how to add a custom heading or image as a heading of CQWP or custom top row in your CQWP then don't worry, this is something very simple and easy to accomplish.

Open ItemStyle.xslt in SharePoint Designer and write down the following code withing your template



As you can see above mentioned code will put myImage.gif at the top of CQWP detail, which appears as heading of CQWP.

I hope this will save someone time in future.

No comments:

Post a Comment