CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • CRM-4619 - additional change needed - remove_script_host : false
Pages: [1]

Author Topic: CRM-4619 - additional change needed - remove_script_host : false  (Read 849 times)

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
CRM-4619 - additional change needed - remove_script_host : false
June 21, 2009, 02:18:57 am
I have just applied the patch for CRM-4619 but found that it didn't do what I hoped (stopping the TinyMCE editor from converting URLs referring to my domain to a relative URL).

I researched the TinyMCE forums, and found http://tinymce.moxiecode.com/punbb/viewtopic.php?id=7930 and http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/remove_script_host

The article indicated that in addition to setting relative_urls : false one also needs to set remove_script_host : false.

This is the patch for tinymce.php ...

Code: [Select]
--- old/tinymce.php 2009-06-19 12:53:52.000000000 +1000
+++ tinymce.php 2009-06-21 18:35:46.000000000 +1000
@@ -159,7 +159,8 @@
     theme_advanced_resizing : true,
     apply_source_formatting : true,
     spellchecker_languages : "+English=en,Danish=da,Dutch=nl,Finnish=fi,French=fr,German=de,Italian=it,Polish=pl,Portuguese=pt,Spanish=es,Swedish=sv",
-    relative_urls : false
+    relative_urls : false,
+    remove_script_host : false
     });    
 
 </script>' );

I've created an issue: CRM-4666
« Last Edit: June 21, 2009, 02:25:34 am by ken »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • CRM-4619 - additional change needed - remove_script_host : false

This forum was archived on 2017-11-26.