2
votes
1answer
73 views

Add Publishing Pages to specfic subsites programmatically in FeatureReceiver

Currently, I have created subsites programmatically in FeatureReceiver method and have a way to create publishing pages, but they are being created on the root site. Is there a way to target a ...
0
votes
0answers
255 views

RichHtmlField showing html markup in display mode

I am trying to render html tags with text in RichHtmlField control in SharePoint. Following is my code. <%@ Register TagPrefix="Publishing" Namespace="Microsoft.SharePoint.Publishing.WebControls" ...
0
votes
2answers
122 views

Prevent the `PublishingPageContent` value filtering when programmatically updating the field

If I save the html: <a href="tel:1-800-222-3334"> (800) ABC - DEFG </a> in the PublishingPageContent field it gets filtered down to: <a> (800) ABC - DEFG </a> How can I ...
1
vote
1answer
93 views

Custom Page inside SharePoint 2010

i am building a .aspx Terms & condition page for my Intranet with Save & Cancel buttons: When we click on Save the user save inside a list as he agree on the terms & Condition content ...
1
vote
1answer
127 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 ...
0
votes
1answer
323 views

PublishingStartDate empty even though the page is published

I've been through the typical publish/approve process and have, seemingly, successfully published a page (I've checked it's approval status in the manage content and structure section of the site ...
0
votes
3answers
138 views

Is there a way to detect if a page is beeing published?

following situation: A user is editing a page in the Pages Library (PublishingFeature). The list settings are requiring a checkout to edit a document. Now he edit's a lot of things on this page, and ...
31
votes
6answers
17k 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" ...
1
vote
1answer
566 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: ...
0
votes
1answer
90 views

Create Success\Error page like sharepoint pages [duplicate]

Possible Duplicate: Custom Error Page for Sharepoint hi.. i want to create a success/error application page which look like Sharepoint success/error page, and it write the exception if an ...
3
votes
2answers
141 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 ...