RE: 2007 - currentPublishingSite

2011-06-08 Thread Paul Noone
: Tuesday, 7 June 2011 11:49 AM To: ozMOSS Subject: RE: 2007 - currentPublishingSite Sweet. I was that close. ;) Thanks Dan. From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Daniel Brown Sent: Tuesday, 7 June 2011 10:58 AM To: 'ozMOSS' Subject: RE: 2007

RE: 2007 - currentPublishingSite

2011-06-08 Thread Daniel Brown
site when you run this code? -DB From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Paul Noone Sent: Wednesday, 8 June 2011 3:36 PM To: ozMOSS Subject: RE: 2007 - currentPublishingSite Unfortunately this check still fails to identify the name of the web

RE: 2007 - currentPublishingSite

2011-06-08 Thread Paul Noone
] On Behalf Of Paul Noone Sent: Wednesday, 8 June 2011 3:36 PM To: ozMOSS Subject: RE: 2007 - currentPublishingSite Unfortunately this check still fails to identify the name of the web. This function is part of a feature receiver at site creation. I'm wondering whether it's unable to get the name

RE: 2007 - currentPublishingSite

2011-06-08 Thread Paul Noone
...@ozmoss.com] On Behalf Of Paul Noone Sent: Wednesday, 8 June 2011 3:36 PM To: ozMOSS Subject: RE: 2007 - currentPublishingSite Unfortunately this check still fails to identify the name of the web. This function is part of a feature receiver at site creation. I'm wondering whether it's unable to get

RE: 2007 - currentPublishingSite

2011-06-08 Thread Paul Noone
Of Paul Noone Sent: Thursday, 9 June 2011 8:47 AM To: ozMOSS Subject: RE: 2007 - currentPublishingSite Wouldn't you use currentPublishingSite.Title? Beats the heck out of me. That's why I'm asking. :) Without fully seeing what your trying to do... I assume you passing in currentPublishingSite

Re: 2007 - currentPublishingSite

2011-06-06 Thread Dan Sheedy
Hey Paul. I think you can test the current web title with; if (SPContext.Current.Web.ToString() == News) { } On Mon, Jun 6, 2011 at 1:34 PM, Paul Noone paul.no...@ceosyd.catholic.edu.au wrote: Hi all, ** ** I am trying to check if the current site’s Title (or Name) equals “News”

Re: 2007 - currentPublishingSite

2011-06-06 Thread Dan Sheedy
Wanted to caveat that with the fact I'm not a coder ;) On Tue, Jun 7, 2011 at 10:52 AM, Dan Sheedy sheedy...@gmail.com wrote: Hey Paul. I think you can test the current web title with; if (SPContext.Current.Web.ToString() == News) { } On Mon, Jun 6, 2011 at 1:34 PM, Paul Noone

RE: 2007 - currentPublishingSite

2011-06-06 Thread Paul Noone
Thanks. Will give it a go. I'm sure it should be that simple. Coding isn't the problem. Finding a detailed API on the other hand... :) From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Dan Sheedy Sent: Tuesday, 7 June 2011 10:56 AM To: ozMOSS Subject: Re: 2007

RE: 2007 - currentPublishingSite

2011-06-06 Thread Paul Noone
Sweet. I was that close. ;) Thanks Dan. From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Daniel Brown Sent: Tuesday, 7 June 2011 10:58 AM To: 'ozMOSS' Subject: RE: 2007 - currentPublishingSite SPContext.Current.Web.Title http://msdn.microsoft.com/en-us/library