Display error when inserting table in Content Editor Webpart
I've got a MOSS 2007. I want to insert a table into the Content Editor Webpart using the Rich Text Editor. I am choosing "Insert Table" and the new window occurs. But I can't do anything. The buttons in the format section are not enabled. There are a lot of display errors. (I wanted to upload an image but I don't know where...) The display errors are pictures with the name "TRANS.GIF" lying in the images folder of the 12Hive. There are several of these images maybe to align the context. To summarize: I can't use the "Format" There are disply errors (images) in the dialog Can anybody help me?
October 21st, 2010 10:36am

Do you know HTML? If so, its often quicker and easier to write your own table and insert it using the source code editor. As for images, just host these in your site and link them where needed in your html.http://www.final-exodus.net
Free Windows Admin Tool Kit Click here and download it now
October 21st, 2010 11:49am

Yeah I know HTML :) I don't want to insert my own table. It's for a user who don't know HTML. I forgot to tell. But it doesn't matter. I want to use the built-in function of SharePoint to insert a table and it doesn't work. Maybe the error appears after an update? Can anybody help?
October 21st, 2010 1:11pm

Is there is small red cross sign on images place? if so right click on it and from properties get its location. Check the local with image name. asim MCTS SharePoint 2007 -WSS 3.0
Free Windows Admin Tool Kit Click here and download it now
October 21st, 2010 3:54pm

Hi, For your first question, this is known issue. You can refer to the following article to resolve it http://support.microsoft.com/kb/948320 For the second question, How to insert a image, please refer to the following steps: In Rich Text Editor 1. Click the button for “Open a new window to Insert Image” and one Webpage Dialog will display. 2. You can use the browse button to get the url of current site. If you want to insert the image which is not in current Site(like the system image “_layout/images/abc.gif” or other site’s image), you must add the whole path for the image in the “Selected Image” text box, use the browse button is useless. 3. Click “Ok”, you will see the image there. Additionally the webpart didn’t provide the function for uploading the image. You need upload the image into one of libraries before. Hope this helps Thanks! Stanfford Everything will be fine.
October 25th, 2010 9:15am

Thanks for the article. I'll try this. The problem with the images: There is no red cross on them. That's the problem. They are real images laying in the folder "12/Template/Images". It is called TRANS.GIF... I don't want to insert an image into the RTE field. I want to insert a table and when I click the button to insert one the pop up contains this "image errors"... The TRANS.GIF seems to be a placeholder so that the layout for this pop up looks nice. But I can SEE this image... Hope this helps to solve the problem.
Free Windows Admin Tool Kit Click here and download it now
October 25th, 2010 11:04am

If the second isssue insists, you had better post the html code to forum in order i can reproduce your issue.Everything will be fine.
October 25th, 2010 12:08pm

Good idea :) <tr unselectable="on"> <td width="100%" unselectable="on"></td> <td unselectable="on"> <input type="button" id="OkButton" class="ms-ButtonHeightWidth" value="OK" onClick="Dialog_Ok()" accesskey="o"/> </td> <td unselectable="on"><image alt="" src="/images/trans.gif" height=4 width=2><td> <td unselectable="on"> <input type="button" id="CancelButton" class="ms-ButtonHeightWidth" value="Abbrechen" onClick="Dialog_Cancel()" accesskey="c"/> </td> <td unselectable="on"><image alt="" src="/images/trans.gif" height=4 width=4><td> </tr> It is only copied from Firefox because I can't see the source code of the aspx in the IE. The right click event is "disabled". The td containing the images TRANS.GIF display the error. I tried the page in IE6, IE7, IE8 and IE9. The error occurs only in IE8. IE6, IE7 don't display it. (IE9 doesn't show the popup.... It seems to be a bug...) Can someone help?
Free Windows Admin Tool Kit Click here and download it now
October 26th, 2010 4:22am

Hi, For your first question, this is known issue. You can refer to the following article to resolve it http://support.microsoft.com/kb/948320 If I got this right (english is a foreign language to me :) ) the article describes how to link the Htmleditortableformats.css to the site. This means this css should be linked in the source code of the site. In my case the site contains that link already. The "predefined table format" section is shown, but it doesn't work.
October 26th, 2010 8:06am

The "predefined table format" section is shown, but it doesn't work. The "predefined table format" section is shown,but it's disable. is it right? If so, try the kb again.Everything will be fine.
Free Windows Admin Tool Kit Click here and download it now
October 27th, 2010 12:48am

Good idea :) <tr unselectable="on"> <td width="100%" unselectable="on"></td> <td unselectable="on"> <input type="button" id="OkButton" class="ms-ButtonHeightWidth" value="OK" onClick="Dialog_Ok()" accesskey="o"/> </td> <td unselectable="on"><image alt="" src="/images/trans.gif" height=4 width=2><td> <td unselectable="on"> <input type="button" id="CancelButton" class="ms-ButtonHeightWidth" value="Abbrechen" onClick="Dialog_Cancel()" accesskey="c"/> </td> <td unselectable="on"><image alt="" src="/images/trans.gif" height=4 width=4><td> </tr> It is only copied from Firefox because I can't see the source code of the aspx in the IE. The right click event is "disabled". The td containing the images TRANS.GIF display the error. I tried the page in IE6, IE7, IE8 and IE9. The error occurs only in IE8. IE6, IE7 don't display it. (IE9 doesn't show the popup.... It seems to be a bug...) Can someone help? can you browse the images by IE in http://servername:port/images/trans.gif Everything will be fine.
October 27th, 2010 1:08am

Yeah the section is disabled. Okay I'll try the article again. [Edit] If I got this right I have to link the aspx with the css. The aspx containing the RTE already contains that link. The aspx with the predefined table format section is the CmsSlwpAddEditLink.aspx. I tried to add the line <SharePoint:CssRegistration runat="server" Name="HtmlEditorTableFormats.css" /> Nothing happens. Am I right with my procedure? [/Edit] I can browse the image. It is under http://servername/_layouts/images/TRANS.GIF. No problems occur. ("_layouts" because the IIS maps it)
Free Windows Admin Tool Kit Click here and download it now
October 27th, 2010 3:20am

1. try add the following tag at the front of the end tag </HEAD> in the master page of the site <link rel="stylesheet" type="text/css" href="/_layouts/1033/styles/htmleditortableformats.css" /> 2.the src property which start with "/" is the relative server path, for you scenario, If you want to use the image from http://servername/_layouts/images/TRANS.GIF, you should set the <image alt="" src="/_layouts/images/trans.gif" height=4 width=4> Hope this helps. Everything will be fine.
October 27th, 2010 5:07am

I set the link in the used PageLayout and deployed. It didn't work. I can't change the image source. It is set by SharePoint itself.
Free Windows Admin Tool Kit Click here and download it now
October 27th, 2010 8:11am

Please try to set the link in master page. the content of Content Editor Webpart should be added by yourself. IF you can't change, you must make sure there is an image in following url: http://servername:port/images/trans.gifEverything will be fine.
October 28th, 2010 10:04pm

I solved the problem with the images. I got help from Microsoft. This is an IE8 bug. Because the IE8 handles the exception in another way than the IE7 does. So of course you have to make sure that the image is in the right folder. Unfortunately the images folder is not mapped by IIS or browseable or anything. The only way to access this folder is to use the SharePoint Designer or a Script to copy the image. The workaround with the Designer: Open the SiteCollection in the SharePoint Designer Navigate to the images folder (not the _layouts/images) --> the content should be empty Navigate to ..\12\TEMPLATE\IMAGES\TRANS.GIF Copy it Go to SharePoint Designer and paste the image
Free Windows Admin Tool Kit Click here and download it now
November 4th, 2010 3:37pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics