Maand: augustus 2012

Adding custom CSS into Page Layout

just creating some small reminder that if you wanted to add some custom CSS file into the page layout (or custom Masterpage) find the : PlaceHolderAdditionalPageHead and add Option 1:<asp:Content ContentPlaceholderID=”PlaceHolderAdditionalPageHead” runat=”server”> <link id=”Link1″ href=”<% $SPUrl:~SiteCollection/Style Library/mystyle.css%>” runat=”server” type=”text/css” rel=”stylesheet” /> </asp:Content> Option 2: if it does not exit type it in : (copy and…
Read more

SharePoint Tools: SharePoint Console

I love tools, and I love people who are sharing these. This tool has some nice features for example  ChangeDisplayUrl , or the AdddWebPart (to page) check it out at: http://sharepointconsole.codeplex.com/ AND ALSO  HIDING AN FIELD! (u can also use SharePoint Manager) Met behulp van een eenvoudige tool: Sharepointconsole.exe kun je velden verbergen, nu lukt…
Read more

display SharePoint list from another site

from: How to display SharePoint list from another site | WebGuru’s Blog about Digital Life DIV id=”ListPlaceholder”><IMG src=”/_layouts/images/GEARS_AN.GIF”></DIV> <!– Paste the URL of the source list below: –><iframe id=”SourceList” style=”display:none;”src=”http://domain.com/SiteCollection/SourceSite/SourceList/MyView.aspx”onload=”DisplayThisList()”></iframe> <script type=”text/javascript”>function DisplayThisList(){var placeholder = document.getElementById(“ListPlaceholder”); var displaylist = null;var sourcelist = document.getElementById(“SourceList”); try {if(sourcelist.contentDocument)// Firefox, Opera {displaylist = sourcelist.contentDocument.getElementById(“WebPartWPQ1”) ;}else if(sourcelist.contentWindow)// Internet Explorer {displaylist…
Read more

Flash op je SharePoint pagina

Gebruik  de volgende code, plaats de cab bestanden ook op je sharepoint site om veiligheidsmeldignen te voorkomen. Ingredienten: – Inhouds editor webpart (Content Editor webpart) – Flash cab file: http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0 – standaard HTML emmed code (zie hieronder)   Werkwijze: standaard heb je bijvoorbeeld de volgende code om flash op een pagina te zeten, bewerk de…
Read more

PowerShell: Update MasterPage setttings

SPSite site = new SPSite(““http://dhraepoint);SPWeb web = site.OpenWeb(“/subsite/site”);web.AllProperties[“__InheritsCustomMasterUrl”] = “False”;web.Update();   inclusief propertybag intherit custom masterpage vinkje