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

learn more… | top users | synonyms

1
vote
1answer
4k views

jQuery to modify SharePoint 2010 Column Width

SharePoint 2010 - I have a Standard Task list in Gantt View that represents a list of projects (Sync from Project 2010). Since the column widths are not-persistent in SharePoint, I wrote a script to ...
0
votes
2answers
402 views

Content Editor Web Part for Lists

I try to apply some styles to the list. I added CEWP into the page and edited the source. It is CEWP's source: <style type="text/css"> body{background-color:white;} </style> It doesn't ...
1
vote
1answer
258 views

Content Editor Web Part Uneditable in IE9

A user added a content editor web part with just some simple HTML formatted text to it today. Once the text is added and the page is saved no body can seem to edit the web part's properties unless ...
0
votes
1answer
174 views

How to embed external websites with IE8

Using IE7 and Firefox I can use Page viewer web parts & Content editor web parts to embed external web sites i.e. Youtube Kart Club Celebrates 50th Anniversary However with IE8 only the youtube ...
2
votes
1answer
220 views

How to Roll back Sharepoint content editor webpart

I have content editor on my team site where I added several links. But today while adding some new links, content editor crashed. so now when I tried to open site containing content editor, browser ...
6
votes
1answer
471 views

Multicast playing of video inside SharePoint

If I use the Flow Player (http://flowplayer.org/) to play videos (which is stored on a network storage) using the Content Editor Web Part in SharePoint 2007, will the videos operate in a multicast way ...
6
votes
2answers
1k views

Can I Use SharePoint's Web Services to Edit a Content Editor Web Part?

Is it possible for me to change both the properties & the HTML of a content editor web part on a publishing page using SharePoint 2010's web services? If so, would you mind pointing me in the ...
0
votes
1answer
154 views

TelerikRADEditor web part error

I have migrated from SP 2007 to SP 2010 and have some error webparts with content I need to keep. I would like to move the content into a OOTB Content Editor Web Part as a part of my SharePoint 2007 - ...
0
votes
1answer
283 views

Get site url in ContentEditorWebPart content

I have added a ContentEditorWebPart to an Element file in visual studio. I want to get the current site url and place it in the content block (between the cewp:Content tags). How would i do this? ...
0
votes
1answer
53 views

Hyperlink in ContentEditorWebPart Content Fails

I have a ContentEditorWebPart in visual studio 2010. I have altered the content and added some html. When i deploy this it works fine. When i add a hyperlink to the content the deployment fails. ...
0
votes
2answers
855 views

Editing page , adding web part Error

When editing my page and clicking on add web part, a JavaScript error occurs saying wpadder.debug.js invalid argument error. This just happens on ie7, 8 and 9. Chrome is working well as is Firefox. ...
1
vote
2answers
484 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 ...
0
votes
0answers
235 views

Display Current Site Name in Content Editor Web Part

I have read the Answer to "Dynamically Display Current Site Name in Content Editor Web Part" but i do not understand why > <script type="text/javascript" language="javascript"> > ...
0
votes
1answer
5k views

Dynamically Display Current Site Name in Content Editor Web Part

I have been researching how to use the SPSite site = SPContext.Current.Site reference to pull the current site name, but I am unsure how to call this in a content editor web part. All I need is the ...
1
vote
1answer
122 views

Web Part JS ToggleMe not running

I want to add toggled visible / invisible divs to a SharePoint wiki page, and put the function for the toggling in a web part. My toggling script works fine testing outside of SharePoint, but inside ...
0
votes
2answers
806 views

Content Editor Web Part not loading Content Link

I have a Content Editor Web Part, pointing to an html file at the web app's root (Content Link = "/Style Library/MyCollaborationWebParts/MyCollaborationLinks.html"). The content showed by the CEWP ...
2
votes
1answer
216 views

SharePoint & Protocol-Relative URL's

A common web development trick is to use protocol-relative URL's, i.e. we drop the scheme part of the URL, e.g. http, and based on the scheme of the page the URL's take will use that scheme. However ...
1
vote
1answer
2k views

JavaScript in CEWP does not execute

After putting a small script together and pasting it into the Content Editor Web part all my breakpoints show the following warning in IE 8's debugger: "The breakpoint is not valid. No executable code ...
0
votes
3answers
2k views

JavaScript window.location doesn't work in content editor webpart

my issue is, that the following script with its window.location function doesn't work in a sharepoint content editor webpart. I've tested it as a standalone and it worked fine, but as soon I inserted ...
0
votes
3answers
1k views

Show Web part only for Logged in User

Is there any way that i can show a web part only for current logged in user .I want to achieve this on an out of the box content editor web part .Please suggest me
0
votes
1answer
89 views

Searching for a CEWP on a page using jquery

I have a requirement where in i have to set the link of the CEWP using jquery on a button click. The approach i was thinking of is : On button click , find the CEWP on the page. Change the link to the ...
0
votes
1answer
460 views

CEWP showing up in IE and in FF, but not in Chrome or Safari

I'm implementing the nivo-slider in a Content Editor Web Part, and it shows up and works in Firefox and in Internet Explorer. I'm referencing a text document through the content link, and this is ...
0
votes
1answer
65 views

I want to give a user with minimum permissions the ability to use a content editor

Just one particular content editor. So the user's permissions will still apply (i.e. they are not an editor so typically cannot edit) but will still have access to a content editor's rich editing ...
1
vote
1answer
195 views

How to access the webpartmanager of a list?

I would like to programmatically add a CEWP to a list (to perform operations on my list forms), it's very easy to do it through the SP interface but I can't manage to reach the webpartmanager of my ...
1
vote
0answers
129 views

CEWP won't allow text to be edited

Recently, I imported a CEWP on my site from another. For some reason, no other user can edit the text but me, even though they have Design permissions to edit it. I've checked the permissions for ...
2
votes
1answer
700 views

Javascript is changing in Content Editor WebPart

I want to add this a Widget in my sharepoint site. But every time someone edit the page, it mess the script. Someome knows why sharepoint is changing the script? And how to avoid it? The script that ...
0
votes
0answers
232 views

Setting Enum property in Editor Part dynamically

I have a custom web part in SharePoint 2010. It has a content editor part implemented.Content Editor part has following properties say Choice : choice1,choice2.....choice5 these are checkboxes. Choice ...
1
vote
1answer
2k views

Get the content of a content webpart with the client object model

Is it possible to get the content of a content webpart by using the client object model of SharePoint? The usage scenario: I want to copy a site page (with content in content editor webparts) from ...
0
votes
2answers
1k views

Javascript How can I return a value for document.write in CEWP with javascript

I am new to this, and I am just trying to understand how to use some of the javascript I have learned in different ways. This may be a question of context, but an examples or explanation is always ...
2
votes
2answers
1k views

JavaScript with CEWP using ClientContext, do I need to add src to tag?

I am new to SP Dev and I am trying to add some CEWPs that reference javascript I have placed in text files and uploaded to a document library. For bland functions it seems to work fine, however for ...
1
vote
0answers
368 views

Like Buttons in CEWP

I want to have multiple like buttons on a page so as a test I have made a content editor web part with the following script. It basically has two links that like two different pages in the site. The ...
2
votes
2answers
3k 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' ...
0
votes
1answer
892 views

Remove 'Edit this page to modify your web part content' from CEWP

I added Content Editor Webpart in my Sharepoint page. If there is no content provided in CEWP then 'Edit this page to modify your web part content' default text is displaying in the page. How do i ...
1
vote
1answer
792 views

Possible to use createNewDocumentWithRedirect to redirect to a web based Infopath form?

We create a link to a InfoPath client-based form (meaning that the form is open at the client machine which have infopath installed.) by using the following source code inside a Content Editor web ...
0
votes
2answers
2k views

Content Editor Web Part blank in jQuery slideshow

Now I dont get any error(s). But the content editor wp is blank (well, except for the gear image). Any idea(s)?? <IMG ID="slideshowPicturePlaceholder" src="/_layouts/images/GEARS_AN.GIF" ...
1
vote
2answers
3k 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
1answer
305 views

Custom default page - edits not saved in content editor web part

I've created a custom default.aspx page which is provisioned through a custom web template using SharePoint 2010. I've added the below code to add a content editor web part, with some default content. ...
0
votes
1answer
978 views

Javascript in Content Editor will not run unless our URL is a trusted site

We have a client that have their systems set up so that the Javascript in a Content Editor on a page does not seem to run unless they add the url of the site to the list of Trusted Sites in Internet ...
1
vote
3answers
713 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 ...
2
votes
1answer
1k views

Error on page when using an iframe in a Content Editor Web Part

I am trying to set up on iframe on a SharePoint 2007 page that will show the most current project report uploaded to a document library. Here is my code, inserted into the page in the source of a ...
2
votes
1answer
223 views

Content editor WP mangles code

I'm having issues using the content editor web part on publishing pages of a SharePoint 2010 site. I paste the following JavaScript into a CEWP: <script> $(document).ready(function () { ...
0
votes
1answer
3k views

How to add a webpart using Sharepoint Designer 2010

Is it possible to add a webpart to a page using Sharepoint Designer 2010. I'm trying to modify the newform.aspx page of a list to add a Content Editor Webpart into it. I can't find any way to do that ...
0
votes
1answer
719 views

Put Easy-Tabs in page layout rather than CEWP

Another question about the fantastic Christophe Humbert Easy Tabs library: Can the library be included in a page layout for a publishing site rather than in a content editor web part? This way it's ...
1
vote
3answers
771 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!! ...
0
votes
1answer
736 views

Show/Hide Content Editor Web Part Based on Sharepoint Custom Content Type

I have created a room/resource reservation process using custom content event types. They are as follows: *Reserve a Room *Reserve an AV Resource *Reserve the Conference Room I have created a CEWP ...
0
votes
1answer
165 views

rotating images using Source Editor

I need the code for inserting a rotating banner image (banner that changes 2 or more images in the one spot). Does any body have this code?
1
vote
4answers
693 views

Migration from Sharepoint 2007 to 2010

Currently I work on a subsite from the SP 2007 farm. But in the upcoming future the parent site plans on upgrading to sharepoint 2010 and I wonder how will this effect my subsite. In my subsite I have ...
1
vote
3answers
930 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 ...
0
votes
1answer
145 views

How is it possible that CEWP shows up with IE but nothing in FF, Chrome and Safari?

On my machine I can get CEWP to show (image and data) on IE and FF. Chrome and Safari still show nothing (just blank screen). CEWP is linking to a txt file that has javascript stuff. Here is the code ...
1
vote
2answers
1k views

Content Editor Webpart Javascript Issue

I have recently upgrade our test environment to SP 2010 (using DB detach and attach approach). And also we did not do the Visual Upgrade. We have few CEWP's which is now starting throwing JS script ...