jDiction Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

jDiction 2.2.0 released. http://jdiction.org/downloads

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Finarfin

Pages: 1 ... 3 4 [5]
61
I was trying to add a menu entry which menutype was a "Login form"

62
mmm I think I understand. Anyway, any chance to have a "if this link is not jdiction valid, dont translate it"?

63
Why it try to translate it? I mean, if jdiction don´t know how to handle that link, maybe he needs to resort to the default behaviour:P

64
Accesing:

http://localhost/joomla/index.php/es/component/users/?view=login

Give me this:


Call stack
#   Function   Location
1   JSite->render()   C:\xampp\htdocs\joomla\index.php:48
2   JDocumentHTML->render()   C:\xampp\htdocs\joomla\includes\application.php:271
3   JDocumentHTML->_renderTemplate()   C:\xampp\htdocs\joomla\libraries\joomla\document\html\html.php:433
4   JDocumentHTML->getBuffer()   C:\xampp\htdocs\joomla\libraries\joomla\document\html\html.php:655
5   JDocumentRendererModules->render()   C:\xampp\htdocs\joomla\libraries\joomla\document\html\html.php:371
6   JDocumentRendererModule->render()   C:\xampp\htdocs\joomla\libraries\joomla\document\html\renderer\modules.php:39
7   JModuleHelper::renderModule()   C:\xampp\htdocs\joomla\libraries\joomla\document\html\renderer\module.php:107
8   include()   C:\xampp\htdocs\joomla\libraries\joomla\application\module\helper.php:175
9   modJdLanguageHelper::getLink()   C:\xampp\htdocs\joomla\modules\mod_jdlanguage\mod_jdlanguage.php:22
10   JdDatabase->loadObject()   C:\xampp\htdocs\joomla\modules\mod_jdlanguage\helper.php:43
11   JdDatabase->loadTranslation()   C:\xampp\htdocs\joomla\libraries\jdiction\database\jddatabase.php:232
12   JDatabase->loadRow()   C:\xampp\htdocs\joomla\libraries\jdiction\database\jddatabase.php:366
13   JdDatabase->execute()   C:\xampp\htdocs\joomla\libraries\joomla\database\database.php:1170
14   JdDatabaseAdapter->execute()   C:\xampp\htdocs\joomla\libraries\jdiction\database\jddatabase.php:423
15   JDatabaseMySQLi->execute()   C:\xampp\htdocs\joomla\libraries\jdiction\database\database\mysqli.php:98
16   JError::raiseError()   C:\xampp\htdocs\joomla\libraries\joomla\database\database\mysqli.php:396
17   JError::raise()   C:\xampp\htdocs\joomla\libraries\joomla\error\error.php:251

65
General Questions / jddatabase.php addJoinKeys bug
« on: January 11, 2013, 08:47:53 pm »
Just you know, if the $sql argument passed have more than two tables in the from, something like

Select * from actual as a, brave as b


It will happen a sql error cause the constructed query here

$sql->select($alias.'.'.$primarykey.' AS JD_MAGIC_KEY_'.$jdkey);

will be something as

select a,.id as JD_MAGIC_KEY_1

I don´t know if this bug only happened to me because we are doing something strange in our module, but here is for you to know ;)

By the way, we solved it with a simple

        $alias = str_ireplace(',', '', $alias);

before

        if ($alias == '') {
          $alias = $tablename;
        }




66
General Questions / Re: Sugestion: "Is translated?" icon
« on: August 26, 2012, 07:47:37 pm »
Ops, I get it now, it is http://127.0.0.1/administrator/components/com_jdiction/assets/jdiction.js but it has to be http://127.0.0.1/joomla_folder/administrator/components/com_jdiction/assets/jdiction.js

67
General Questions / Re: Sugestion: "Is translated?" icon
« on: August 26, 2012, 07:34:26 pm »
Console error:
Failed to load resource: the server responded with a status of 404 (Not Found)

http://127.0.0.1/administrator/components/com_jdiction/assets/jdiction.js

Edit: Forget it, maybe is a problem with symbolic links. I´ll let you know

68
General Questions / Sugestion: "Is translated?" icon
« on: August 26, 2012, 06:55:49 pm »
For your todo list :P It would be very interesting to know, once I enter on the article list, to see wich articles are translated and wich one not. And/or to have on the translations list all the articles and the status on each language.

Another thing: If Im not wrong, in the translations list dont appear the article title, something that would be good to know (dont trust me on this one, I can´t recall it exactly)

69
Install & Configure jDiction / Re: TinyMCE and JCE
« on: August 22, 2012, 08:07:40 pm »
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!

70
Install & Configure jDiction / Re: TinyMCE and JCE
« on: August 22, 2012, 07:55:31 pm »

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>



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

71
Install & Configure jDiction / Re: TinyMCE and JCE
« on: August 22, 2012, 07:45:18 pm »

72
Install & Configure jDiction / Re: TinyMCE and JCE
« on: August 22, 2012, 07:14:00 pm »
Can´t do, but I´ll be happy to answer the info you need

What browser are you using? I can try it.

73
Install & Configure jDiction / Re: TinyMCE and JCE
« on: August 22, 2012, 05:44:48 pm »
Sorry, no luck

Tested on Firefox and Chrome, last versions. I´ll check later and I´ll let you know :)



74
Install & Configure jDiction / Re: TinyMCE and JCE
« on: August 22, 2012, 04:25:51 pm »
Oh, by the way, when I changed to TinyMCE, the same error appears (looking in the console:

// Code:
//If we have a tinyMCE Editor
      if (tinyMCE) {

// Console error
Uncaught ReferenceError: tinyMCE is not defined
    
Is like the javascript object is not being passed.  Im using Joomla 2.5.4

75
Install & Configure jDiction / TinyMCE and JCE
« on: August 22, 2012, 04:09:56 pm »
I have problems because I use JCE instead of TinyMCE. Any plans to support it?

Pages: 1 ... 3 4 [5]