I have to display a picture with a link on the masterpage of a sharepoint site. I also have a document library with a custom field named status. When in the library exists a document with the status "Active" the picture should be red with the link pointing to the document. When there is no Active document the picture should be blue and pointing to the library. Any ideas???
views:
86answers:
1
+2
A:
You could inline a content query or DataView webpart. Export the content query webpart to override the link to the xslt. You will need to create your own xslt file (my preference) or add a new style to the existing one.
Xslt is flexible enough to determine if there is an "active" document in the list and the html it displays can then be completely different.
For starters:
Nat
2009-08-20 21:13:33
As far as I know I can't add a webpartzone to a masterpage.
Andrei
2009-08-21 06:40:54
Oooh yeah, would have to be the layout page.
Nat
2009-08-24 01:30:59