Publishing pages are available only in publishing sites. In publishing sites, authors and approvers use the publishing feature to create content and then make it available for site visitors. Usually, a publishing site has an approval workflow enabled, so content is reviewed and approved prior to ...
25
votes
5answers
10k views
How to update custom master page and page layout, which is already deployed
I have a feature which deploying custom page layout. It's done by this code:
<Module Name="MasterPageModule" Url ="_catalogs/masterpage">
<File Path="MasterPageModule\defaultTemplate.aspx" ...
9
votes
4answers
4k 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 ...
8
votes
5answers
300 views
RichHTMLField value is not rendered in page
I have a custom page layout created, in which "PublishingWebControls:RichHtmlField" control is added with some default HTML value.
When any page is created using the custom page layout created, page ...
5
votes
4answers
1k views
Using PublishingWebControls:RichHtmlField in application page
I'm trying to use a PublishingWebControls:RichHtmlField control in a custom application page inside SharePoint to use the built in SharePoint WYSIWYG editor. It's almost working but SharePoint has ...
4
votes
1answer
235 views
Making global changes to a group of publishing pages
Is it possible to change a property on a group of publishing pages on SharePoint 2010? We have a custom page field called "IntranetContactEmail" that we need to update across one web site. How do you ...
4
votes
3answers
2k views
Provisioning Publishing Page Content using a Feature
I'm provisioning a bunch of Publishing pages using a feature, using the template redirection technique.
<Module Name="Page-Not-Found" Url="$Resources:cmscore,List_Pages_UrlName;">
<File ...
4
votes
2answers
507 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' ...
4
votes
3answers
2k views
How to get last major published version?
I am trying find exact CAML query, or other possible way in code to find out
"The last major published version" (not necessarily the latest)?
4
votes
3answers
1k views
What is publishing Site or Page and why do we need it?
Article found on this but not in plain English. Anyone else wants to give it a shot with plain (non-lawyer version) English.
4
votes
5answers
4k views
Copy and paste for images in SharePoint
It seems that whether it's a content editor web part or publishing page, copying and pasting images is a poor user experience in SharePoint. The user needs to upload the image somewhere first, then ...
3
votes
3answers
589 views
Page layouts vs. Master pages
When do you create a custom page layout vs. a custom master page for a site? Is it good practice to create custom page layouts only for limited branding of SharePoint 2010? I'm thinking the page ...
3
votes
5answers
3k views
Immediate Redirect page in sharepoint
I want to redirect a sites homepage to a subsites homepage. I can create a page from redirect page layout BUT, i want no waiting for a couple of seconds, i want immediate redirect. How can i achieve ...
3
votes
2answers
139 views
Reducing amount of clicks to create Publishing Page in SharePoint 2007
I have a customer who is using the MOSS 2007 WCM Publishing Site.
To create a page in this environment you need to:
Select Site Settings | Create Page
Fill in:
Title
page url
select a ...
3
votes
1answer
156 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 ...
3
votes
1answer
225 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 ...
3
votes
1answer
168 views
Take a Publishing Page “Offline”
Is there a way to take a Published Publishing Page offline such that it isn't accessible to anonymous users of a WCM website?
If you un-publish, the page's most recent version will still be ...
3
votes
3answers
1k views
How to rename a publishing page in code
I'm trying to do a bulk page rename (NB. the file name e.g. default.aspx, not the displayed title)
foreach (PublishingPage page in pweb.GetPublishingPages())
{
Console.WriteLine(page.Name);
...
3
votes
1answer
53 views
Sharepoint 2010 Auto update twitter status
We have a SharePoint 2010 installation branded for use as our corporate website. I am creating a "News" section using SharePoint Publishing features and I have been requested by the powers that be to ...
3
votes
1answer
323 views
Diffferent methods of retreving site column values
I'm wondering if there are any differences between retrieving value of a site column (RichHtmlField) via PublishingWebControls:RichHtmlField vs getting its value via Container.DataItem?
...
2
votes
5answers
562 views
Change default welcome page without “publishing web”
I would like to change my default welcome page on my web, but I would like to avoid activation of feature "Publishing web" on my web just for that small requirement (with that approach I'm familiar).
...
2
votes
3answers
289 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?
2
votes
2answers
757 views
Application pages and master pages
We plan to use SharePoint 2010 application pages and wondered about our current setup, which has the default master page (v4.master) with no changes but a heavily customized page layout for the ...
2
votes
2answers
1k views
Can I edit a publishing page using Powershell?
I have a bunch (technical term) of publishing pages within a single subsite of my site collection that contain a broken link. I'm wonder if it's at all possible to use Powershell to perform a 'global' ...
2
votes
1answer
64 views
Full control user can add Page Layout to top level site but not the sublevel site
Has anyone seen the problem that we can add page layout to the top level site but not the sublevel site?
I've got the following behaviors:
In the "Site Settings" the "Master pages and page ...
2
votes
1answer
323 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 ...
2
votes
2answers
146 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 - ...
2
votes
1answer
34 views
Creating pages dynamically through code?
First thing is first, I'm doing this in Sharepoint 2013.
I'm not exactly sure what the best approach is to be, so I'm explaining my problem and hopefully people can throw around some terms or ideas ...
2
votes
1answer
46 views
Import Summary Links Collection
I am trying to insert summary links into a custom content type.
PublishingPage newPage = publishingWeb.GetPublishingPages().Add(filename, layout);
newPage.Title = page.NewPage.Title;
...
2
votes
1answer
162 views
Can I edit a custom page Layout to add 3 new zones
I have a custom branding solution which was written before I started at my current client. Now they want their custom page layout modified, by adding 3 adjacent zones next to eachother. This page ...
2
votes
1answer
225 views
Changing PerformancePoint Dashboard page to be Publishing Page?
Is there any way to make the PerformancePoint Dashboard page (the page where you can see your charts, scorecards etc.) to a publishing page. Currently I believe its a web part page and my CSS is not ...
2
votes
0answers
174 views
Alternative to hook into RTE javascript
I'm looking to add some logic when a HTML element (input, button, .. but no regular text) is clicked inside the RTE control on a publishing page. One of the solutions I've been thinking about is ...
1
vote
4answers
168 views
Is there a way to easily organise content in a Publishing site?
Does anyone know of a good solution for allowing a non-technical user to easily organise the content within a SharePoint publishing site?
I'm thinking of content that is organised into sections, ...
1
vote
2answers
231 views
Is it possible to make a page's publishing schedule mandatory?
As opposed to a page just being published as soon as it's approved - I need to make the schedule (the setting of the start and expiry date) of the publishing mandatory. Can it be done?
1
vote
1answer
170 views
Publish Tab not visible
I have a Sharepoint Portal with "Sharepoint Server Publishing" feature activated at site collection level. I have few pages in subsite and some page have "Page" and "publish" tabs and for some pages I ...
1
vote
2answers
382 views
Get list of items awaiting publishing in web site
Is it possible to get a list of all items (list items, publishing pages, library items) that are checked out and not published yet? We've noticed that if we use the content deployment feature in ...
1
vote
2answers
55 views
Application Help hosted on SharePoint
I'm looking for some advice on how to setup an online help system (on SharePoint) for a desktop application I support. We currently have SharePoint 2007, but I'm told we will be upgrading to 2010 ...
1
vote
3answers
2k views
Get Content Field Value in Article Page
Is there a way in Sharepoint 2007 Publishing, to retrieve a custom content type's column value for the displayed article. I want to show different colored ribbon images according to article type which ...
1
vote
1answer
369 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
2answers
422 views
Custom Page Layout for a publishing site with contents
I have a requirement of creating a custom page layout for my SharePoint 2010 users. What they want is, when they apply a page layout, they want the page to be filled with certain text in the rich ...
1
vote
1answer
207 views
JavaScript removed in SharePoint Publishing Page during edit
I was working on a migration of an existing site to SharePoint and when pasting the source code of the pages to the SharePoint RichText fields in the edit mode of the page, I tried to copy the HTML ...
1
vote
2answers
54 views
Use media content types on a publishing page
I'm trying to make a new publishing page that can use either Images, Video or Audio.
I'we already made one that uses the PublishingWebControls:RichImageField but cant find equivalents for video and ...
1
vote
1answer
84 views
Set PageLayout Object by Page Layout Name
I have code as part of an event receiver that creates a publishing page upon feature activation. That publishing page is built on a page layout that is deployed as part of that same feature.
The ...
1
vote
1answer
117 views
Are there any CMS add ons for SharePoint?
We recently rolled out a new site where we are allowing users to create their own public facing page content. Shortly after we gave them access it became clear that the majority of the content that ...
1
vote
2answers
177 views
Page to show Modified Date of file in File Library
I have an Excel file that is in a file library. I'd like to have a page that shows when that Excel file was last modified.
Anybody know of a piece of code that will show "Date Modified" of an Excel ...
1
vote
1answer
2k views
Iterate over Pages library and get each item's properties
I need to use C# to iterate over the publishing Pages library items on SharePoint 2010 and get their properties. For example, I need to get the item's filename (if it's a file) and detect if it's a ...
1
vote
2answers
326 views
Add custom properties to 'Edit Mode' in publishing site - Create as wsp
I have 2 custom fields that are associated to the publishing features Page content type. While looking at the page, in the ribbon, I can click on Edit Properties to view all of the properties of my ...
1
vote
2answers
160 views
Alerts for social notes
I am to develop an alert system for the social notes functionality in SharePoint 2010. I could write a timer job looping through all pages and look for new notes since last run, or loop through all ...
1
vote
1answer
490 views
'List does not exist' when editing a publishing page?
I get an error message...
"List does not exist"
when I attempt to edit a new page within a publishing site.
The log file doesn't provide me with any additional details...
...
1
vote
1answer
478 views
Programmatically Adding a Publishing Page
Has anyone at all look at uploading a file to/using an existing SPFile in the PublishingPageCollection.Add() method?
I'm referring to this override specifically:
...
1
vote
1answer
98 views
Is it possible to check if a page is scheduled for publishing?
I can create a ScheduledItem in an event receiver, but how do I check if a list item is scheduled?
What I've tried:
IsScheduledItem method (ScheduledItem class) - but this method: "...confirms that ...
