Hey all,
I’ve been struggling with this one silly thing. I’m trying to get the URL of the site from the results. So what I mean is:
If I have a CQWP that I place on: http://site/a/
The query looks at content BELOW that site
It searches for a particular content type
I want to create a link to the site where the content type resides
so rather than: http://site/a/subsite/contenttype.aspx
return: http://site/a/subsite
LinkUrl didn’t give me that url so…any ideas?
Hi Andrey,
the problem is, I’m not quite sure what the URL would be. I mean, if I could use some sort of relative Url or what not, that’d be ideal. Because right now that URL attribute just returns the current URL rather than the URLs of where the content resides.
Hi, you could create your custom XSL Style for CQWP and modify LinkUrl in it to get what you want. (example)