Tags:
create new tag
view all tags

SID-00209: WYSIWYG Editor Pop Up Windows

Status: Answered Answered TWiki version: 4.2.4 Perl version: 5.008008 (darwin)
Category: CategoryPlugins Server OS: Mac OS X 10.5.6 Last update: 16 years ago

In just upgraded my twiki from 4.1.0 to 4.2.4. Everything works fine except the editor. Every button that creates a pop-up window, such as the window you get when you try to insert a link, creates a pop-up window with java script code instead of the buttons, etc. you expect to see when you try to insert a link. Same happens when for example you try to change the color of text. Here is a sample of part of the code I see in the top of the pop-up window:

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   <title>{$lang_insert_link_title}</title>
   <script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
   <script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script>
   <script language="javascript" type="text/javascript" src="../../utils/form_utils.js"></script>
   <script language="javascript" type="text/javascript" src="../../utils/validate.js"></script>
   <script language="javascript" type="text/javascript" src="jscripts/link.js"></script>
   <base target="_self" />
</head>
<body id="link" onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none">
<form onsubmit="insertLink();return false;" action="#">
   <div class="tabs">
      <ul>
         <li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{$lang_insert_link_title}</a></span></li>
      </ul>
   </div>
I have looked at all settings, but I can not figure out what is going wrong. It happens on any computer I have tried so far; when I edit a page on twiki.org, I have no problems. Any suggestions and ideas are very welcome!

Frank Wolfs wolfs@pasPLEASENOSPAM.rochester.edu

-- FrankLHWolfs - 20 Mar 2009

Discussion and Answer

Found the solution to this problem: in the twiki_httpd.conf I changed the following line:

AddType text/plain .html .htm .shtml .php .php3 .phtml .phtm .pl .py .cgi

to

AddType text/plain .html .shtml .php .php3 .phtml .phtm .pl .py .cgi

Note: I removed the .htm. After restarting the apache server and clearing the caches of the browser, the pop-up windows now function as expected.

-- FrankLHWolfs - 20 Mar 2009

Thanks for reporting the solution!

-- PeterThoeny - 20 Mar 2009

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title WYSIWYG Editor Pop Up Windows
SupportCategory CategoryPlugins
TWiki version 4.2.4
Server OS Mac OS X 10.5.6
Web server Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.7l DAV/2
Perl version 5.008008 (darwin)
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2009-03-20 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.