Tables in mojoPortal

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
8/17/2010 4:54:49 AM
Gravatar
Total Posts 14

Tables in mojoPortal

Hi.

I have some trouble with formatting tables.  I have tables in Excel, copy them and paste into a page in my site.  For a while it seemed to work well, but lately I have had difficulty in producing consistent results.  Column widhts and row heights do no come out as I want them and I can´t see how to edit individual columns and/or rows.  Where can I find information on this?

I am using Windows Server 2008, SQL Server 2008 but I am not sure which mojoPortal version #.

8/17/2010 6:57:25 AM
Gravatar
Total Posts 18439

Re: Tables in mojoPortal

None of the editors used in mojoPortal has any support for paste from Excel. Though it may work in some versions of the editors to some degree it is not a feature listed by any editor that I know of and pasting such content probably results in really bad markup in all cases.

The difference may be because we have upgraded to newer versions of the editors (CKeditor TinyMCE) and perhaps it worked better in older versions (not by design but by happenstance).

As long as you have not deleted the older versions of the editors, you could configure it to use an older version by overriding these settings in user.config

<add key="CKEditor:BasePath" value="~/ClientScript/ckeditor332/"/>
<add key="TinyMCE:BasePath" value="~/ClientScript/tiny_mce338/"/>
<add key="FCKeditor:BasePath" value="~/ClientScript/fckeditor266/"/>
 

you would need to look on disk under the /ClientScript folder to see what older versions you have there

However, no matter which version of the editor you use, I suspect that if you look at the markup after you paste it, it will be really bulked up and messy markup. I have not tried it myself, but pasting from Word also produces really bad markup and I would expect the same from Excel.

Hope it helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.