Posted by boriso on June 22, 2008 at 3:25pm
Jump to:
| Project: | Localization client |
| Version: | 6.x-1.6 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Hi !
After installing the localization client, several of the collapsible menus in the administration pages would not expand, similar to what was reported in #118697. The problem was found both in IE and firefox, and remained after emptying the cache.
I disabled the module and everything was fine back again.
I have many modules installed, but I suspect it might have to do with js, so here is some source code output before uninstalling localization client :
<script type="text/javascript" src="/misc/jquery.js?t"></script>
<script type="text/javascript" src="/misc/drupal.js?t"></script>
<script type="text/javascript" src="/modules/contrib/admin_menu/admin_menu.js?t"></script>
<script type="text/javascript" src="/modules/contrib/extlink/extlink.js?t"></script>
<script type="text/javascript" src="/modules/contrib/l10n_client/jquery.hotkeys.js?t"></script>
<script type="text/javascript" src="/modules/contrib/l10n_client/jquery.cookie.js?t"></script>
<script type="text/javascript" src="/modules/contrib/l10n_client/l10n_client.js?t"></script>
<script type="text/javascript" src="/misc/textarea.js?t"></script>
<script type="text/javascript" src="/modules/img_assist/img_assist.js?t"></script>
<script type="text/javascript" src="/modules/contrib/fivestar/js/fivestar.js?t"></script>
<script type="text/javascript" src="/misc/collapse.js?t"></script>
<script type="text/javascript" src="/modules/contrib/fivestar/js/fivestar-admin.js?t"></script>
<script type="text/javascript">jQuery.extend(Drupal.settings, { "basePath": "/", "admin_menu_margin_top": 1, "extlink": { "extTarget": "_blank", "extClass": "ext", "extSubdomains": 1, "mailtoClass": "mailto" }, "l10n_client_server": "", "fivestar": { "titleUser": "Your rating: ", "titleAverage": "Average: ", "feedbackSavingVote": "Saving your vote...", "feedbackVoteSaved": "Your vote has been saved.", "feedbackDeletingVote": "Deleting your vote...", "feedbackVoteDeleted": "Your vote has been deleted.", "preview_url": "/fivestar/preview/node" } });</script>
<script type="text/javascript">var BASE_URL = "/";</script>
<script type="text/javascript"> </script>For me it was a minor issue, as I did not really need the localization client, but I thought of reporting it nevertheless.
Comments
#1
FYI, I noticed also that the localization client also conflicted with the tribune module, making it impossible to use several of the js features of tribune.
see below some more code.
<script type="text/javascript" src="/misc/jquery.js?t"></script><script type="text/javascript" src="/misc/drupal.js?t"></script>
<script type="text/javascript" src="/modules/contrib/admin_menu/admin_menu.js?t"></script>
<script type="text/javascript" src="/modules/contrib/extlink/extlink.js?t"></script>
<script type="text/javascript" src="/modules/contrib/l10n_client/jquery.hotkeys.js?t"></script>
<script type="text/javascript" src="/modules/contrib/l10n_client/jquery.cookie.js?t"></script>
<script type="text/javascript" src="/modules/contrib/l10n_client/l10n_client.js?t"></script>
<script type="text/javascript" src="/misc/textarea.js?t"></script>
<script type="text/javascript" src="/modules/img_assist/img_assist.js?t"></script>
<script type="text/javascript" src="/modules/contrib/tribune/form.js?t"></script>
<script type="text/javascript" src="/modules/contrib/tribune/tribune.ajax.js?t"></script>
<script type="text/javascript" src="/modules/contrib/tribune/filters/totoz.js?t"></script>
<script type="text/javascript">jQuery.extend(Drupal.settings, { "basePath": "/", "admin_menu_margin_top": 1, "extlink": { "extTarget": "_blank", "extClass": "ext", "extSubdomains": 1, "mailtoClass": "mailto" }, "l10n_client_server": "", "tribune": { "history_size": 25, "reload_delay": 30000, "last_load_time": 1214149779, "site_root": "/tribune", "block": false, "path": { "post": "/tribune/post", "json_post": "/tribune/post-json", "json_posts": "/tribune/newposts-json" }, "totoz": { "server": "http://sfw.totoz.eu" } } });</script>
<script type="text/javascript">var BASE_URL = "/";</script>
#2
This is also applicable for 5.x-1.x-dev 2008-Jul-30
#3
I installed the localization client to see if it could help me to translate some "untranslatable" strings in Drupal - specifically, the image gallery section, at http://127.0.0.1/image. AFAIK, it can't help me there... :-( (I wish Drupal 7 implements some real internationalization support, from ground up.)
Anyway, while trying this, I've run into a problem with the localization client and image assist modules. When the two of them are enabled, I can't use the localization client in some pages (like the image gallery one). I can see the bar at bottom of the screen, but when I click "TRANSLATE TEXT", nothing happens.
Here are the details:
- Localization client 6.x-1.6 (2008-Oct-22) - http://drupal.org/project/l10n_client
- Image assist 6.x-2.0-alpha2 (2009-Jan-18) - http://drupal.org/project/img_assist
- Drupal 6.9
Error in Firefox 3.0.6 (en-US) Error Console:
Error: Drupal.settings.img_assist is undefinedSource File: http://127.0.0.1/sites/all/modules/img_assist/img_assist.js?4
Line: 15
Error in Internet Explorer 7 (7.0.5730.13):
Line: 16Char: 3
Error: 'Drupal.settings.img_assist is null or not an object
Code: 0
URL: http://127.0.0.1/pt-br/user/1
I hope this helps someone else...
#4
@AltoRetrato: the error you cite from image assist is internal to image assist and should not be caused by localization client. Have you tried image assist without localization client?
@boriso: can you reproduce your report with a current version of the module?
#5
#6
@Hojtsy
Regarding to @AltoRetrato's reported. I have the same problem. Just disable img_assist and localization client work. The img_assist error eixst regarding localization client enabled or not.
#7
Not an issue in this module then.