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 2 [3] 4 5
31
Install & Configure jDiction / Re: Searching with finder
« on: July 05, 2013, 08:17:27 pm »
Ok, I have to make more tests but there is a possibility that I found something.

There is any chance that the batch offset is being miscalculated? After some print_r in strategic places it seems like the subquery from content are something like

1000, 1001, 1002 ... 1099, 1100 and suddenly a gap where the ids start again at 1201 or something like that.

Could be that as each real content row is really two or more index entries (cause the several languages), it is miscalculated?


Maybe this is about the 99%. Could be that you don´t have this problem cause your batch size is less than your total article number...? mmm I´ll do some more test, let me know what you think.

32
Quote
As for the "parent" issue:

Use of undefined constant parent - assumed 'parent'
You are seeing this because you have the following code:

if (method_exists(parent, '__construct')) parent::__construct();
Which should actually be:

if (method_exists(get_parent_class($this), '__construct')) parent::__construct();

From here http://stackoverflow.com/questions/4794483/zend-framework-phpunit-path-issues

33
Not fixed on 0.9.9.9 and 2.5.8 ;)

34
General Questions / Re: Performance
« on: July 04, 2013, 01:15:59 pm »
well, you are the designer, you´ll have to say where the others need to put the file to you to find it :D but it would be more efficient at level 1 of course

35
General Questions / Re: Performance
« on: July 03, 2013, 12:10:53 am »
Just for the record, comment this line on 0.9.9.9 break the code. Probably cause of the merge. Now is something like

$subdirs 1 = bla
//$subdirs 2 = bla

//$subdirs = arraymerge (sb1, sb2)
$subdirs = $subdirs1

36
General Questions / Re: Performance
« on: June 29, 2013, 08:00:00 pm »
ooook, I think I found something


libraries\jdiction\jdiction.php

line 169

$subdirs2 = JFolder::files(JPATH bla bla

I´m almost sure that the problem is there. I understand that this line search for jdiction.xml files to be able to translate differents components but a full recursive search on the components folder its really perfomarnce intensive. I don´t know how you get so good results :D the solution could be
a) Forbid jdiction.xml outside proper folder
b) Search only one level (details http://docs.joomla.org/API16:JFolder/files)


Let me know ;)

37
General Questions / Re: Performance
« on: June 28, 2013, 06:08:46 pm »
yeah, it seems that I borked something :D thanks for your input :D

38
General Questions / Performance
« on: June 28, 2013, 02:38:58 pm »
With the debug activated, what times are you getting? I´m having performance problems, but Im not sure if is cause the custom changes I have made myself.

39
General Questions / Re: Sugestion: "Is translated?" icon
« on: June 25, 2013, 01:47:05 pm »
do the alt description say something?

40
General Questions / Re: Sugestion: "Is translated?" icon
« on: June 25, 2013, 11:41:43 am »
If Im not wrong:

red - not translated
green - translated
yellow -translated but old (the main article has been modified after the translation was added)

41
2.5, but I dont have the last lastly version so I´ll let you know after that. I think I found 0.9.9.9 someplace, I´ll let you know.

42
When you manage the menu types :) not the menu entries

43
General Questions / Possible bug, wrong column on menu type manager
« on: June 20, 2013, 07:59:01 pm »
Could you check it? Right now the last three columns have something like this

Link modules \ ID \ Translation
(Flag) \ Associated menu \ 1

Its an example

44
General Questions / Re: w3c validation
« on: June 11, 2013, 09:16:02 pm »
Really strange.

- Default.php
<a href='<?php echo JRoute::_($language->link); ?>' target='_self' class='lang <?php echo $language->lang_code; ?><?php echo ($language->active ? ' active' : ''); ?>'

With htmlspecialchars on helper.php

<a href='http://localhost/index.php/en/news?view=article&amp;id=836' target='_self' class='lang en-GB'
    ><img src="/media/com_jdiction/images/flags/en.png" alt="English (UK) - News"></a>

- Without

<a href='http://localhost/index.php/en/news?view=article&id=836' target='_self' class='lang en-GB'
    ><img src="/media/com_jdiction/images/flags/en.png" alt="English (UK) - News"></a>

Joomla 2.5.8

Its really a small detail to worry too much, but is kind of strange

Ok, I think I get it, here (http://api.joomla.org/Joomla-Platform/JRoute.html)  says: "boolean $xhtml: Replace & by &amp; for XML compilance" but... the default behaviour is to xhmtl= true. Even forcing it, jroute stills don´t behave properly.... really strange. Ok, I explain the "problem" here (https://github.com/joomla/joomla-cms/issues/1270), when you have "&" and "index.php" on your url, it doesn´t htmlentity, don´t know if is a mistake or a design decision.

I´ll let you know

45
General Questions / w3c validation
« on: June 11, 2013, 02:50:31 pm »
Error:

<a href='http://localhost/index.php/fr/news?view=article&id=836' target='_self' class='lang fr-FR'>

Possible solution:

Mod_lenguage/helper.php, line 211:

return array($link, $menuitem->title);

becomes

return array(htmlspecialchars($link), $menuitem->title);

Pages: 1 2 [3] 4 5