Relative datasource

Aug 20, 2007 at 6:46 AM
Great web part!
My biggest need in regard to the Content Query functionality is to be able to make the query source releative to the page that the web part is placed on.
I want the content query to be placed on a page in a site that has a list with news-entries in it. The cqwp should list these news. I want to create a site template containing this setup, and it should be possible for administrators to create new sites anywhere in the site structure without having to correct the source field of the web part.
This is not possible with ecqwp, is it?
Isn't it an obvious need or am I thinking this the wrong way?
To solve the problem I thought about
  1. extending the web part or
  2. creating my own web part with code that sets the source of the ecqwp
Is there an easier way?
Oct 19, 2007 at 12:11 AM
I am not sure if that will be possible. I would appriciate it if you test and let us know.