RE: Page layouts

2012-01-09 Thread Nigel Hertz
Hi Brian

Thanks for pointing me in that direction :)

I decided to try modifying the masterpage first, before redoing everything in 
HTML. I hid the default PlaceHolderTitleBreadCrumb and created a 2nd one called 
PlaceHolderTitleBreadCrumb1. I think changed the page layouts used across the 
site to refer to the new placeholder, and it works great. The files in the 14 
hive can now overwrite whatever they want because it's hidden, and the system 
pages display with the current nav as it doesn't know any better.

[cid:image003.png@01CCCFA8.967B2550]

Nigel



From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Brian Farnhill
Sent: Tuesday, 10 January 2012 12:19 PM
To: 'ozMOSS'
Subject: RE: Page layouts

They don't use a page layout as such, they are all custom ASPX pages that sit 
in the 14 hive, and from memory they will grab a different site map provider to 
the default one that is used in the page layouts in SharePoint (They use 
SPSiteMapProvider and I'm pretty sure that page layouts use the 
CurrentNavigation one). Also they use different properties on the 
ListSiteMapPath control to generate that cascading offset as well.

You should be able to get around this in your master page by hiding the 
PlaceHolderBreadcrumb placeholder and just putting a constant set of HTML and 
controls in to the master page that you want to be used everywhere, because all 
the system pages just override that placeholder to do the content their way. 
Pretty sure there isn't ever anything else important that will get missed by 
hiding that place holder, but as always test your site after the change to be 
sure.

Brian Farnhill
Solutions Architect, Extelligent Design | SharePoint Server MVP
phone: 0408 289 303 | twitter: @BrianFarnhill<http://twitter.com/BrianFarnhill> 
| blog: blog.brianfarnhill.com<http://blog.brianfarnhill.com/> | xbox: Modern 
Bogan<http://live.xbox.com/en-AU/MyXbox/Profile?Gamertag=Modern%20Bogan>

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Nigel Hertz
Sent: Tuesday, 10 January 2012 11:53 AM
To: ozMOSS
Subject: Page layouts

Hey all

This should hopefully be an easy one. Does anyone know what page layout is used 
for system pages? (i.e. View all site content) For some reason, the breadcrumbs 
on system pages are messed up.

Incorrect:


[cid:image001.png@01CCCFA2.AA43E690]

Correct:

[cid:image002.png@01CCCFA2.AA43E690]


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.
<><><>___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Page layouts

2012-01-09 Thread Brian Farnhill
They don't use a page layout as such, they are all custom ASPX pages that
sit in the 14 hive, and from memory they will grab a different site map
provider to the default one that is used in the page layouts in SharePoint
(They use SPSiteMapProvider and I'm pretty sure that page layouts use the
CurrentNavigation one). Also they use different properties on the
ListSiteMapPath control to generate that cascading offset as well. 

 

You should be able to get around this in your master page by hiding the
PlaceHolderBreadcrumb placeholder and just putting a constant set of HTML
and controls in to the master page that you want to be used everywhere,
because all the system pages just override that placeholder to do the
content their way. Pretty sure there isn't ever anything else important that
will get missed by hiding that place holder, but as always test your site
after the change to be sure.

 

Brian Farnhill
Solutions Architect, Extelligent Design | SharePoint Server MVP
phone: 0408 289 303 | twitter:  
@BrianFarnhill | blog:  
blog.brianfarnhill.com | xbox:
 Modern
Bogan

 

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf
Of Nigel Hertz
Sent: Tuesday, 10 January 2012 11:53 AM
To: ozMOSS
Subject: Page layouts

 

Hey all

 

This should hopefully be an easy one. Does anyone know what page layout is
used for system pages? (i.e. View all site content) For some reason, the
breadcrumbs on system pages are messed up. 

 

Incorrect:

 

 



 

Correct:

 



 

  _  

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.

<><>___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss