Questions tagged [content-editor-web-part]

You can use the Content Editor Web Part to add formatted text, tables, hyperlinks, and images to a Web Part Page.

Filter by
Sorted by
Tagged with
2
votes
0answers
174 views

I'm having trouble with basic layout using html/css with Sharepoint

first time poster here so I'd like to apologize if I do this wrong. I'm new to Sharepoint, so I'm having difficulty with some basic stuff. My end goal is to basically make something that looks like ...
2
votes
0answers
671 views

slow response IExplorer opening new item or editing a list item

I have a Sharepoint 2013 Foundation running on a Windows server 2012 R2. It's a domain controller as well. Yes I know its not a best practice but the company has limited funds. And does not want to go ...
2
votes
0answers
544 views

Dynamically Setting a List View on a WebPart Page

I have been unable to load a page showing a dynamicaly selected View. I can not just display the List itself (Although this would allow me to specify the View in the URL) because I need to modify ...
2
votes
0answers
216 views

ArgumentOutOfRangeException after editing a page

I am replacing a colleague for the support of a SharePoint 2010 intranet. I have edited a page to move a webpart below another webpart. An ASP .Net exception page has been displayed after clicking the ...
2
votes
0answers
57 views

Clicking on WebPart modifies page layout

I'm building a custom dashboard with some CEWP's and List webparts, using a three column page layout. Whenever I interact with (click) one of the columns, it adjusts the layout. In this particular ...
1
vote
3answers
2k views

referring to files in style library from content editor web part

I have a content editor webpart I am referring a html file to the content link of the webpart the contentLink looks something like the one below sites/ImageList/Style Library/Page/ImageList.html ...
1
vote
1answer
885 views

Styling Sharepoint 2013 Quick Launch Headers

I have a very simple question. I have spent hours combing the various solutions offered here and elsewhere on the web, but none of them work for me. I'm simply looking to put some CSS in a Content ...
1
vote
4answers
2k views

Can I add more than one link in a content editor web part?

In this content editor I have referenced a .js file. If I want to style it with .css file can I connect it also as a link in the same content editor? For example: Content Link: menu.js; menu-style....
1
vote
1answer
8k views

Horizontal Rule in Content Editor Web Part?

When editing rich text in a CEWP, as typical not-admin user, how does one go about inserting a horizontal rule? Google has not been my friend. I'm loathe to tell the users they need to edit the HTML ...
1
vote
1answer
18k views

Edit page SharePoint designer 2013

I need to edit a page in SharePoint Designer 2013. When I open the page in edit mode, I can see the web parts but I can not edit them. How can I do it? (I need to add a CSS link in the Content ...
1
vote
3answers
12k views

Is there a simple override method to change the background of a webpart? SP 2010

Found out how to change the background of one single page (body of that page). This works when I want a single page or two to have a specific background instead of modifying a master page. Is there ...
1
vote
1answer
272 views

Get all site collections for a web application - JSOM

I want to display all site collections for a given web application(Can be hard-coded url) using JSOM SharePoint 2010(No REST api). I have tried but couldn't complete it.
1
vote
2answers
800 views

Media and Content catalog unavailable

My enterprise has recently activated SharePoint online and I'm able to create sites and subsites. Unfortunately, when I try adding webparts to my page, I only get a handful of webpart catalogs : ...
1
vote
2answers
637 views

Content editor webpart not available in newly created Team sites in Office 365

Content editor is not becoming available in newly created Team sites in office 365. I enabled SharePoint Server Publishing Infrastructure in site collection features and SharePoint Server Publishing ...
1
vote
2answers
55 views

Check if the currently opened item is a folder or a document in EditForm.aspx

We have added a content editor webpart to EditForm.aspx for document library. In the CEWP, there's a JS filed. We need to execute different code when a folder is getting edited (like renaming the ...
1
vote
3answers
421 views

Redirecting to a different list view with a image button through JavaScript

I want to upload a button image and when clicked I want it to be redirected to a different List view. I used a JavaScript for a New List entry form using JavaScript <a href="javascript:(void SP....
1
vote
1answer
123 views

How to apply Content editor on whole site in SP 2013

I have a js script and I want to apply it on a whole SP site. I inserted a content editor webpart on the start page and it works fine, but now i want to apply it on the whole site. Do I have to go ...
1
vote
3answers
2k views

How to display Custom Page Inside Web Part Page

In one part of my portal I have a Web-Part page, and I want to use one of the zones to display a Custom Page (just a wiki page from a Team Site in the Site Page library) inside that zone. If I use a ...
1
vote
3answers
14k 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="...
1
vote
5answers
11k views

ContentEditor WebPart Edit Permissions

I have a publishing site. A user is in the visitors group. On a certain page I have given the user Full control. They can edit the body of the page but cannot edit the content of a ContentEditor ...
1
vote
3answers
891 views

sharepoint 2007 wiki customization

I have been asked to customize a SharePoint 2007 wiki site into a 'Wikipedia' like interface and functionality. After a bit of goggling it turns out that wiki's are not that readily customizable!! ...
1
vote
3answers
1k views

Showing the current user's tasks in a Content Editor Web Part using JQuery

I have been searching this site for an answer but I have been unable to find anything that will work. I have been trouble pulling the tasks of the current user from a subsite. I am using SharePoint ...
1
vote
1answer
413 views

2007 CEWP - Rich Text box - Best way to insert image?

I am a power end user/non-programmer person..so please don't send me in the "custom code" direction--thanks! I need this to be an easy fix! (hopefully) --- I have a CEWP - and am editing it using the ...
1
vote
3answers
901 views

Displaying videos in a Content Editor Web Part

I am looking for a MOSS 2007 client side solution that will allow me to surface video links from YouTube etc for the purpose of presenting the most recent training content for the audience. I am ...
1
vote
1answer
54 views

Scripts Not Working in Content Editor

I have a generic out of box web part page. I have added a content editor web part on that page that links to a HTML file because I want to build my own custom form via HTML. Here is the HTML file. &...
1
vote
1answer
653 views

CEWP: Passing parameters to HTML file (workflow/parameter controlled CEWP javascript)

I have a CEWP which references to /SiteAssets/test.html this works well. Now, I would like to pass some parameters like /SiteAssets/test.html?category=abc I receive these parameters with a JS ...
1
vote
1answer
62 views

Unable to add web parts to certain pages in Sharepoint Online

Are there two different types of Pages in Sharepoint? I'm using SharePoint Online, and when I click Add Page, sometimes I get a full (ribbon) editor that allows for web parts, etc. Other times I get ...
1
vote
1answer
125 views

Creating a modeless dialog box that appears automatically after 5 mins

I have a sharepoint site. On it I want to apply modeless dialog box , that will appear after 5 mins when user has open the site. Please suggest. I have written javascript code in CEWP that opens a ...
1
vote
4answers
1k views

jQuery not working properly

In the editform.aspx of an item, I am trying to use jQuery to cause a pop up to go off anytime a field is changed (sort of silly, but once I get this to work, I plan on moving to doing more). However, ...
1
vote
2answers
4k views

SharePoint 2013 Online JavaScript CSOM CEWP

I am in a need of some guidelines according developing in SharePoint 2013 Online. I want to learn developing on a sharepoint 2013 online site. Im using Content editor web parts and want to retrieve a ...
1
vote
2answers
1k views

How to include a 'yes' and 'no' button on the PreSaveAction() on the EditForm.aspx to return true/false accordingly?

I am simply looking to use the PreSaveAction() in a content editor web part as an extra cautionary step prior to saving a list item. Here is what I have: function PreSaveAction() { alert('Are ...
1
vote
2answers
2k views

How to add a specialised content editor web part to the web part gallery?

I would like to add in the web part catalog for the whole farm a specialized version of the content editor web part. Actually, I want to allow all site managers to drop a content editor that contains ...
1
vote
2answers
7k views

How can I add sections in a Document Library?

I have a Document Library of uploaded documents which are classified in sections and displayed by a WebPart. I wan't to add a new section in this library but I didn't find where I can do that. I must ...
1
vote
2answers
756 views

Content Editor Webpart and SharePoint 2007 object model?

I have to supply the query and should display the information on the SharePoint 2007 page based on the Enterprise Search Results. I wonder, if it can be achieved through Content Editor WebPart ? ...
1
vote
2answers
55 views

Script and Content editor web parts missing from SharePoint 2019

I am working with SP 2019 on prem. Noticing one of the most weird issues. I have SharePoint server publishing and SharePoint Server publishing infrastructure enabled. Seeing below when editing a ...
1
vote
1answer
49 views

Does one script override another script in sharepoint 2013?

I have two jquery script. when one script works, the other one does not function and vice versa. Intially, I thought it is because both scripts had same function name etc. I changed the variable name ...
1
vote
1answer
56 views

Retrieve anonymous link on creating item of a list

I have a classic sharepoint online list, when I create some item in list(create view) I want to retrieve a link of that item I'm currently creating to send email with that link to anonymous person. ...
1
vote
2answers
393 views

Unable to directly Edit html in the browser in SharePoint Online

From yesterday onwards, am Unable to directly Edit html in the browser in SharePoint Online env. i have created a folder called htmfiles in my siteassets librray on my SPO site, and i have a html file ...
1
vote
1answer
905 views

When I click on Edit Source, the code is invisible, what next?

I am working on a two column layout. When I click on edit source in the column I am working in, the code is invisible. If I highlight over it, I obviously can see it. Is there a setup that I have ...
1
vote
1answer
45 views

Prevent Repeated Items by Title

I would like to ask if anyone knows how to prevent duplicated Items in a List. I Just don´t want that there are two Titles with the same Name. The idea is doing it through a Content Editor using ...
1
vote
2answers
113 views

Programmin only in CEWP or Without any API

I am quite new here... Right now I am about to design a Workflow site in SharePoint but I have to limitations: 1- I´m not allowed to use any API, only Notepad++ (Portable, of course) 2- No SharePoint ...
1
vote
1answer
87 views

Conditionally display a CEWP depending on form content type?

I have a request list with different content types set up for different types of request. I would like to show a different CEWP at the top of each form depending on which type of request is being ...
1
vote
1answer
3k views

integrating facebook in sharePoint page [closed]

I am trying to get post/news-feeds from Facebook page/group in my SharePoint page.following are the steps I am doing. Registered here https://developers.facebook.com/docs/plugins/embedded-posts. and ...
1
vote
2answers
961 views

CSS Doesn't Work (Script Editor / CEWP)

I have been asked to create a READ MORE option for one of our publishing pages on-prem. It works great on my local machine, but can't get it to work in SharePoint. Guessing I am putting my code in the ...
1
vote
1answer
953 views

Content Editor Web Part not working on all servers in farm

I have a multiserver farm and on one WFE the CEWPs display fine, but on the other servers they show up on all subsites as : Web Part Error: One of the properties of the Web Part has an incorrect ...
1
vote
2answers
280 views

Speedometer gauge using calculated columns?

My idea is implement a speedometer gauge at the top of my page that will change dynamically based on the average of a column, what i'm thinking is to use three speedometer images (low/med/high) and ...
1
vote
2answers
1k views

SharePoint Parent/Child List form

I'm using SharePoint 2010 standard edition and I want to create a Parent/Child list form. I noticed that Query string webpart is part of enterprise edition as shown here http://bit.ly/1tF8rkG and ...
1
vote
1answer
2k views

400 (Bad Request) ERROR while trying to use JS files in Content Editor Web Part

So, I added some code in Content Editor Web Part and code is started like this: <script src="/<MyURL>/_layouts/15/SP.Runtime.js" type="text/javascript"></script> <script src="/&...
1
vote
1answer
1k views

How to get content from Content Editor WebPart (CEWP) to a custom WebPart on the same Page?

I have two webparts on a single page: Content Editor WebPart My Custom WebPart I need to send content from 1 in HTML format to 2. Is there a way to achieve this? I was thinking of, maybe, adding ...
1
vote
1answer
1k views

Quick Launch Bar Wrap Text

Currently, my page titles in the quick launch bar are wrapping in the middle of the text. My objective is to have the word not be broken into two. However, I do not want to change the Master page. ...