English > Install & Configure jDiction

TinyMCE and JCE

<< < (3/3)

Finarfin:

* Mmm... as long as I know, no.
* 0.7.9.1, this one, http://jdiction.org/en/downloads?view=download&id=42
* Think so, it is from Edit article-> Translate
Iframe:


--- Quote ---<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es-es" lang="es-es" dir="ltr" slick-uniqueid="3"><head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8">
  <meta name="generator" content="Joomla! - Open Source Content Management">
  <title>Migracion de 1.5 a 1.7 - Administración</title>
  <link href="/joomla_17_migracion/administrator/templates/bluestork/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon">
  <link rel="stylesheet" href="/joomla_17_migracion/administrator/components/com_jdiction/assets/style.css" type="text/css">
  <link rel="stylesheet" href="templates/system/css/system.css" type="text/css">
  <link rel="stylesheet" href="templates/bluestork/css/template.css" type="text/css">
  <script src="/joomla_17_migracion/media/system/js/mootools-core.js" type="text/javascript"></script>
  <script src="/joomla_17_migracion/media/system/js/core.js" type="text/javascript"></script>
  <script src="/joomla_17_migracion/media/system/js/mootools-more.js" type="text/javascript"></script>
  <script src="/joomla_17_migracion/media/system/js/validate.js" type="text/javascript"></script>
  <script src="/joomla_17_migracion/media/system/js/tabs.js" type="text/javascript"></script>
  <script type="text/javascript">
window.addEvent('domready', function() {
         $$('.hasTip').each(function(el) {
            var title = el.get('title');
            if (title) {
               var parts = title.split('::', 2);
               el.store('tip:title', parts[0]);
               el.store('tip:text', parts[1]);
            }
         });
         var JTooltips = new Tips($$('.hasTip'), { maxTitleChars: 50, fixed: false});
      });
   window.addEvent('domready', function(){
                  $$('dl#language-tabs.tabs').each(function(tabs){
                     new JTabs(tabs, {useStorage: true,titleSelector: 'dt.tabs',descriptionSelector: 'dd.tabs'});
                  });
               });
  </script>

   </head>
   <body class="contentpane">
      
<div id="system-message-container">
</div>
         <fieldset>
      <div class="fltrt">
         <button type="button" onclick="Joomla.submitform('translation.apply', $('component-form'));">
            Guardar</button>
         <button type="button" onclick="Joomla.submitform('translation.save', $('component-form'));">
            Guardar y cerrar</button>
         <button type="button" onclick="window.parent.SqueezeBox.close();">
            Cancelar</button>
      </div>
      <div class="configuration">
         Artículos Translate      </div>
   </fieldset>
   <script type="text/javascript">
   Joomla.submitbutton = function(task)
   {
      if (document.formvalidator.isValid(document.id('component-form'))) {
         $$('input[type!=hidden], textarea, select')
         Joomla.submitform(task, document.getElementById('component-form'));
      }
   }
   
   window.addEvent('domready', function() {
      $$('input[type!=hidden], textarea, select').setStyle('border-color', 'green');
      $$('input[type!=hidden], textarea, select').addEvent('change', function() {
         jdiction_checkStatus(this.value, $(this.id+'_status').title, this.id, this);
      });
      //If we have a tinyMCE Editor
      if (typeof tinyMCE != 'undefined') {
       tinyMCE.onAddEditor.add(function(mgr,ed) {
            ed.onChange.add(function(ed, e) {
               jdiction_checkStatus(ed.getContent(), $(ed.id+'_status').title, ed.id, $(ed.id+'_tbl'));
            });
         });
      }
   });
   
   function jdiction_checkStatus(newvalue, oldvalue, id,  marker) {
      if (newvalue != oldvalue) {
         marker.setStyle('border', '1px solid orange');
         $(id+'_status').value="changed";
      } else {
         marker.setStyle('border', '1px solid green');
         $(id+'_status').value="unchanged";
      }
   }
   function jdiction_removeContent(id, marker) {
      marker.setStyle('border', '1px solid red');
      $(id+'_status').value="remove";
      if ($(id+'_tbl')) { //Editor
         if (typeof tinymce != 'undefined') {
            tinymce.get(id).setContent('');
         }
      } else {
         $(id).value = '';
      }
   }
   function jdiction_copyContent(text, id) {
      
      if ($(id+'_tbl')) { //Editor
         if (typeof tinymce != 'undefined') {
            jdiction_checkStatus(tinymce.get(id).getContent(), text, id, $(id+'_tbl'));
            tinymce.get(id).setContent(text);
         }
      } else {
         jdiction_checkStatus(text, $(id).value, id,  $(id));
         $(id).value = text;
      }
   }

</script>
<style>
.info_img {
   float: left;
   cursor: pointer;
   padding: 4px 2px 2px 2px;
}
</style>
<form action="/joomla_17_migracion/administrator/index.php?option=com_jdiction" id="component-form" method="post" name="adminForm" autocomplete="off" class="form-validate">

   <dl class="tabs" id="language-tabs"><dt style="display:none;"></dt><dd style="display:none;"></dd><dt class="tabs language-tab-de closed" style="cursor: pointer; "><span><h3><a href="javascript:void(0);">Deutch</a></h3></span></dt><dt class="tabs language-tab-en-GB open" style="cursor: pointer; "><span><h3><a href="javascript:void(0);">English (UK)</a></h3></span></dt></dl><div class="current"><dd class="tabs" style="display: none; ">        <ul class="config-option-list">
                </ul>
    <div class="clr"></div>
    </dd><dd class="tabs" style="display: block; ">        <ul class="config-option-list">
                </ul>
    <div class="clr"></div>
    </dd></div>   <div>
      <input type="hidden" name="jd_id" value="13">
      <input type="hidden" name="jd_option" value="com_content">
      <input type="hidden" name="jd_view" value="article">
      <input type="hidden" name="jd_layout" value="edit">
      <input type="hidden" name="task" value="">
      <input type="hidden" name="tmpl" value="component">
      <input type="hidden" name="layout" value="popup">      
      <input type="hidden" name="08b648e65591fb0940b0329ab47c96c9" value="1">   </div>
</form>
   

</body></html>
--- End quote ---



Im going to update to 2.5.6, maybe that´ll fix it.

Harald Leithner:
maybe because this is not a problem of the JCE it seams to be a problem loading the form...

Paste you check the content of JPATH_SITE /libraries/jdiction/tables/content.xml

Finarfin:
Hey, the update fixed it! :D soooo 2.5.4, seems bad, 2.5.6, seems nice :P (Im using JCE, by the way)


Hope to see this module in production mode :P I´ll let you know if I find more "bugs"

Cheers!

Harald Leithner:
I'm using it already in production on some client sites, not 0.7.9.1 but 0.7...
0.8 will be ready this or next week.

Navigation

[0] Message Index

[*] Previous page

Go to full version