Marco63
Karma: 0
|
beta8 works! Only few odd behaviours (+ one error) - 2010/05/26 10:18
Installed beta8 and all works well. No errors on admin panel, no errors in front-end pages, both modules working correctly (even if both show the same list; I expected the glossarynewest to show only the items with the highest insertion date), aliases work (I used the pipe to separate different aliases for a single term).
I notice only an odd behaviour of the "Content - Glossary terms popups".
First, the markdown codes are not accepted in the popup: I'm using the markdown code for image (and it worked with the 2.6.2 version), but in the popup windows does not appear the image. Here is the code: <<  >>
Second odd beahviour, I can not let the glossary shows the popup on the term "do" or "dō", that means in japanese "way, path, method". All the other terms are shown correctly. I noticed now that there are problems in recognizing terms with more than a word (e.g.: "dōmo arigatō").
Third and last odd behaviour: the search module does no more work! With glossary installed (search plugin enabled or disabled), if I search a term with the search module I get a blank page with Error 404 - "object not found" message. The error disappears when I uninstall the whoel Glossary.
Wonderful work! Please help me to solve the remaining problems.
Post edited by: Marco63, at: 2010/05/26 10:40
Post edited by: Marco63, at: 2010/05/28 12:57
|
|
|
| | Sorry, you do not currently have permission to write here. |
admin
Karma: 101
|
Re:beta8 works! Only few odd behaviours (+ one error) - 2010/06/01 18:16
The two modules are identical at present - one is there purely as a placeholder.
For version 2.7 I've radically simplified the workings of the popups, and all HTML is stripped out (including images). This is because of the number of support issues that arise with JavaScript popups. So much varied JavaScript is now in use that clashes seem inevitable, and the old system was not working well for quite a few people. Nor was it easy to further style the popups, which some people wanted to do.
The approach in 2.7 is to provide a pure text popup, and to make the term a link to the glossary entry (which will show with full HTML from Markdown).
If you have specific problems with words and phrases, I need a copy of the glossary tables and the text of the article to attempt to recreate it. A lot of problems of this type are a result of not having the database fully UTF-8. But there could be faults in the new code.
Can you give any more information on the search problem? I do not see a problem at http://j15.testremository.com/index.php?option=com_glossary&Itemid=56 where site searches work correctly and return glossary entries (amongst others).
Martin Brampton aka Counterpoint http://aliro.org http://black-sheep-research.com |
|
|
| | Sorry, you do not currently have permission to write here. |
Marco63
Karma: 0
|
Re:beta8 works! Only few odd behaviours (+ one error) - 2010/06/01 19:33
admin wrote: The approach in 2.7 is to provide a pure text popup, and to make the term a link to the glossary entry (which will show with full HTML from Markdown).
What a pity! The visual effect with markdown images was really beautiful. See the different behaviours in the other topic beta8: plgContentGlossary.
admin wrote: If you have specific problems with words and phrases, I need a copy of the glossary tables and the text of the article to attempt to recreate it. A lot of problems of this type are a result of not having the database fully UTF-8. But there could be faults in the new code.
Yes, unfortunately I have problems with specific word and phrases. I checked the tables and the table fields and the collation is utf8_general_ci everywhere.
Please find attached the export of the glossary tables:
Could you please add in your foreign term database (testremository.com) the following:
- "dō" with alias "do" and description "way, path, method" (it doesn't work for me: the term in a page is not active)
- "ki" with no alias and with description " Unione, armonia. Forza vitale che governa l'universo e che lo mantiene in armonia secondo movimenti sempre circolari, mai secondo linee rette." (you can check the presence of a strange backslash in beta2.7 on my site in the topic beta8: plgContentGlossary)
- "dōmo arigatō" with aliases "dōmo", "arigatō" and description "grazie" (it doesn't work for me, even if I add a single term "dōmo")
I would like to see the behaviour in a page on your test site.
admin wrote: Can you give any more information on the search problem?
My site has been installed on a subdirectory of the main root web page, but I had no problem with 2.6 and now with beta2.7 the search function does no more work. Please see details in the topic beta8 plgSearchGlossary: func. botSearchGlossary
If interested, please find an Italian translation for 2.7 in Italian Language for Glossary 2.7.
Thank you for all your support and disposability and for the great enhancement of 2.7 version.
Post edited by: Marco63, at: 2010/06/01 19:42
Post edited by: Marco63, at: 2010/06/03 14:09
|
|
|
| | Sorry, you do not currently have permission to write here. |
admin
Karma: 101
|
Re:beta8 works! Only few odd behaviours (+ one error) - 2010/06/04 17:11
I've installed your database table as an additional glossary at http://j15.testremository.com. You can see the plugin working at http://j15.testremository.com/the-news/44-joomla-security-strike-team.html (with some diagnostics).
When everything is settled down, I could look at creating an option for a full HTML popup - but I wanted to start with something that should prove reliable for almost everyone.
Martin Brampton aka Counterpoint http://aliro.org http://black-sheep-research.com |
|
|
| | Sorry, you do not currently have permission to write here. |
Marco63
Karma: 0
|
Re:beta8 works! Only few odd behaviours (+ one error) - 2010/06/04 21:57
I can only trust your big test results: your support level is really incredible! Thank you very very much. I tested the glossary on two Windows pc with easyphp (one with php 5.2.8 and the other with php 5.3.0), but both show the errors I reported to you with the new beta version installed, while the previous Glossary official version worked well. Perhaps it is caused by a wrong interpretation of _CMSAPI_CMS_BASE or _CMSAPI_ABSOLUTE_PATH in EasyPHP environment (I do not know). I have also a test web server but with an old php version (php 5.0) and can not verify by now the correct functionality on it.
So ... I'm going to upgrade the web server. In the meantime, if the other tester report a correct behaviour, please consider it correct for me too.
|
|
|
| | Sorry, you do not currently have permission to write here. |
admin
Karma: 101
|
Re:beta8 works! Only few odd behaviours (+ one error) - 2010/06/07 17:39
It is difficult to provide a general solution to possible problems with words that contain accented characters that do not belong to the local language.
Glossary searches for instances of terms by using a regular expression, and it is efficient and reasonably flexible to use the codes for "non-word" characters to act as the boundaries around a term - at least in the exact match case.
The trouble arises when you are using foreign words, because they contain characters that are not "word characters" for your own locale. The accented characters in the transliterated Japanese are not part of the Italian character set.
Information on the exact behavior of the PCRE engine in PHP is very difficult to come by, and for that matter it requires quite a lot of digging to figure out what locale might possibly be appropriate for text that is a mixture of Italian and transliterated Japanese.
It might be possible to come up with a solution eventually, but I'm afraid it is liable to fall outside what is feasible within the provision of general distribution of Glossary!
Martin Brampton aka Counterpoint http://aliro.org http://black-sheep-research.com |
|
|
| | Sorry, you do not currently have permission to write here. |
Marco63
Karma: 0
|
Re:beta8 works! Only few odd behaviours (+ one error) - 2010/06/08 14:27
Well, there's something I don't get.
On your installation http://j15.testremository.com/the-news/44-joomla-security-strike-team.html, I see the the glossary working with Japanese transliterated words having macron (i.e.: "dōmo arigatō"). On my joomla 1.5.15 local installation (easyPHP 3.0), with Glossary 2.7beta, the words with macron are not recognized: "dōmo arigatō", or "dō" in a page are not recognized; even if they are aliases of other simple words like "domo arigato" and "do". The same behaviour (i.e. words with or without macron are not recognized) if I have simple words and aliases with macron. If I delete all the references to the words containing macron, the glossary works again.
In Glossary 2.6.4, the terms with macron (like "dōmo arigatō") worked without problems.
How can I assure the same result with the new 2.7 version?
Post edited by: Marco63, at: 2010/06/08 14:28
|
|
|
| | Sorry, you do not currently have permission to write here. |
admin
Karma: 101
|
Re:beta8 works! Only few odd behaviours (+ one error) - 2010/06/08 14:36
I don't know whether it relates to the specific problem you are seeing, but I've made progress in general with the handling of accented characters.
What seems to have been causing problems is that some accented characters (this includes German umlaut characters) are formed by a letter and an additional character that adds the modifier. The awkward thing is that the modifier does not count as a word character in a regular expression.
I've therefore adopted a different approach, using regular expressions based on identifying white space or punctuation as non-word characters, and accepting everything else as word characters. It seems to work better - although please see the note with the latest release about regenerating the "tfirst" first key word for each term.
Since most things seem to be working, I've designated the latest code Glossary 2.7 RC.
Martin Brampton aka Counterpoint http://aliro.org http://black-sheep-research.com |
|
|
| | Sorry, you do not currently have permission to write here. |
Marco63
Karma: 0
|
Re:beta8 works! Only few odd behaviours (+ one error) - 2010/06/08 14:51
I found something! I've installed the beta9 and regenerated tfirst key as written in the download notes, but I found something: the tfirst key of the words with macron are generated not correctly. For the word "dō" the tfirst is "d". I modified it in the database as "dō" and it works. For the word "dōmo arigatō" the tfirst is "arigat". I tried to modify it as "domo" or "domo" but it doesn't work either. It seems that in some way the system looses the utf8 characters with macron when it creates the tfirst values.
|
|
|
| | Sorry, you do not currently have permission to write here. |
admin
Karma: 101
|
Re:beta8 works! Only few odd behaviours (+ one error) - 2010/06/08 14:54
Yes, that is what I wrote about above.
Please try Glossary 2.7 RC, including removing the "tfirst" values and running Glossary to recreate them. You will find that tfirst becomes a complete word with the new code.
Martin Brampton aka Counterpoint http://aliro.org http://black-sheep-research.com |
|
|
| | Sorry, you do not currently have permission to write here. |
|