Questions related to pages that have the publishing infrastruture activated. Mostly used in WCMS scenarios and internet-facing sites.

learn more… | top users | synonyms

2
votes
1answer
2k views

Site owner permissions are not allowing user to view unpublished pages

I'm running into somewhat of an odd issue. All of my site collections have been created as Blank Sites, and I've enabled features as required. One of the features that's been enabled on every site ...
3
votes
1answer
384 views

How can I update a publishing page's page layout via PowerShell?

I have a few publishing pages that need a page layout change. The layout includes a Content Editor Web Part pointed to an html file in the site assets folder. The layout changes but the Web Part ...
0
votes
1answer
138 views

Convert site to a publishing site

I need to activate publishing features on certain sites without losing their site content (lists and libraries). The publishing feature is activated in site collection. When I try to activate the ...
0
votes
1answer
111 views

How to create SPWeb in object model?

I will create my web and subwebs hierarchy from code. In past, in powershell i was using new-SPWeb -url $trimmed -template "BLANKINTERNET#0" -language 1055 -useparenttopnav -name $name1 ...
0
votes
4answers
3k views

how to add comments to web page in SharePoint?

I am using SharePoint 2007 + Windows Server 2008 with SharePoint 2007's publishing portal template. I have created some pages (rich text with picture), and I am wondering how to allow people to add ...
1
vote
0answers
455 views

Remote PowerShell Script

I have server 1 (application that the script) (dax-sp) and server 2 (sharepoint) (sp-sp) Script on server 1 (ScriptStart.ps1) Set-Item WSMan:\localhost\Shell\MaxMemoryPerShellMB 2000 $pwd = ...
0
votes
1answer
98 views

Problem with setting default page on exported web

When creating publishing web, we use this method for setting default page: public void SetDefaultPage() { try { if (PublishingWeb.IsPublishingWeb(_courseWeb)) { ...
1
vote
1answer
556 views

Publishing site without workflow?

I want publishing sites without workflow. Let me explaint my requirement like this. In my publishing webs content authors only should approve/reject items for content authoring. No need for workflow ...
0
votes
1answer
95 views

Associate my custom feature to default publishing site template with FeatureSiteTemplateAssociation

I want to have an event receiver on site collection creation, but it is not available. So as an alternative way i think of writing a custom feature, and associating it with the default publishing site ...
0
votes
1answer
248 views

Enable-Feature powershell-command in object model

How to do Enable-SPFeature equievalent in object model. I want to enable some features (lists) in my publishing site in event receiver. For example: Enable-SPFeature announcementslist -url ...
0
votes
1answer
232 views

Enabling publishing infrastructure feature by default in sharepoint 2010?

I saw this question posted on a site and I would like to know if there is an answer as I have the same issue. I know how to in the settings activate publishing feature on a site but is it possible to ...
0
votes
3answers
556 views

How to add menu items for publishing iste

I created on publishing site. Now I want to add menu bar over there. But publishing site doesn't contain menu bar by default. How to add this into publishing site. I tried to add from v4.master page ...
0
votes
1answer
538 views

Announcement list & web part in publishing site

I know that i should activate team collab. features to be able to use OOB announcement list & web part. I wonder if there is another way without activating the team collab. features?
2
votes
1answer
285 views

Navigation of sitecollection outside the current site collection context

I have an application which has multiple site collections. For the business requirements I need to show the navigation of a site collection outside the context of current site collection. for e.g. The ...
0
votes
2answers
470 views

SP 2010 Variations copy list

I have create a new Site Collection with Publishing Infrastructure Top Level Site. I create the variation root to be "/" I added a variation label "fr", Ran "Create Hierarchy", then created a new ...
0
votes
2answers
899 views

SharePoint Customization - Order of CSS

I'm branding a SharePoint 2010 publishing site. I'm deploying a custom master page and CSS style sheet using a Feature. I'm applying CSS as an alternate style sheet using the UI: Site Actions -> Site ...
1
vote
1answer
1k views

Folders in Pages Library or Sub-sites?

I need a 5-6 level deep structure (hierarchy) in a publishing portal. Which way to choose is best practice. Creating publishing sites and sub-sites for each level? (Disadvantage of this: There are ...
1
vote
1answer
90 views

Change page layout for multiple pages

Is there a quick way to change the page layout of many pages (à la datasheet view, or in SPD maybe)? Editing and republishing each one individually seems rather onerous.
0
votes
2answers
198 views

Sitemap: Expand only current site

I have a left nav with StaticDisplayLevels="3". I want to expand the navigation of only current sites. Expected result: > Inactive1 > Inactive2 > Current > Current's SubSite1 ...
0
votes
3answers
81 views

Making the default page of the site dynamic

Is it possible to set the default page of a publishing site, to the first page in Pages library?
0
votes
2answers
299 views

Building the level (menu) hierarchy by creating sites and subsites deeper

I am working on a portal project that was a custom asp.net wcm/ecm portal and i will develop it in sharepoint from scratch. In that custom portal there is a 5 level menu hierarchy. And only some ...
1
vote
0answers
78 views

Custom page layout html editor borders?

I have a PublishingWebControls:RichHtmlField on my page layout. When editing the page. The html editor has no borders, so it is hard to realise. How can i have borders around the html editor. Thanks
0
votes
1answer
2k views

How to set different start page for each user group?

I have two different user groups in my Sharepoint 2010 site and start page is default.aspx. I want to show nothing or another page for only one user group as start page. How can I solve this? Is it ...
0
votes
1answer
105 views

Can only create site (from custom defintion) when in central admin

As title says. I've created the bare basics of a custom site definition (no features etc.). It, at least appears, to deploy and activate fine judging by VS 2010 output. If in central admin, I can ...
0
votes
1answer
3k views

Page Title not showing up in the breadcrumb - SharePoint 2010

I am trying to include current page title after site name on a sharepoint 2010 publishing site. The master page that I have created contains the necessary control to render the page title as attached ...
1
vote
2answers
298 views

Publishing Page - hide page layouts

We have requirement to leave only article layouts for publishing pages and hide others (Redirect, Blank Web Part Page, Table of Contents, Splash etc should be hidden). Any ideas how we could achieve ...
1
vote
1answer
712 views

SPFile.OpenBinary - Encoding Issues

I am copying some SharePoint pages from one site collection to another and I noticed that certain special characters get mangled up in the destination file. Here is an example: Source Text: Nous ...
0
votes
1answer
47 views

Publishing workflow always discards page

I have a publishing web with unique permissions. I have tried changing the default approvers group through code by doing the follwing: Locate Pages list Locate workflow association by ...
0
votes
0answers
63 views

Incremental Deployment and Rename Site URL

We have a staging and production environment setup. Incremental deployment is configured from Stage to Production. We have one sitecollection / Inside that we have several subsites. One of the ...
6
votes
2answers
1k views

Adding a Back to Top web part

Is it possible to create a web part that publishing page editors can insert and all it contains is an anchor tag to take the user "Back to Top" of the page? I've added this to the top of the pages' ...
0
votes
5answers
3k views

How to disable sending of approval email in a publishing site?

I am using SharePoint Server 2007 x64 and Windows Server 2008 x64. I have setup a site with the publishing portal template. I have granted anonymous access to the entire site. When ...
6
votes
2answers
632 views

What's the difference between a Publishing Site and an Enterprise Wiki Site

I have an existing Enterprise Wiki Site and I would like to convert it to a Publishing Site. What's the difference between a Publishing Site and an Enterprise Wiki Site. It looks like both types have ...
0
votes
1answer
141 views

Is there a way to set permissions so that a content editor part can be edited but not removed from the page?

I have a client scenario in which users need to be able to edit content within a content editor web part placed on a page via site template, but they need to be prevented from removing the web part ...
3
votes
4answers
713 views

Which is Better a UserControl or WebPart?

What are the advantages of user controls over WebParts when dealing with SharePoint? Some I can think of are: familiarity, reusability, and development speed. I am planning to implement them in ...
3
votes
1answer
292 views

SharePoint : Better Large Pages Library Approach

I'm working on project migration from SharePoint 2007 to SharePoint 2010. The application build on SharePoint 2007 platform was years back and it contains a lots of data (approximately 100GB in ...
0
votes
1answer
421 views

IE8 browser settings in company group policy SCCM

Which of the following IE8 configuration settings might cause an issue for SharePoint (2007 or 2010). 1) Tools -> Compatibility View Settings, Uncheck "Display iIntranet sites in Compatibility ...
9
votes
4answers
6k views

Replace the Default Page in a SharePoint WebSite

I have been asked to programmatically do the following in a SharePoint 2007 team site collection: Create a website using the OOTB blank site template. (Please note, for project specific reasons, we ...
1
vote
2answers
302 views

Sharepoint Site to create new project

I want to create a Sharepoint site so that I may automate the creation of new site from within my site. For example, a firm has several projects. A Project Manager tries to create a new site from the ...
2
votes
3answers
546 views

Alert to warn site owner when content is outof date

Any idea how I can set an alert to warn site owner if content is out of date?
1
vote
2answers
79 views

What does “webs” refer to?

Just a quick question on terminology... Reading around the web on SharePoint I see a lot of people refering to "webs", but can't seem to find a description of what that refers to. Based on the ...
0
votes
0answers
199 views

automatically show ribbon on publishing site

I have a custom publishing site (custom masterpage and custom site definition). I want ribbon automatically be shown on new sites. So the users don't have to enable it through Site Settings: So it ...
3
votes
1answer
88 views

How do I see the complete page content of an old version of a page?

I have a page library in a publishing site that has major and minor versions. I can click on a page's context menu and select View History and it gives me a list of all the major and minor version ...
2
votes
1answer
488 views

Dynamic Master Pages

Has anyone ever managed to implement dynamic master pages on a publishing site? Something along the lines of the master page switching automatically depending the referrer or some other passed ...
2
votes
2answers
2k views

Is there a maximum number of entries for the Navigation Editing and Sorting control?

Is there an upper limit to the number of item that are displayed in the Navigation Editing and Sorting control in the ‘Site Navigation Settings’ page? I have 49 items in the global Navigation and 54 ...
0
votes
1answer
280 views

Publishing site: Why are my pages blank but having webparts and controls in editing mode?

Started to look into Publishing site pages. I have a few pages of a publisihing site filled with web parts and controls in editor that I fail to see. They are saved, checked in and published (few ...
1
vote
3answers
225 views

Publishing Pages / WCM - Good resources for implementation?

Are there any good resources available for implementing web content management using publishing pages in SharePoint 2010? I know the bits and pieces, but am looking for example implementations. I'm ...
2
votes
2answers
219 views

How can I rename Page Layouts without having to manually reset content pages using those layouts?

I need to rename a bunch of Page layouts and Master Pages without having to re-set the Page Layout to each content page that is using those layouts. For example: I have two page layouts - ...
1
vote
1answer
390 views

How to create a WSP file without using wspbuilder for Site Definition

I have a folder with following structure, I wonder how can I create a wsp file for it, and it deploy the site definition for me, structure - XML - -> ONET.xml - default.aspx - ...
1
vote
1answer
32 views

What things/attributes need to be changes while renaming a Site Defination?

I have a site definition folder with following structure, XML default.aspx MasterPage.master masterpageajax.master In XML folder I have "ONET.XML" and I looked into this file, and realized that ...
1
vote
2answers
2k views

Table of contents for a single publishing page's sections

Is it possible to do a table of contents (TOC) for the sections of a page rather than the sites in a site collection for SharePoint 2010? I'm thinking of the TOC on Wikipedia that appears at the top ...