problem with plugin Joomla 1.7
-
- Phoca Newbie
- Posts: 1
- Joined: 11 Nov 2011, 15:02
problem with plugin Joomla 1.7
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
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
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: problem with plugin Joomla 1.7
Hi, I see 404 on the site?
Second link, seems like the translation (German) is not updated
Jan
Second link, seems like the translation (German) is not updated
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 23
- Joined: 05 Jan 2010, 23:42
Re: problem with plugin Joomla 1.7
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
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
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: problem with plugin Joomla 1.7
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:
and the string is translated by plugin language:
en-GB.plg_content_phocamaps.ini
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
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');
en-GB.plg_content_phocamaps.ini
Code: Select all
PLG_PHOCAMAPS_GET_ROUTE="Get Route"
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
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 23
- Joined: 05 Jan 2010, 23:42
Re: problem with plugin Joomla 1.7
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/
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/
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: problem with plugin Joomla 1.7
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.
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: problem with plugin Joomla 1.7
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.
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: problem with plugin Joomla 1.7
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
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
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 23
- Joined: 05 Jan 2010, 23:42
Re: problem with plugin Joomla 1.7
When is the next version? I can solve the problems with the language file myself but then I still have the javascript errors.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.
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/
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: problem with plugin Joomla 1.7
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:
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
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"
I have corrected it, so you can download correct dutch language file here:
https://www.phoca.cz/download/category/3 ... aps-plugin
Jan
If you find Phoca extensions useful, please support the project