Hi guys,

 

I have placed two DFWPs on a layout page. One displays a rollup of
"Recent Posts" for the root site while the other does the same for our
News subsite. At present both display at once.

 

What I would like to do (similar to audience targeting) is hide one or
the other based on the current site name. Anyone know if this can be
done within the XSL portion(s) of the page?

 

e.g. <xsl:if test="not($spweb.name = 'news'>

<xsl:template name="dvt_1"> 

...

 

I'm trying to avoid having to create a whole bunch of layout pages just
to display site-centric data for each site's article pages, or have more
than one site collection. Unless someone has a smarter idea?

 

Kind regards,

Paul

 



____________________________________________________________________________
This e-mail is intended for the use of the addressed recipient(s) only and may 
contain confidential and privileged information. If you have received this 
message in error, please delete the message and any attachments and copies 
immediately; and notify the sender by return e-mail.

Any views expressed in this message or any attachments are those of the 
individual sender and do not necessarily represent the corporate opinion of the 
Catholic Education Office (CEO), Sydney.

The CEO Privacy Policy is located at http://www.ceo.syd.catholic.edu.au
____________________________________________________________________________



------------------------------------------------------------------- OzMOSS.com 
- to unsubscribe from this list, send a message back to the list with 
'unsubscribe' as the subject.

Powered by mailenable.com

Reply via email to