Page 1 of 2
problem with plugin Joomla 1.7
Posted: 11 Nov 2011, 15:09
by lazygarfield
I installed the phoca maps plugin for Joomla 1.7.
I also installed the Dutch language files.
The problem you can see at
http://www.antiekroute-veluwe.nl/demo/d ... route.html below the map.
How can i solve it?
When I google at the problem I saw this site has the same problem:
http://www.o2-o.com/standorte/12-sachsen
Re: problem with plugin Joomla 1.7
Posted: 17 Nov 2011, 23:13
by Jan
Hi, I see 404 on the site?
Second link, seems like the translation (German) is not updated
Jan
Re: problem with plugin Joomla 1.7
Posted: 23 Nov 2011, 14:26
by lazy garfield
No Jan, you deleted some posts of me.
Why?
Because I said the probelem was solved because it takes too long before answering?
In this link
http://www.antiekroute-veluwe.nl/ the menuitem"Antiekroute Veluwe" is linking to the component now, but when I link it to an article with the code in it the problem is still there.
And no the language files are NOT missing.
Then I see the same as here:
http://www.o2-o.com/standorte/12-sachsen
Re: problem with plugin Joomla 1.7
Posted: 23 Nov 2011, 17:37
by Jan
Hi, not sure If I have removed some of your post, maybe it was automatically removed by spam protection script
, see forum rules at the bottom.
Do you have the latest version of both - component and plugin.
In latest plugin, there is the following string:
Code: Select all
JText::_('PLG_PHOCAMAPS_GET_ROUTE');
and the string is translated by plugin language:
en-GB.plg_content_phocamaps.ini
Code: Select all
PLG_PHOCAMAPS_GET_ROUTE="Get Route"
So in fact there can be two possible problems:
A) your language does not include: PLG_PHOCAMAPS_GET_ROUTE
or
B) your language is no loaded on the site.
Testing both links:
http://www.o2-o.com/administrator/langu ... camaps.ini
includes the string - English file is OK
http://www.o2-o.com/administrator/langu ... camaps.ini - Such file is not located on this server. B) is right - no language on the server
Dutch site:
http://www.antiekroute-veluwe.nl/admini ... camaps.ini ... is OK
http://www.antiekroute-veluwe.nl/admini ... camaps.ini ... is Ok
So the dutch site includes the file, this is OK, the german site does not include it, this is why it is not translated.
https://www.phoca.cz/documents/46-transl ... -in-joomla
Jan
Re: problem with plugin Joomla 1.7
Posted: 23 Nov 2011, 19:46
by lazy garfield
Jan when its oke with the language files, why this?
http://www.antiekroute-veluwe.nl/test-de-route.html
Here it is linked to the component and is oke.
http://www.antiekroute-veluwe.nl/nl/
Re: problem with plugin Joomla 1.7
Posted: 23 Nov 2011, 20:08
by Jan
Hmmm, so this seems like there is some problem in the plugin (because of produced javascript code on the site), I will take a look at it and let you know.
Re: problem with plugin Joomla 1.7
Posted: 23 Nov 2011, 20:19
by Jan
I see now the problem, content article adds javascript code for email string, I will try to add some protection into the next version so article content will not break it with its javascript.
Re: problem with plugin Joomla 1.7
Posted: 23 Nov 2011, 20:58
by Jan
Ok, I found the second problem with languages - Joomla! does not accept: PLG_PHOCAMAPS_ ... format string but the string should be: PLG_CONTENT_PHOCAMAPS - I will fix it for the next release. The dutch language needs to be then fixed too - all strings should be changed from.
PLG_PHOCAMAPS_ ...
TO:
PLG_CONENT_PHOCAPAMS_ ...
(this can be edited easily e.g. in notepad++ with find-replace function:
CTRL+H - Find What: PLG_PHOCAMAPS, Remplace With: PLG_CONTENT_PHOCAMAPS and click to Replace All)
Jan
Re: problem with plugin Joomla 1.7
Posted: 23 Nov 2011, 22:02
by lazy garfield
Jan wrote:I see now the problem, content article adds javascript code for email string, I will try to add some protection into the next version so article content will not break it with its javascript.
When is the next version? I can solve the problems with the language file myself but then I still have the javascript errors.
In fact this problem is solved en I will
skip this link in a few days
http://www.antiekroute-veluwe.nl/test-de-route.html for displaying in an article.
I have it linked to the component now
http://www.antiekroute-veluwe.nl/nl/
Re: problem with plugin Joomla 1.7
Posted: 24 Nov 2011, 15:30
by Jan
Hi, tested in version 2.0.4 and both should be solved:
1) the email string is now protected from chaning it by article content
2) the language should be fixed
Anyway - the problem with dutch language was missing "
See:
http://www.antiekroute-veluwe.nl/admini ... camaps.ini
First row:
Code: Select all
PLG_PHOCAMAPS_DISPLAY_MAP_DESCRIPTION_LABEL="Toon map beschrijving
PLG_PHOCAMAPS_DISPLAY_MAP_DESCRIPTION_DESC="Instellen als map beschrijving getoond moet worden in Plugin"
In first row the " is missing which caused not translating dutch language.
I have corrected it, so you can download correct dutch language file here:
https://www.phoca.cz/download/category/3 ... aps-plugin
Jan