Why not just create a new layout for the homepage and put your custom footer in 
there?

Regards,

Paul

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Ajay
Sent: Saturday, January 31, 2015 11:03 PM
To: ozMOSS
Subject: Re: Different masterpages in site collection

thanks guys,
I can see it's too much work and unnecessary complexity with 2 masterpages.
I had different markup for footer for pages other than homepage, and will 
include in masterpage but do a simple display:none for rest of the sites footer 
in home page layout and include homepage footer in it's layout.

Cheers
A

On Thu, Jan 29, 2015 at 5:11 PM, Rob Bayly 
<rob.ba...@sharingminds.com.au<mailto:rob.ba...@sharingminds.com.au>> wrote:
If it's sub-sites, and not pages, then this may help. I forget where I found 
the original PowerShell script - but the following may work for updating 
sub-sites

        //INDIVIDUAL
        PS C:\<path>> $web = Get-SPWeb 
http://<site>/<subweb<http://%3csite%3e/%3csubweb>>
        //just to confirm it's set
        PS C:\<path>> $web
                Url
                ---
                http://<site>/<subweb<http://%3csite%3e/%3csubweb>>
        //check current master page
        PS C:\<path>> $web.MasterUrl
        /<site>/<subweb>/_catalogs/masterpage/v4.master
        //set new master
        PS C:\<path>> $web.MasterUrl 
="/<site>/<subweb>/_catalogs/masterpage/NEW.master"
        //check it
        PS C:\<path>> $web.MasterUrl
        /<site>/<subweb>//_catalogs/masterpage/NEW.master
        PS C:\<path>> $web.Update()

        ALL/BATCH
        foreach($subSite in (Get-SPWeb "http://<site><http://%3csite%3e>").Webs)
        {
         $subSite.MasterURL = "/<site>/<subweb>/_catalogs/masterpage/NEW.master"
         $subSite.Update()
        }

Regards
Rob


Today's Topics:

   1. RE: Different masterpages in site collection (Nigel Hertz)
   2. RE: Different masterpages in site collection (Paul Noone)


----------------------------------------------------------------------

Message: 1
Date: Mon, 26 Jan 2015 20:46:18 +0000
From: Nigel Hertz 
<nigel.he...@stockland.com.au<mailto:nigel.he...@stockland.com.au>>
Subject: RE: Different masterpages in site collection
To: ozMOSS <ozmoss@ozmoss.com<mailto:ozmoss@ozmoss.com>>
Message-ID:
        
<8e9a6d933a414688a50743539f4dc...@cdcexh011.stocklandnet.com.au<mailto:8e9a6d933a414688a50743539f4dc...@cdcexh011.stocklandnet.com.au>>
Content-Type: text/plain; charset="utf-8"

Howdy

Personally, I would set the one for ?the rest of the site? on the homepage, and 
tell it to ?reset all subsites to inherit?. Once that?s done, change it to set 
the homepage masterpage as ?live?, but DESELECT the ?reset subsites? bit.

There may be a better way, but that?s the way I did it.

From: ozmoss-boun...@ozmoss.com<mailto:ozmoss-boun...@ozmoss.com> 
[mailto:ozmoss-boun...@ozmoss.com<mailto:ozmoss-boun...@ozmoss.com>] On Behalf 
Of Ajay
Sent: Friday, 23 January 2015 9:30 PM
To: ozMOSS
Subject: Different masterpages in site collection

Hi guys,
i want to use 2 different masterpages in site collection, one for home page and 
other for rest of the site.

how to go about it,,, google hasn't been very helpful

thanks
ajay

________________________________

Stockland Notice: If this communication has been sent to you by mistake, please 
delete and notify us. If it has been sent to you by mistake, legal privilege is 
not waived or lost and you are not entitled to use it in any way. Stockland and 
its subsidiaries reserve the right to monitor e-mail communication through its 
networks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://prdlxvm0001.codify.net/pipermail/ozmoss/attachments/20150126/9051e263/attachment-0001.html

------------------------------

Message: 2
Date: Tue, 27 Jan 2015 01:35:42 +0000
From: Paul Noone <p.no...@keller.com.au<mailto:p.no...@keller.com.au>>
Subject: RE: Different masterpages in site collection
To: ozMOSS <ozmoss@ozmoss.com<mailto:ozmoss@ozmoss.com>>
Message-ID:
        
<5ff8bf2136ad534cafdeea7bc8cbf186a68...@ms-01.keller.com.au<mailto:5ff8bf2136ad534cafdeea7bc8cbf186a68...@ms-01.keller.com.au>>
Content-Type: text/plain; charset="utf-8"

Is there any reason why you need a new masterpage for a single page?

I find that a layout page or customizing the page can usually overcome most 
situations.

Regards,

Paul

From: ozmoss-boun...@ozmoss.com<mailto:ozmoss-boun...@ozmoss.com> 
[mailto:ozmoss-boun...@ozmoss.com<mailto:ozmoss-boun...@ozmoss.com>] On Behalf 
Of Nigel Hertz
Sent: Tuesday, January 27, 2015 7:46 AM
To: ozMOSS
Subject: RE: Different masterpages in site collection

Howdy

Personally, I would set the one for ?the rest of the site? on the homepage, and 
tell it to ?reset all subsites to inherit?. Once that?s done, change it to set 
the homepage masterpage as ?live?, but DESELECT the ?reset subsites? bit.

There may be a better way, but that?s the way I did it.

From: 
ozmoss-boun...@ozmoss.com<mailto:ozmoss-boun...@ozmoss.com><mailto:ozmoss-boun...@ozmoss.com<mailto:ozmoss-boun...@ozmoss.com>>
 [mailto:ozmoss-boun...@ozmoss.com<mailto:ozmoss-boun...@ozmoss.com>] On Behalf 
Of Ajay
Sent: Friday, 23 January 2015 9:30 PM
To: ozMOSS
Subject: Different masterpages in site collection

Hi guys,
i want to use 2 different masterpages in site collection, one for home page and 
other for rest of the site.

how to go about it,,, google hasn't been very helpful

thanks
ajay
_______________________________________________
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com<mailto:ozmoss@ozmoss.com>
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________

The content of this email is confidential to the intended recipient at the 
email address to which it has been addressed. It may not be disclosed to, or 
used by, anyone other than this addressee, nor may it be copied in any way. If 
received in error, please contact the author and then delete the message from 
your system. 
Please note that neither Keller Australia nor the sender accepts any 
responsibility for viruses and it is your responsibility to scan the email and 
attachments (if any).
Visit http://www.keller.com.au/ for more information. 

--------------------------------------------------------------------------------
This e-mail message has been scanned for Viruses and Content and cleared by 
MailMarshal 
--------------------------------------------------------------------------------
_______________________________________________
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

Reply via email to