Questions tagged [publishing-page]
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 being published.
25
questions
54
votes
7
answers
31k
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" ...
19
votes
4
answers
35k
views
Difference beween wiki page, application page, web part page and publishing page
There are lots places in msdn sharepoint forums and blogs where these terms are used and I am confused between them. Can anybody clarify?
14
votes
5
answers
92k
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 ...
14
votes
5
answers
5k
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 ...
1
vote
1
answer
4k
views
Using workflow to create a new page
Using sharepoint 2010 workflows, I would like to create new item in "pages library" = (a new page) when a new item is created in list A. And give this new page name a specified list A value.
Is this ...
0
votes
1
answer
2k
views
Create Publishing page from module
I have create page layout and uploaded it to the master page gallery in a module, now I want to create a publishing page from this page layout, I know I should use a module and upload an .aspx page to ...
6
votes
3
answers
9k
views
how to determine if a page is checked out? Client side, using javascript?
I need a way to determine if a publishing page is checked out by the current user; I need this because I'd like to put a redirect, if the page is not checked out.
Any ideas?
6
votes
4
answers
13k
views
Getting page title of site in Page Layout
I want to display title of site in Page Layout. How do I do that?
Let's say I have a site with 3 pages and on each page I want to display title of my site. Is there a code that I can use in Page ...
3
votes
2
answers
7k
views
How to add webPart to Page with PowerShell from WebPart Gallery
I want to get my Custom WebPart by name and add into a Page with PowerShell from (Web part gallery):
--> Edit Page --> Insert --> Web Part --> Custom
WebParts in image are added from Custom ...
3
votes
1
answer
1k
views
SharePoint Online - Access Denied - When creating a Page in a folder under Pages Library
I'm having an issue with creating a page in a folder under the Pages library.
Here is the structure:
Publishing feature is enabled
All the users have read permission on the site
collection.
There ...
2
votes
0
answers
1k
views
QuickLaunch Menu 'Edit Links' Not Working on Publishing Pages - SharePoint 2013
I have an issue with the not being able to edit the QuickLaunch navigation which only occurs on publishing pages (pages created based on page layouts) not system pages.
The issue is that when I am on ...
2
votes
3
answers
7k
views
How to display date in Page Layout in specific format
I am using the following code to display date in a publishing page layout.
<SharePointWebControls:FieldValue runat="server" FieldName="Created" id="CreatedOn"/>
This displays both date & ...
2
votes
2
answers
9k
views
How to put custom user control on page layout
How can I add a custom user control to a page layout?
I have some custom user control developed. I want to place it in a custom page layout. So it will be in every page instance of that layout.
2
votes
2
answers
1k
views
Custom Content Type always results in ArgumentException
I created a custom content type and provisioned it as a solution for SharePoint 2013 (PU March). When I create a new page in a list, bam yellow page of death.
To rule out an error I created a custom ...
2
votes
6
answers
3k
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).
...
1
vote
1
answer
1k
views
Custom page layout is not available on sub-sites
I have a custom page layout in the root site (Created by SPD and published/approved). I can create pages with this layout in the root site but in the deeper sub-sites in pages library, when i click ...
1
vote
1
answer
6k
views
How to format RichHtmlField in Publishing site Custom Page Layout
In SharePoint 2010, when I add an RichHtmlField in my custom Page Layout, the control's display in edit mode doesn't have any of the "chrome" around it that a stck page layout does. In fact, the is no ...
1
vote
2
answers
2k
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
3
answers
15k
views
Javascript in content editor web part not working after publishing the page
I have a publishing page in which I have placed content editor web part which contains the link to redirect the user to application page.
Code in the content editor web part is:
<script type="...
0
votes
2
answers
211
views
Updating Editor and Modified for a publishing page
I'm trying to update a publishing page in SharePoint 2010 with new Editor and Modified values, but the ones I pass (that I copy from another page) are not saved.
I've tried Update(), SystemUpdate(), ...
0
votes
1
answer
1k
views
How create publishing page via CSOM or Powershell (SharePoint Online)
I would like to automate creation of a subsite and of a publishing site.
Is it possible to create a publishing site and also dynamically add webparts to it e.g create also a document library on the ...
0
votes
1
answer
1k
views
SharePoint Object Model: how to query ONLY last major version of data from Publishing Page?
I came into a situation where I wanted to use SharePoint Object Model SPSiteDataQuery to query data from Publishing Page.
However, I dont want the data query based on the permission on current login ...
0
votes
2
answers
130
views
Invisible Sites and pages
I am creating a intranet in SharePoint 2010 mainly on publishing sites and pages. If I log in as one user this is the menu I see:
If I log in as another user I see this menu:
I can`t find out why ...
0
votes
3
answers
2k
views
Pre-populate HTML content in the Page Content field of custom Article Page layout?
I have a custom content type, say "MyCompany Article Page" inheriting from standard "Article Page" content type. In my associated custom publishing layout, how do i pre-populate some HTML rich content ...
0
votes
1
answer
60
views
How would I rebuild something like ReusableContent?
What I'd love to do:
In a RichHtmlField of a publishing Page
click "insert" in the ribbon, then "Foo"
This let's me select from a list of "Foos"
and inserts something that is not "contenteditable" ...