5
votes
Accepted
IE problem with JQuery
I think your issue is using for(let i = 0 syntax.
It has not worked very well in IE < edge: https://stackoverflow.com/questions/39159669/let-statement-in-loop-doesnt-work-as-expected-in-ie
4
votes
Accepted
Add a webpart zone to display form
It's quite possible. Just pop open SharePoint Designer and navigate to it. /Lists/MyListName/Forms/DispForm.aspx. Just make sure you don't modify the original DispForm.aspx. You always want to keep ...
4
votes
Accepted
"ContentType" vs "PublishingAssociatedContentType" difference?
The Page Layout has a content type of "Page Layout". This is how SharePoint differentiates them from other things in the gallery, like master pages, design files, and display templates.
A page layout ...
4
votes
Accepted
Only Content controls are allowed directly in a content page that contains Content controls
The error message is correct that only content tags can be added in those sections.
I have seen issues where the Content tag is all lower case like
<asp:content ....>
when infact it should be ...
3
votes
Sharepoint O365 online creating page problem
Navigate to Site Settings -> Navigation under Look and Feel, uncheck "Show pages".
If the "Show pages" is checked, you can only hide the link of pages for users.
2
votes
Accepted
XsltListViewWebpart does not display calendar control
Solved my problem. I used a guid with dashes and this won't work. I replaced this wit Guid.ToString("n") tomged a guid without dashes and after that it worked well.
2
votes
Accepted
Classic or Modern Site for Website Development - spfx unable to be used for master page
It's a matter of opinion and requirements of course, but at it's current state i would say the modern pages are more than ready to be used in production sites. You can customize them as you've ...
2
votes
Migrating pages having custom layout to Office 365
As far as I understand, you just want to migrate the data. To lose the custom layout is acceptable.
The SharePoint Migration Assessment Tool (SMAT) assesses pages prior to migration. The migration is ...
2
votes
Change SharePoint 2013 Page Title
You have two Titles in your Page
Site Title (Colored by red).
Page Title (Colored by green).
To Edit the Site Title (Colored by red):
Go to Site Setting.
Below Look and Feel > Title, Description, and ...
2
votes
Accepted
Why is there no page layout for the Page content type
There is no a page layout for Page Content type, it is by default. You can refer to the following screenshot about the default Page Layout content types:
When you click Page via New Document->Page,...
2
votes
Accepted
How to Add Web Part Zone in existing Page
What's the problem with you?
You can add another web part by clicking "Add a Web Part" button as your screenshot.
Update:
If your page is in Site Pages library, you can go to SharePoint Designer->...
2
votes
Can Classic and Modern experiences coexist in the same site?
Yes, you can still use the classic publishing infrastructure - even on Group Connected Team Sites. Classic pages and views will use the master page set for the web.
Classic pages created with ...
1
vote
Accepted
Responsive page layout
Yes, It is possible to use bootstrap to create custom, responsive page layout.
You can remove the specific controls that you don't want in your page layout. Also you can add specific controls in your ...
1
vote
Master Page and Page Layout
You should insert the code snippet to page layout .html, SharePoint designer will help you for this, you can use other html editor also.
Demo:
1
vote
Hardcoding a Webpart in Page Layout
First add your web part to a classic page. Export it, and upload into the web part Gallery. It should now be available to design manager. Generate the snippet and the trick is to add the snippet to ...
1
vote
Accepted
Is it possible to have different required fields per page layout?
Thanks everyone.
It turns out that we can set the content type per page layout which mean we can specific fields for each content type.
Regards,
Andy
1
vote
Is it possible to have different required fields per page layout?
Using PreSaveAction function could be a solution. (Right before item is submitted to server, SharePoint checks for a function called PreSaveAction and if it exists, it sends item to server only if ...
1
vote
SharePoint Online Communication Site-Not able to remove the white-space on the left
If you use developer tool to debug, you would see the SPcanvas is full content div so margin won't work as you expected.
You could try to update the left div padding.
1
vote
Could not create a new page layout in sharepoint online site(E3 trial) using Design manager
You could check if you have the permission to access the Master Page Gallery.
If you do not enable the custom scripts in the site, then you cannot create the create or edit master pages and page ...
1
vote
Cannot add multiple css files in html page layout
Try below solutions:
Solution 1:
If your page layout is an HTML file, try this:
<!--SPM:<SharePoint:CssRegistration name="<% $SPUrl:~sitecollection/Style Library/Test/Custom.css %&...
1
vote
Accepted
Published Page versus Preview of same page
I think your custom css is hiding the site logo.
Try to inspect the logo element using browsers developer tool and see custom css for classes assigned to logo.
Use below link to Inspect the styles:
...
1
vote
Sharepoint Master Page & Layout Design
For what environment are you looking for? SharePoint 2013/2016 onPrem or online? Online will be at least a little bit more tricky as there's the access to masterpage/pagelayout restricted. Modern UI ...
1
vote
Is there any way to have a static custom made SPFx web-part in a page-layout template you have created in Design manager (Sharepoint Online)?
I believe there are two answers to your question, one for the SharePoint Modern Experience, and one for the classic.
At the current time, it is not possible to create a custom programmatic page ...
1
vote
How to add ContentEditor Web Part in Page Layout?
You can add Content Editor web part using Elements.xml file of the Page Layout module in Visual Studio.
You can add CEWP using AllUsersWebPart. Please add below code inside Pagelayout file tag as ...
1
vote
Display Custom format value on page layouts
instead of adding SharePointWebControls:DateTimeField you can just render the code in-line
<%=SPContext.Current.ListItem["Created"] != null? (new DateTime(SPContext.Current.ListItem["Created"]....
1
vote
Arranging subsites on several horizontal lines
I assume you are talking about navigation links i the top navigation bar.
You can place them as links in the quicklaunch to the left.
Have a look at this article that Microsoft has on just this ...
1
vote
Accepted
SharePoint Online - Page layouts for team site templates?
I think you have a misunderstanding about this. Page layouts are applicable for team sites, but only for publishing pages.
After you create a new team site, the type of homepage is a wiki page. We ...
1
vote
Can we link web parts inside the Modern Site Pages with exsisting lists
Connect the Image Gallery to the existing Library
Connect Quick links to the existing SharePoint list that stores the links
This is not possible. There is no option for that in the webpart's ...
1
vote
How to display who modified the page without having people presence?
Go to List Settings.
Click on the person field or fields.
Notice that the Show Field item defaults to Name (with presence), but includes many additional options. Change it to Name.
Press OK.
1
vote
Accepted
create/deploy master page and page layouts using spfx
As of now, you cannot create master pages and page layouts using SharePoint Framework.
In SPFX, there is nothing like Master Pages and Page Layouts.
You can try SPFX extensions for Page Styling. ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
page-layout × 7792013 × 170
sharepoint-designer × 101
master-page × 99
sharepoint-online × 87
web-part × 83
sharepoint-enterprise × 73
publishing-page × 73
2010 × 67
css × 54
content-type × 47
publishing-site × 40
custom-masterpage × 38
development × 36
sharepoint-server × 32
javascript × 32
html × 22
powershell × 19
publishing × 19
design-manager × 17
web-part-zone × 17
list × 15
branding × 15
custom × 15
visual-studio × 14