RE: suggestions to solve a banner problem
I think in most cases the top section of a page will be controlled by the master page, not the page layout, as there is generally a logo and a global nav held there also. You cannot add web part zones to a master page (without doing a little hack - http://littletalk.wordpress.com/2009/07/28/add-webpart-zone-on-masterpage-in-sharepoint/), so if your layout is like I have described, then you need to use a content placeholder. Also, I don't really like the idea of content author's having the ability to change items considered to be part of the overall design, and not specific to the current page. From: paul.no...@ceosyd.catholic.edu.au To: ozmoss@ozmoss.com Date: Mon, 14 Feb 2011 10:18:46 +1100 Subject: RE: suggestions to solve a banner problem I’m with Nigel. This is a clear-cut case for a new layout page designed for this purpose. The benefit of a layout page is that you can use it whenever required and have the flexibility to add whatever content you want as needs change. We have employed this to great effect. I simply created a new layout page with a web part zone that stretches full-width along the top of the page. The benefits of using a web part zone are that you don’t need to worry about a custom placeholder, and you can also add any web part you might need - Picture, Flash, Silverlight etc. Regards, Paul --Online Developer/SharePoint Administrator, ICT Infrastrcuture Team CEO Sydney From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Nigel Witherdin Sent: Saturday, 12 February 2011 12:15 PM To: OzMoss Subject: RE: suggestions to solve a banner problem I would think adding a contentplaceholder which is replaced by your home page's page layout would be a better option, as this means the banner would only be downloaded to the client on the home page, not every page and then hidden on most of them by javasscript or css From: maxinetechg...@gmail.com To: ozmoss@ozmoss.com Subject: RE: suggestions to solve a banner problem Date: Sat, 12 Feb 2011 10:10:04 +1000 Thanks Guys, some great suggestions, I’ll definitely try them out on Monday! From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Dan Sheedy Sent: Friday, 11 February 2011 10:15 PM To: ozMOSS Subject: Re: suggestions to solve a banner problem 2 options. Add some javascript on the master page to check the url and either hide/display the banner element. https://developer.mozilla.org/en/DOM/window.location Or again, have the banner element in the master page, hide it by default in your custom.css and use a content editor web part to override the display property when needed. http://www.endusersharepoint.com/2010/01/29/style-a-page-using-the-content-editor-web-part-and-css/ Both ways you can leave the element in the master page and not worry about the other pages. On Fri, Feb 11, 2011 at 7:59 PM, ken zheng lied...@hotmail.com wrote:you can just embed the JQeury into your front page to change the image From: maxinetechg...@gmail.com To: ozmoss@ozmoss.comSubject: RE: suggestions to solve a banner problemDate: Fri, 11 Feb 2011 17:28:17 +1000 Are you suggesting something like having the banner in a div tag, and changing the style sheet to display:none if it’s not the site root? I could look into that… From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of ken zheng Sent: Friday, 11 February 2011 3:58 PM To: ozmoss@ozmoss.com Subject: RE: suggestions to solve a banner problem have you considered using Javscript/JQuery to change the style sheet? KenFrom: maxinetechg...@gmail.com To: ozmoss@ozmoss.com Subject: suggestions to solve a banner problem Date: Fri, 11 Feb 2011 14:48:45 +1000Hey all, Wondering if anyone can suggest a solution to this problem. The client wants a banner on the front page (preferably only the front page but could be at the top level of the site if that is the easiest way). I can create a custom master page, but I do not want this master page used on any new subsites created. I have considered everything from a custom placeholder on the page (don’t know if this would work) or using a custom layout?? Going round in circles and hoped somebody out there has had this issue before. I figure there has to be an easy way to solve this – I think I’m looking too hard… Any suggestions? Maxine Harwood | Solutions ArchitectRed Box IT 0410 525 989 | 07 3056 1725 (VoIP)www.redboxit.com.auABN: 96 189 767 742 | ACN: 125 489 278 ___ ozmoss mailing list ozmoss@ozmoss.com http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss ___ ozmoss mailing list ozmoss@ozmoss.com http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss ___ ozmoss mailing list ozmoss@ozmoss.com http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss ___ ozmoss
RE: suggestions to solve a banner problem
The client wants a banner on the front page (preferably only the front page but could be at the top level of the site if that is the easiest way). As you can see, there are many ways to skin this cat depending on the specific requirements. Can you draw us a diagram? :) From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Nigel Witherdin Sent: Monday, 14 February 2011 4:00 PM To: OzMoss Subject: RE: suggestions to solve a banner problem I think in most cases the top section of a page will be controlled by the master page, not the page layout, as there is generally a logo and a global nav held there also. You cannot add web part zones to a master page (without doing a little hack - http://littletalk.wordpress.com/2009/07/28/add-webpart-zone-on-masterpage-in-sharepoint/), so if your layout is like I have described, then you need to use a content placeholder. Also, I don't really like the idea of content author's having the ability to change items considered to be part of the overall design, and not specific to the current page. From: paul.no...@ceosyd.catholic.edu.au To: ozmoss@ozmoss.com Date: Mon, 14 Feb 2011 10:18:46 +1100 Subject: RE: suggestions to solve a banner problem I'm with Nigel. This is a clear-cut case for a new layout page designed for this purpose. The benefit of a layout page is that you can use it whenever required and have the flexibility to add whatever content you want as needs change. We have employed this to great effect. I simply created a new layout page with a web part zone that stretches full-width along the top of the page. The benefits of using a web part zone are that you don't need to worry about a custom placeholder, and you can also add any web part you might need - Picture, Flash, Silverlight etc. Regards, Paul -- Online Developer/SharePoint Administrator, ICT Infrastrcuture Team CEO Sydney From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Nigel Witherdin Sent: Saturday, 12 February 2011 12:15 PM To: OzMoss Subject: RE: suggestions to solve a banner problem I would think adding a contentplaceholder which is replaced by your home page's page layout would be a better option, as this means the banner would only be downloaded to the client on the home page, not every page and then hidden on most of them by javasscript or css From: maxinetechg...@gmail.com To: ozmoss@ozmoss.com Subject: RE: suggestions to solve a banner problem Date: Sat, 12 Feb 2011 10:10:04 +1000 Thanks Guys, some great suggestions, I'll definitely try them out on Monday! From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Dan Sheedy Sent: Friday, 11 February 2011 10:15 PM To: ozMOSS Subject: Re: suggestions to solve a banner problem 2 options. Add some javascript on the master page to check the url and either hide/display the banner element. https://developer.mozilla.org/en/DOM/window.location Or again, have the banner element in the master page, hide it by default in your custom.css and use a content editor web part to override the display property when needed. http://www.endusersharepoint.com/2010/01/29/style-a-page-using-the-content-editor-web-part-and-css/ Both ways you can leave the element in the master page and not worry about the other pages. On Fri, Feb 11, 2011 at 7:59 PM, ken zheng lied...@hotmail.commailto:lied...@hotmail.com wrote: you can just embed the JQeury into your front page to change the image From: maxinetechg...@gmail.commailto:maxinetechg...@gmail.com To: ozmoss@ozmoss.commailto:ozmoss@ozmoss.com Subject: RE: suggestions to solve a banner problem Date: Fri, 11 Feb 2011 17:28:17 +1000 Are you suggesting something like having the banner in a div tag, and changing the style sheet to display:none if it's not the site root? I could look into that... From: ozmoss-boun...@ozmoss.commailto:ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.commailto:ozmoss-boun...@ozmoss.com] On Behalf Of ken zheng Sent: Friday, 11 February 2011 3:58 PM To: ozmoss@ozmoss.commailto:ozmoss@ozmoss.com Subject: RE: suggestions to solve a banner problem have you considered using Javscript/JQuery to change the style sheet? Ken From: maxinetechg...@gmail.commailto:maxinetechg...@gmail.com To: ozmoss@ozmoss.commailto:ozmoss@ozmoss.com Subject: suggestions to solve a banner problem Date: Fri, 11 Feb 2011 14:48:45 +1000 Hey all, Wondering if anyone can suggest a solution to this problem. The client wants a banner on the front page (preferably only the front page but could be at the top level of the site if that is the easiest way). I can create a custom master page, but I do not want this master page used on any new subsites created. I have considered everything from a custom placeholder on the page (don't know if this would work) or